Fix bundle plugin configuration to produce sane manifest.

Do not duplicate javadoc files list.
This commit is contained in:
Alexander Kurtakov 2013-05-17 12:05:30 +03:00
parent 01b15681ff
commit 0e3468b313

View File

@ -3,7 +3,7 @@
Name: httpcomponents-core
Summary: Set of low level Java HTTP transport components for HTTP services
Version: 4.2.4
Release: 2%{?dist}
Release: 3%{?dist}
Group: Development/Libraries
License: ASL 2.0
URL: http://hc.apache.org/
@ -66,6 +66,8 @@ for module in httpcore httpcore-nio; do
<configuration>
<instructions>
<Export-Package>*</Export-Package>
<Private-Package></Private-Package>
<_nouses>true</_nouses>
</instructions>
</configuration>
</plugin>" $module
@ -92,9 +94,12 @@ done
%files javadoc -f .mfiles-javadoc
%doc LICENSE.txt NOTICE.txt
%doc %{_javadocdir}/%{name}
%changelog
* Fri May 17 2013 Alexander Kurtakov <akurtako@redhat.com> 4.2.4-3
- Fix bundle plugin configuration to produce sane manifest.
- Do not duplicate javadoc files list.
* Mon Mar 25 2013 Michal Srb <msrb@redhat.com> - 4.2.4-2
- Build with xmvn