Fix OSGi metadata to also export "impl" packages; "internal" packages remain

unexported
This commit is contained in:
Mat Booth 2017-08-25 13:38:29 +01:00
parent 9b0c2adf32
commit 6cf822d5fd

View File

@ -1,7 +1,7 @@
Name: maven-resolver
Epoch: 1
Version: 1.0.3
Release: 6%{?dist}
Release: 7%{?dist}
License: ASL 2.0
Summary: Apache Maven Artifact Resolver library
URL: http://maven.apache.org/resolver/
@ -136,6 +136,7 @@ for pom in $(find -mindepth 2 -name pom.xml) ; do
"<configuration>
<instructions>
<Bundle-SymbolicName>\${project.groupId}$(sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' <<< $pom)</Bundle-SymbolicName>
<Export-Package>!org.eclipse.aether.internal*,org.eclipse.aether*</Export-Package>
<_nouses>true</_nouses>
</instructions>
</configuration>
@ -184,6 +185,10 @@ done
%license LICENSE NOTICE
%changelog
* Thu Aug 24 2017 Mat Booth <mat.booth@redhat.com> - 1:1.0.3-7
- Fix OSGi metadata to also export "impl" packages; "internal" packages remain
unexported
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.0.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild