Fix bundle manifest

This commit is contained in:
Mikolaj Izdebski 2021-08-13 12:02:31 +02:00
parent 026fdc9ed0
commit d4c45b362f

View File

@ -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 <mizdebsk@redhat.com> - 1.3.5-11
- Fix bundle manifest
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild