Fix OSGi metadata

This commit is contained in:
Mat Booth 2018-12-18 09:56:36 +00:00
parent 9772d437e1
commit 521734ee1c

View File

@ -2,7 +2,7 @@
Name: apache-commons-logging
Version: 1.2
Release: 15%{?dist}
Release: 16%{?dist}
Summary: Apache Commons Logging
License: ASL 2.0
URL: http://commons.apache.org/logging
@ -72,7 +72,7 @@ sed -i 's/\r//' RELEASE-NOTES.txt LICENSE.txt NOTICE.txt
rm -rf src/test/java/org/apache/commons/logging/log4j/log4j12
%build
%mvn_build
%mvn_build -- -Dcommons.osgi.symbolicName=org.apache.commons.logging
# The build produces more artifacts from one pom
%mvn_artifact %{SOURCE2} target/commons-logging-%{version}-api.jar
@ -86,6 +86,9 @@ rm -rf src/test/java/org/apache/commons/logging/log4j/log4j12
%doc PROPOSAL.html RELEASE-NOTES.txt
%changelog
* Tue Dec 18 2018 Mat Booth <mat.booth@redhat.com> - 1.2-16
- Fix OSGi metadata
* Mon Dec 17 2018 Mat Booth <mat.booth@redhat.com> - 1.2-15
- Rebuild to regenerate requires, fixes rhbz#1660117