From b402afe395da5bfa45f455ca34aa8efe177b868b Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 17 2022 09:32:54 +0000 Subject: import jakarta-annotations-1.3.5-12.el9 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5c27edc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/common-annotations-api-1.3.5.tar.gz diff --git a/.jakarta-annotations.metadata b/.jakarta-annotations.metadata new file mode 100644 index 0000000..999b52b --- /dev/null +++ b/.jakarta-annotations.metadata @@ -0,0 +1 @@ +44a3c9115f6013ec9255910d20e1ac695d75d65b SOURCES/common-annotations-api-1.3.5.tar.gz diff --git a/SPECS/jakarta-annotations.spec b/SPECS/jakarta-annotations.spec new file mode 100644 index 0000000..84a02f8 --- /dev/null +++ b/SPECS/jakarta-annotations.spec @@ -0,0 +1,99 @@ +%bcond_with bootstrap + +Name: jakarta-annotations +Version: 1.3.5 +Release: 12%{?dist} +Summary: Jakarta Annotations +License: EPL-2.0 or GPLv2 with exceptions +URL: https://github.com/eclipse-ee4j/common-annotations-api +BuildArch: noarch + +Source0: https://github.com/eclipse-ee4j/common-annotations-api/archive/%{version}/common-annotations-api-%{version}.tar.gz + +BuildRequires: maven-local +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) +%endif + +Provides: glassfish-annotation-api = %{version}-%{release} + +%description +Jakarta Annotations defines a collection of annotations representing +common semantic concepts that enable a declarative style of programming +that applies across a variety of Java technologies. + +%{?javadoc_package} + +%prep +%setup -q -n common-annotations-api-%{version} + +# remove unnecessary dependency on parent POM +# org.eclipse.ee4j:project is not packaged and isn't needed +%pom_remove_parent + +# disable spec submodule: it's not needed, and +# it has missing dependencies (jruby, asciidoctor-maven-plugin, ...) +%pom_disable_module spec + +# remove plugins not needed for RPM builds +%pom_remove_plugin :maven-javadoc-plugin api +%pom_remove_plugin :maven-source-plugin api +%pom_remove_plugin :findbugs-maven-plugin api +%pom_remove_plugin :spec-version-maven-plugin api + +# provide aliases for the old artifact coordinates +%mvn_alias jakarta.annotation:jakarta.annotation-api \ + javax.annotation:javax.annotation-api \ + javax.annotation:jsr250-api + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE.md NOTICE.md +%doc README.md + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 1.3.5-12 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Wed Jun 09 2021 Mikolaj Izdebski - 1.3.5-11 +- Rebuild to workaround DistroBaker issue + +* Tue Jun 08 2021 Mikolaj Izdebski - 1.3.5-10 +- Bootstrap Maven for CentOS Stream 9 + +* Wed May 26 2021 Mikolaj Izdebski - 1.3.5-9 +- Re-add provides on glassfish-annotation-api + +* Mon May 17 2021 Mikolaj Izdebski - 1.3.5-8 +- Bootstrap build +- Non-bootstrap build + +* Tue Jan 26 2021 Fedora Release Engineering - 1.3.5-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Aug 13 2020 Jerry James - 1.3.5-6 +- Remove duplicate aliases + +* Tue Jul 28 2020 Fedora Release Engineering - 1.3.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jun 25 2020 Alexander Kurtakov 1.3.5-4 +- Add alias for jsr250-api + +* Fri Jun 19 2020 Mat Booth - 1.3.5-3 +- Remove uneeded plugin invokations + +* Mon May 11 2020 Fabio Valentini - 1.3.5-2 +- Fix typo in obsoleted package name. + +* Fri May 08 2020 Fabio Valentini - 1.3.5-1 +- Initial package renamed from glassfish-annotation-api.