diff --git a/.gitignore b/.gitignore index 6ffa31c..d1cdeaa 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ httpcomponents-client-4.1-src.tar.gz /httpcomponents-client-4.1.1-src.tar.gz /httpcomponents-client-4.1.2-src.tar.gz +/httpcomponents-client-4.1.3-src.tar.gz diff --git a/main-pom-fix.patch b/0001-Remove-few-modules-and-deps.patch similarity index 70% rename from main-pom-fix.patch rename to 0001-Remove-few-modules-and-deps.patch index 371e98d..05997eb 100644 --- a/main-pom-fix.patch +++ b/0001-Remove-few-modules-and-deps.patch @@ -1,5 +1,16 @@ ---- pom.xml.sav 2011-03-14 16:54:35.000000000 -0400 -+++ pom.xml 2011-07-15 13:51:08.537725611 -0400 +From 69fb282ec131437de7a4f0f3a8a38c764ddd05af Mon Sep 17 00:00:00 2001 +From: Stanislav Ochotnicky +Date: Thu, 1 Mar 2012 11:38:36 +0100 +Subject: [PATCH 1/3] Remove few modules and deps + +--- + pom.xml | 92 +------------------------------------------------------------- + 1 files changed, 2 insertions(+), 90 deletions(-) + +diff --git a/pom.xml b/pom.xml +index 25a70a2..39c4777 100644 +--- a/pom.xml ++++ b/pom.xml @@ -82,28 +82,11 @@ httpclient @@ -29,10 +40,11 @@ maven-jar-plugin -@@ -190,49 +173,6 @@ +@@ -200,62 +183,6 @@ + - +- - com.agilejava.docbkx - docbkx-maven-plugin - @@ -43,6 +55,16 @@ - runtime - - +- +- +- tutorial-site +- +- generate-html +- generate-pdf +- +- pre-site +- +- - - index.xml - true @@ -57,13 +79,14 @@ - - - -- -- +- +- - -- - - -- +- - - - @@ -71,15 +94,16 @@ - - - -- +- - - - -- + maven-resources-plugin - -@@ -253,14 +193,7 @@ +@@ -277,14 +204,7 @@ @@ -95,7 +119,7 @@ -@@ -281,15 +214,7 @@ +@@ -305,15 +225,7 @@ @@ -112,3 +136,6 @@ +-- +1.7.7.6 + diff --git a/httpmime-pom-fix.patch b/0002-Make-httpmime-into-bundle.patch similarity index 55% rename from httpmime-pom-fix.patch rename to 0002-Make-httpmime-into-bundle.patch index 5ecc705..d982f06 100644 --- a/httpmime-pom-fix.patch +++ b/0002-Make-httpmime-into-bundle.patch @@ -1,5 +1,16 @@ ---- httpmime/pom.xml.sav 2011-03-14 16:54:32.000000000 -0400 -+++ httpmime/pom.xml 2011-07-15 13:51:08.530725700 -0400 +From 9e38a0ea7c90f6ae416c790c3a03addef3ff66d2 Mon Sep 17 00:00:00 2001 +From: Stanislav Ochotnicky +Date: Thu, 1 Mar 2012 11:39:17 +0100 +Subject: [PATCH 2/3] Make httpmime into bundle + +--- + httpmime/pom.xml | 7 ++++++- + 1 files changed, 6 insertions(+), 1 deletions(-) + +diff --git a/httpmime/pom.xml b/httpmime/pom.xml +index a5e0179..43b5275 100644 +--- a/httpmime/pom.xml ++++ b/httpmime/pom.xml @@ -38,7 +38,7 @@ HttpComponents HttpClient - MIME coded entities @@ -21,3 +32,6 @@ +-- +1.7.7.6 + diff --git a/httpclient-pom-fix.patch b/0003-Make-httpclient-into-bundle.patch similarity index 82% rename from httpclient-pom-fix.patch rename to 0003-Make-httpclient-into-bundle.patch index a1d4327..3ff0d68 100644 --- a/httpclient-pom-fix.patch +++ b/0003-Make-httpclient-into-bundle.patch @@ -1,5 +1,17 @@ ---- httpclient/pom.xml.sav 2011-03-14 16:54:35.000000000 -0400 -+++ httpclient/pom.xml 2011-07-15 16:41:41.568795119 -0400 +From ff696dac1e539854085b48c51d9d315ab94e469c Mon Sep 17 00:00:00 2001 +From: Stanislav Ochotnicky +Date: Thu, 1 Mar 2012 11:39:52 +0100 +Subject: [PATCH 3/3] Make httpclient into bundle + +Also remove few build deps we don't have +--- + httpclient/pom.xml | 47 +++++++++++++++++++---------------------------- + 1 files changed, 19 insertions(+), 28 deletions(-) + +diff --git a/httpclient/pom.xml b/httpclient/pom.xml +index 0e391f6..f0c6632 100644 +--- a/httpclient/pom.xml ++++ b/httpclient/pom.xml @@ -38,7 +38,7 @@ HttpComponents Client (base module) @@ -78,3 +90,6 @@ +-- +1.7.7.6 + diff --git a/httpcomponents-client.spec b/httpcomponents-client.spec index a7197b1..93a6e72 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.2 -Release: 2%{?dist} +Version: 4.1.3 +Release: 1%{?dist} Group: Development/Libraries License: ASL 2.0 URL: http://hc.apache.org/ @@ -11,9 +11,11 @@ Source0: http://www.apache.org/dist/httpcomponents/httpclient/source/h # Remove optional build deps not available in Fedora # and add proper Apache felix bundle plugin instructions # so that we get a reasonable OSGi manifest. -Patch0: main-pom-fix.patch -Patch1: httpclient-pom-fix.patch -Patch2: httpmime-pom-fix.patch +Patch0: 0001-Remove-few-modules-and-deps.patch +Patch1: 0002-Make-httpmime-into-bundle.patch +Patch2: 0003-Make-httpclient-into-bundle.patch + + BuildArch: noarch @@ -47,9 +49,9 @@ API docs for %{name}. %prep %setup -q -%patch0 -b .sav -%patch1 -b .sav -%patch2 -b .sav +%patch0 -p1 -b .sav +%patch1 -p1 -b .sav +%patch2 -p1 -b .sav %build mvn-rpmbuild -Dmaven.test.skip=true install javadoc:aggregate @@ -90,6 +92,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name} %changelog +* Thu Mar 1 2012 Stanislav Ochotnicky 4.1.3-1 +- Update to latest upstream bugfix + * Fri Jan 13 2012 Fedora Release Engineering - 4.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index 6e3bca2..0aae272 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3ac8388815163beb7c3a30cad261212e httpcomponents-client-4.1.2-src.tar.gz +37ca392b0b187c14ea9ff1af944934bf httpcomponents-client-4.1.3-src.tar.gz