From d4c45b362fad6c0d8290a7b133500f4922fbf727 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 13 Aug 2021 12:02:31 +0200 Subject: [PATCH] Fix bundle manifest --- jakarta-annotations.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/jakarta-annotations.spec b/jakarta-annotations.spec index a3c71b1..fc7ad90 100644 --- a/jakarta-annotations.spec +++ b/jakarta-annotations.spec @@ -2,7 +2,7 @@ Name: jakarta-annotations Version: 1.3.5 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Jakarta Annotations License: EPL-2.0 or GPLv2 with exceptions URL: https://github.com/eclipse-ee4j/common-annotations-api @@ -42,7 +42,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,6 +67,9 @@ that applies across a variety of Java technologies. %doc README.md %changelog +* 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