diff --git a/.gitignore b/.gitignore index 724c402..8f49a16 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /httpcomponents-client-4.0.3-src.tar.gz httpcomponents-client-4.1-src.tar.gz +/httpcomponents-client-4.1.1-src.tar.gz diff --git a/0001-Cleanup-pom.patch b/0001-Cleanup-pom.patch index a3ba083..0577ad9 100644 --- a/0001-Cleanup-pom.patch +++ b/0001-Cleanup-pom.patch @@ -1,6 +1,124 @@ ---- pom.xml.sav 2011-01-17 15:00:53.000000000 -0500 -+++ pom.xml 2011-03-10 09:45:01.330282001 -0500 -@@ -81,28 +81,11 @@ +From 1e435abf209089692a3ba2dca86be757e892c10b Mon Sep 17 00:00:00 2001 +From: Stanislav Ochotnicky +Date: Tue, 29 Mar 2011 14:02:03 +0200 +Subject: [PATCH] Cleanup pom + +--- + httpclient/pom.xml | 45 +++++++++++------------------ + httpmime/pom.xml | 7 ++++- + pom.xml | 79 +-------------------------------------------------- + 3 files changed, 25 insertions(+), 106 deletions(-) + +diff --git a/httpclient/pom.xml b/httpclient/pom.xml +index 4ce1cab..e0ac937 100644 +--- a/httpclient/pom.xml ++++ b/httpclient/pom.xml +@@ -38,7 +38,7 @@ + HttpComponents Client (base module) + + http://hc.apache.org/httpcomponents-client +- jar ++ bundle + + + +@@ -65,12 +65,6 @@ + ${junit.version} + test + +- +- org.mockito +- mockito-core +- ${mockito.version} +- test +- + + + +@@ -116,25 +110,18 @@ + + + +- +- com.atlassian.maven.plugins +- maven-clover2-plugin ++ ++ org.apache.felix ++ maven-bundle-plugin ++ true + +- threaded +- 100 +- 50% ++ ++ * ++ ++ + +- +- +- site +- pre-site +- +- instrument +- +- +- +- +- ++ ++ + + + +@@ -161,11 +148,13 @@ + + + +- com.atlassian.maven.plugins +- maven-clover2-plugin +- ${clover.version} ++ org.apache.felix ++ maven-bundle-plugin + +- 1.5 ++ ++ * ++ ++ + + + +diff --git a/httpmime/pom.xml b/httpmime/pom.xml +index 8853cc2..6922f99 100644 +--- a/httpmime/pom.xml ++++ b/httpmime/pom.xml +@@ -38,7 +38,7 @@ + HttpComponents HttpClient - MIME coded entities + + http://hc.apache.org/httpcomponents-client +- jar ++ bundle + + + +@@ -112,6 +112,11 @@ + + + ++ ++ org.apache.felix ++ maven-bundle-plugin ++ true ++ + + + +diff --git a/pom.xml b/pom.xml +index e3ba289..8ab6b70 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -82,28 +82,11 @@ httpclient httpmime @@ -29,7 +147,7 @@ maven-jar-plugin -@@ -189,49 +172,6 @@ +@@ -190,49 +173,6 @@ @@ -79,7 +197,7 @@ maven-resources-plugin -@@ -252,14 +192,7 @@ +@@ -253,14 +193,7 @@ @@ -95,7 +213,7 @@ -@@ -280,15 +213,7 @@ +@@ -281,15 +214,7 @@ @@ -112,101 +230,6 @@ ---- httpclient/pom.xml.sav 2011-01-17 15:00:53.000000000 -0500 -+++ httpclient/pom.xml 2011-03-10 09:50:50.829281988 -0500 -@@ -38,7 +38,7 @@ - HttpComponents Client (base module) - - http://hc.apache.org/httpcomponents-client -- jar -+ bundle - - - -@@ -71,12 +71,6 @@ - ${easymock.version} - test - -- -- org.easymock -- easymockclassextension -- ${easymock.version} -- test -- - - - -@@ -122,25 +116,18 @@ - - - -- -- com.atlassian.maven.plugins -- maven-clover2-plugin -+ -+ org.apache.felix -+ maven-bundle-plugin -+ true - -- threaded -- 100 -- 50% -+ -+ * -+ -+ - -- -- -- site -- pre-site -- -- instrument -- -- -- -- -- -+ -+ - - - -@@ -165,14 +151,6 @@ - - - -- com.atlassian.maven.plugins -- maven-clover2-plugin -- -- 1.5 -- -- -- -- - maven-jxr-plugin - - ---- httpmime/pom.xml.sav 2011-01-17 15:00:44.000000000 -0500 -+++ httpmime/pom.xml 2011-03-10 09:45:01.330282001 -0500 -@@ -38,7 +38,7 @@ - HttpComponents HttpClient - MIME coded entities - - http://hc.apache.org/httpcomponents-client -- jar -+ bundle - - - -@@ -112,6 +112,11 @@ - - - -+ -+ org.apache.felix -+ maven-bundle-plugin -+ true -+ - - - +-- +1.7.4 + diff --git a/httpcomponents-client.spec b/httpcomponents-client.spec index cc8553a..f203789 100644 --- a/httpcomponents-client.spec +++ b/httpcomponents-client.spec @@ -2,8 +2,8 @@ Name: httpcomponents-client Summary: HTTP agent implementation based on httpcomponents HttpCore -Version: 4.1 -Release: 6%{?dist} +Version: 4.1.1 +Release: 1%{?dist} Group: Development/Libraries License: ASL 2.0 URL: http://hc.apache.org/ @@ -44,7 +44,7 @@ API docs for %{name}. %prep %setup -q -%patch0 -b .sav +%patch0 -p1 -b .sav %build mvn-rpmbuild -Dmaven.test.skip=true install javadoc:aggregate @@ -92,6 +92,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name} %changelog +* Tue Mar 29 2011 Stanislav Ochotnicky - 4.1.1-1 +- New upstream bugfix version (4.1.1) + * Tue Mar 15 2011 Severin Gehwolf 4.1-6 - Explicitly set PrivatePackage to the empty set, so as to export all packages. diff --git a/sources b/sources index f275dc8..038cbec 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1a50cf1c2eeac0ff29a3cd095ed19954 httpcomponents-client-4.1-src.tar.gz +12be9646128db4a4383e47341cbeb7fd httpcomponents-client-4.1.1-src.tar.gz