From b5e3ceadccd5b2e0096043f21bcd7a4f956d582f Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 14 May 2025 14:59:02 +0000 Subject: [PATCH] import UBI jakarta-annotations-1.3.5-23.el10 --- .gitignore | 2 +- .jakarta-annotations.metadata | 1 - ...notations.spec => jakarta-annotations.spec | 66 +++++++++++++------ sources | 1 + 4 files changed, 49 insertions(+), 21 deletions(-) delete mode 100644 .jakarta-annotations.metadata rename SPECS/jakarta-annotations.spec => jakarta-annotations.spec (54%) create mode 100644 sources diff --git a/.gitignore b/.gitignore index 5c27edc..296d300 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/common-annotations-api-1.3.5.tar.gz +common-annotations-api-1.3.5.tar.gz diff --git a/.jakarta-annotations.metadata b/.jakarta-annotations.metadata deleted file mode 100644 index 999b52b..0000000 --- a/.jakarta-annotations.metadata +++ /dev/null @@ -1 +0,0 @@ -44a3c9115f6013ec9255910d20e1ac695d75d65b SOURCES/common-annotations-api-1.3.5.tar.gz diff --git a/SPECS/jakarta-annotations.spec b/jakarta-annotations.spec similarity index 54% rename from SPECS/jakarta-annotations.spec rename to jakarta-annotations.spec index d418b83..5335627 100644 --- a/SPECS/jakarta-annotations.spec +++ b/jakarta-annotations.spec @@ -2,19 +2,19 @@ Name: jakarta-annotations Version: 1.3.5 -Release: 16%{?dist} +Release: 23%{?dist} Summary: Jakarta Annotations -License: EPL-2.0 or GPLv2 with exceptions +License: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0 URL: https://github.com/eclipse-ee4j/common-annotations-api BuildArch: noarch -ExclusiveArch: aarch64 ppc64le s390x x86_64 noarch +ExclusiveArch: %{java_arches} 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: maven-local BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) %endif @@ -43,7 +43,14 @@ that applies across a variety of Java technologies. %pom_remove_plugin :maven-javadoc-plugin api %pom_remove_plugin :maven-source-plugin api %pom_remove_plugin :findbugs-maven-plugin api + +# Remove use of spec-version-maven-plugin %pom_remove_plugin :spec-version-maven-plugin api +%pom_xpath_set pom:Bundle-Version '${project.version}' api +%pom_xpath_set pom:Bundle-SymbolicName '${project.artifactId}' api +%pom_xpath_set pom:Extension-Name '${extension.name}' api +%pom_xpath_set pom:Implementation-Version '${project.version}' api +%pom_xpath_set pom:Specification-Version '${spec.version}' api # provide aliases for the old artifact coordinates %mvn_alias jakarta.annotation:jakarta.annotation-api \ @@ -61,27 +68,48 @@ that applies across a variety of Java technologies. %doc README.md %changelog -* Sat Nov 23 2024 Marián Konček - 1.3.5-16 -- Add noarch to ExclusiveArch +* Tue Oct 29 2024 Troy Dawson - 1.3.5-23 +- Bump release for October 2024 mass rebuild: + Resolves: RHEL-64018 -* Sat Nov 23 2024 Marián Konček - 1.3.5-15 -- Disable building on i686 +* Thu Aug 01 2024 Troy Dawson - 1.3.5-22 +- Bump release for Aug 2024 java mass rebuild -* Wed Nov 20 2024 Marián Konček - 1.3.5-14 -- Rebuild with regenerated Requires on Java +* Mon Jun 24 2024 Troy Dawson - 1.3.5-21 +- Bump release for June 2024 mass rebuild -* Mon Jan 30 2023 Mikolaj Izdebski - 1.3.5-13 -- Rebuild to regenerate auto-requires +* Wed Jan 24 2024 Fedora Release Engineering - 1.3.5-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild -* Mon Aug 09 2021 Mohan Boddu - 1.3.5-12 -- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Related: rhbz#1991688 +* Sat Jan 20 2024 Fedora Release Engineering - 1.3.5-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild -* Wed Jun 09 2021 Mikolaj Izdebski - 1.3.5-11 -- Rebuild to workaround DistroBaker issue +* Wed Sep 20 2023 Mikolaj Izdebski - 1.3.5-18 +- Rebuild to regenerate auto-Requires on java -* Tue Jun 08 2021 Mikolaj Izdebski - 1.3.5-10 -- Bootstrap Maven for CentOS Stream 9 +* Fri Sep 01 2023 Mikolaj Izdebski - 1.3.5-17 +- Convert License tag to SPDX format + +* Thu Jul 20 2023 Fedora Release Engineering - 1.3.5-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 1.3.5-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 1.3.5-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Feb 05 2022 Jiri Vanek - 1.3.5-13 +- Rebuilt for java-17-openjdk as system jdk + +* Thu Jan 20 2022 Fedora Release Engineering - 1.3.5-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Aug 13 2021 Mikolaj Izdebski - 1.3.5-11 +- Fix bundle manifest + +* Thu Jul 22 2021 Fedora Release Engineering - 1.3.5-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed May 26 2021 Mikolaj Izdebski - 1.3.5-9 - Re-add provides on glassfish-annotation-api diff --git a/sources b/sources new file mode 100644 index 0000000..18bb846 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (common-annotations-api-1.3.5.tar.gz) = 27a428d2e1dc2efe263a2b3857b82c103e777306ed78bfe8ee0beade07c4f595d84326f909b4a729400069ce9d243b40249fb8df14f5aa4a232c41cdc2979bd7