From 7b23d07595afbf71a301c65699a51d4fd33ebe92 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Mon, 17 Mar 2025 15:04:42 +0000 Subject: [PATCH] import CS jakarta-annotations-1.3.5-38.module_el9+1180+96ab3331 --- SPECS/jakarta-annotations.spec | 90 ++++++++++++++++++++++++---------- 1 file changed, 64 insertions(+), 26 deletions(-) diff --git a/SPECS/jakarta-annotations.spec b/SPECS/jakarta-annotations.spec index d418b83..d9259ab 100644 --- a/SPECS/jakarta-annotations.spec +++ b/SPECS/jakarta-annotations.spec @@ -2,34 +2,37 @@ Name: jakarta-annotations Version: 1.3.5 -Release: 16%{?dist} +Release: 38%{?dist} Summary: Jakarta Annotations -License: EPL-2.0 or GPLv2 with exceptions -URL: https://github.com/eclipse-ee4j/common-annotations-api +License: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0 +URL: https://jakarta.ee/specifications/annotations/1.3/ 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 +Source0: https://github.com/jakartaee/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 - 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. +common semantic concepts that enable a declarative style of +programming that applies across a variety of Java technologies. -%{?javadoc_package} +%package javadoc +Summary: API documentation for %{name} + +%description javadoc +API documentation for %{name}. %prep -%setup -q -n common-annotations-api-%{version} +%autosetup -p1 -n common-annotations-api-%{version} # remove unnecessary dependency on parent POM # org.eclipse.ee4j:project is not packaged and isn't needed @@ -43,7 +46,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 \ @@ -60,28 +70,56 @@ that applies across a variety of Java technologies. %license LICENSE.md NOTICE.md %doc README.md +%files javadoc -f .mfiles-javadoc + %changelog -* Sat Nov 23 2024 Marián Konček - 1.3.5-16 -- Add noarch to ExclusiveArch +* Fri Nov 29 2024 Mikolaj Izdebski - 1.3.5-36 +- Update javapackages test plan to f42 -* Sat Nov 23 2024 Marián Konček - 1.3.5-15 -- Disable building on i686 +* Wed Aug 21 2024 Mikolaj Izdebski - 1.3.5-24 +- Switch to new GitHub repository -* Wed Nov 20 2024 Marián Konček - 1.3.5-14 -- Rebuild with regenerated Requires on Java +* Thu Jul 18 2024 Fedora Release Engineering - 1.3.5-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild -* Mon Jan 30 2023 Mikolaj Izdebski - 1.3.5-13 -- Rebuild to regenerate auto-requires +* Tue Feb 27 2024 Jiri Vanek - 1.3.5-22 +- Rebuilt for java-21-openjdk as system jdk -* Mon Aug 09 2021 Mohan Boddu - 1.3.5-12 -- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Related: rhbz#1991688 +* Fri Feb 23 2024 Jiri Vanek - 1.3.5-21 +- bump of release for for java-21-openjdk as system jdk -* Wed Jun 09 2021 Mikolaj Izdebski - 1.3.5-11 -- Rebuild to workaround DistroBaker issue +* Wed Jan 24 2024 Fedora Release Engineering - 1.3.5-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild -* Tue Jun 08 2021 Mikolaj Izdebski - 1.3.5-10 -- Bootstrap Maven for CentOS Stream 9 +* Sat Jan 20 2024 Fedora Release Engineering - 1.3.5-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Sep 20 2023 Mikolaj Izdebski - 1.3.5-18 +- Rebuild to regenerate auto-Requires on java + +* 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