- Explicitly set PrivatePackage to the empty set, so as to

export all packages.
This commit is contained in:
Severin Gehwolf 2011-03-15 10:31:03 -04:00
parent 578200f98b
commit 3df720872d
2 changed files with 7 additions and 2 deletions

View File

@ -3,7 +3,7 @@
Name: httpcomponents-core Name: httpcomponents-core
Summary: Set of low level Java HTTP transport components for HTTP services Summary: Set of low level Java HTTP transport components for HTTP services
Version: 4.1 Version: 4.1
Release: 5%{?dist} Release: 6%{?dist}
Group: Development/Libraries Group: Development/Libraries
License: ASL 2.0 License: ASL 2.0
URL: http://hc.apache.org/ URL: http://hc.apache.org/
@ -97,6 +97,10 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
%doc %{_javadocdir}/* %doc %{_javadocdir}/*
%changelog %changelog
* Tue Mar 15 2011 Severin Gehwolf <sgehwolf@redhat.com> 4.1-6
- Explicitly set PrivatePackage to the empty set, so as to
export all packages.
* Fri Mar 11 2011 Alexander Kurtakov <akurtako@redhat.com> 4.1-5 * Fri Mar 11 2011 Alexander Kurtakov <akurtako@redhat.com> 4.1-5
- Bump release to fix my mistake with the release. - Bump release to fix my mistake with the release.

View File

@ -9,7 +9,7 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -111,6 +111,16 @@ @@ -111,6 +111,17 @@
</archive> </archive>
</configuration> </configuration>
</plugin> </plugin>
@ -20,6 +20,7 @@
+ <configuration> + <configuration>
+ <instructions> + <instructions>
+ <Export-Package>*</Export-Package> + <Export-Package>*</Export-Package>
+ <Private-Package></Private-Package>
+ </instructions> + </instructions>
+ </configuration> + </configuration>
+ </plugin> + </plugin>