From 3665f0eabf09fb84363a290b8c48f5b3ac4ab9e0 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Fri, 13 Sep 2013 07:20:34 +0200 Subject: [PATCH] Update to upstream version 4.3 - Drop group tag --- .gitignore | 1 + httpcomponents-client.spec | 30 ++++++++++++++---------------- sources | 2 +- 3 files changed, 16 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 487b1a9..2a45185 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ httpcomponents-client-4.1-src.tar.gz /httpcomponents-client-4.2.3-src.tar.gz /httpcomponents-client-4.2.4-src.tar.gz /httpcomponents-client-4.2.5-src.tar.gz +/httpcomponents-client-4.3-src.tar.gz diff --git a/httpcomponents-client.spec b/httpcomponents-client.spec index fbbd3ea..2de078b 100644 --- a/httpcomponents-client.spec +++ b/httpcomponents-client.spec @@ -2,9 +2,8 @@ Name: httpcomponents-client Summary: HTTP agent implementation based on httpcomponents HttpCore -Version: 4.2.5 -Release: 3%{?dist} -Group: Development/Libraries +Version: 4.3 +Release: 1%{?dist} License: ASL 2.0 URL: http://hc.apache.org/ Source0: http://archive.apache.org/dist/httpcomponents/httpclient/source/%{name}-%{version}-src.tar.gz @@ -16,6 +15,7 @@ BuildRequires: mvn(commons-codec:commons-codec) BuildRequires: mvn(commons-logging:commons-logging) BuildRequires: mvn(org.apache.httpcomponents:httpcore) BuildRequires: mvn(org.apache.httpcomponents:project) +BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) %if 0%{?fedora} # Test dependencies BuildRequires: mvn(org.mockito:mockito-core) @@ -32,7 +32,6 @@ encouraged to upgrade. %package javadoc Summary: API documentation for %{name} -Group: Documentation %description javadoc %{summary}. @@ -41,6 +40,9 @@ Group: Documentation %prep %setup -q +# Don't install javadoc, sources and tests jars +%mvn_package ":{*}::{tests,sources,javadoc}:" __noinstall + # Remove optional build deps not available in Fedora %pom_disable_module httpclient-cache %pom_disable_module httpclient-osgi @@ -48,10 +50,8 @@ Group: Documentation %pom_remove_plugin :maven-notice-plugin %pom_remove_plugin :docbkx-maven-plugin %pom_remove_plugin :clirr-maven-plugin -%pom_remove_plugin :maven-clover2-plugin httpclient -%if !0%{?fedora} -%pom_remove_dep :mockito-core httpclient -%endif +%pom_remove_plugin :maven-checkstyle-plugin +%{!?fedora: %pom_remove_dep :mockito-core httpclient} # Add proper Apache felix bundle plugin instructions # so that we get a reasonable OSGi manifest. @@ -103,25 +103,23 @@ done %mvn_file ":{*}" httpcomponents/@1 # Build with tests enabled on Fedora -%if 0%{?fedora} -%mvn_build -%else -%mvn_build -f -%endif - +%mvn_build %{!?fedora: -f} %install %mvn_install %files -f .mfiles -%doc LICENSE.txt NOTICE.txt -%doc README.txt RELEASE_NOTES.txt +%doc LICENSE.txt NOTICE.txt README.txt RELEASE_NOTES.txt %files javadoc -f .mfiles-javadoc %doc LICENSE.txt NOTICE.txt %changelog +* Fri Sep 13 2013 Michal Srb - 4.3-1 +- Update to upstream version 4.3 +- Drop group tag + * Sat Aug 03 2013 Fedora Release Engineering - 4.2.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index a71ca67..2ccecb2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6f6255278e1680c3900e011d1bb31d84 httpcomponents-client-4.2.5-src.tar.gz +188f8bd74e6feae7de6b90dadd874afc httpcomponents-client-4.3-src.tar.gz