diff --git a/httpcomponents-client.spec b/httpcomponents-client.spec index 8ece766..19b08de 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.4 -Release: 0.2.beta1%{?dist} +Release: 0.3.beta1%{?dist} License: ASL 2.0 URL: http://hc.apache.org/ Source0: http://www.apache.org/dist/httpcomponents/httpclient/source/%{name}-%{version}-beta1-src.tar.gz @@ -35,6 +35,12 @@ management. HttpComponents Client is a successor of and replacement for Commons HttpClient 3.x. Users of Commons HttpClient are strongly encouraged to upgrade. +%package cache +Summary: Cache module for %{name} + +%description cache +This package provides client side caching for %{name}. + %package javadoc Summary: API documentation for %{name} @@ -48,6 +54,8 @@ Summary: API documentation for %{name} # Don't install javadoc and sources jars %mvn_package ":{*}::{sources,javadoc}:" __noinstall +%mvn_package :httpclient-cache cache + # Remove optional build deps not available in Fedora %pom_disable_module httpclient-osgi %pom_disable_module fluent-hc @@ -126,10 +134,15 @@ rm httpclient/src/test/java/org/apache/http/client/config/TestRequestConfig.java %files -f .mfiles %doc LICENSE.txt NOTICE.txt README.txt RELEASE_NOTES.txt +%files cache -f .mfiles-cache + %files javadoc -f .mfiles-javadoc %doc LICENSE.txt NOTICE.txt %changelog +* Thu Jan 22 2015 Mikolaj Izdebski - 4.4-0.3.beta1 +- Split httpclient-cache into subpackage + * Tue Jan 20 2015 Mikolaj Izdebski - 4.4-0.2.beta1 - Unbundle publicsuffix-list - Resolves: rhbz#1183782