commit 853f519f041472ca654dba86ce623ee585319c89 Author: Alexander Kurtakov akurtako@redhat.com Date: Wed May 2 21:56:38 2012 +0300
Do not export org.apache.http.param in osgi.
0003-Make-httpclient-into-bundle.patch | 5 +++-- httpcomponents-client.spec | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) --- diff --git a/0003-Make-httpclient-into-bundle.patch b/0003-Make-httpclient-into-bundle.patch index 3237de9..1ab0f73 100644 --- a/0003-Make-httpclient-into-bundle.patch +++ b/0003-Make-httpclient-into-bundle.patch @@ -34,7 +34,7 @@ index 0e391f6..f0c6632 100644 </dependencies>
<properties> -@@ -116,25 +110,20 @@ +@@ -116,25 +110,21 @@ </execution> </executions> </plugin> @@ -50,11 +50,12 @@ index 0e391f6..f0c6632 100644 - <flushInterval>100</flushInterval> - <targetPercentage>50%</targetPercentage> + <instructions> -+ <Export-Package>org.apache.http.*</Export-Package> ++ <Export-Package>org.apache.http.*,!org.apache.http.param</Export-Package> + <Private-Package></Private-Package> + <_nouses>true</_nouses> + <Import-Package>!org.apache.avalon.framework.logger,!org.apache.log,!org.apache.log4j,*</Import-Package> + </instructions> ++ <excludeDependencies>true</excludeDependencies> </configuration> - <executions> - <execution> diff --git a/httpcomponents-client.spec b/httpcomponents-client.spec index 2498615..b5f4587 100644 --- a/httpcomponents-client.spec +++ b/httpcomponents-client.spec @@ -3,7 +3,7 @@ Name: httpcomponents-client Summary: HTTP agent implementation based on httpcomponents HttpCore Version: 4.1.3 -Release: 2%{?dist} +Release: 3%{?dist} Group: Development/Libraries License: ASL 2.0 URL: http://hc.apache.org/ @@ -92,6 +92,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
%changelog +* Wed May 2 2012 Alexander Kurtakov akurtako@redhat.com 4.1.3-3 +- Do not export org.apache.http.param in osgi. + * Mon Mar 26 2012 Alexander Kurtakov akurtako@redhat.com 4.1.3-2 - Do not export * but only org.apache.http.* . - Do not generate uses clauses in the manifest.
java-sig-commits@lists.fedoraproject.org