Do not export * but only org.apache.http.* .

- Do not generate uses clauses in the manifest.
This commit is contained in:
Alexander Kurtakov 2012-03-26 15:13:26 +03:00
parent 6341a299f4
commit 1ead4776ae
2 changed files with 8 additions and 3 deletions

View File

@ -34,7 +34,7 @@ index 0e391f6..f0c6632 100644
</dependencies>
<properties>
@@ -116,25 +110,19 @@
@@ -116,25 +110,20 @@
</execution>
</executions>
</plugin>
@ -50,8 +50,9 @@ index 0e391f6..f0c6632 100644
- <flushInterval>100</flushInterval>
- <targetPercentage>50%</targetPercentage>
+ <instructions>
+ <Export-Package>*</Export-Package>
+ <Export-Package>org.apache.http.*</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>
</configuration>

View File

@ -3,7 +3,7 @@
Name: httpcomponents-client
Summary: HTTP agent implementation based on httpcomponents HttpCore
Version: 4.1.3
Release: 1%{?dist}
Release: 2%{?dist}
Group: Development/Libraries
License: ASL 2.0
URL: http://hc.apache.org/
@ -92,6 +92,10 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
%changelog
* 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.
* Thu Mar 1 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> 4.1.3-1
- Update to latest upstream bugfix