diff --git a/.gitignore b/.gitignore index 41c50eb..b7d99d7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /httpcomponents-project-4.1.1.tar.xz +/httpcomponents-project-6.tar.xz diff --git a/0001-Clean-pom.patch b/0001-Clean-pom.patch deleted file mode 100644 index 287c24b..0000000 --- a/0001-Clean-pom.patch +++ /dev/null @@ -1,60 +0,0 @@ -From ce430c0efe010c788f526a9285d7ac6d749d16b7 Mon Sep 17 00:00:00 2001 -From: Stanislav Ochotnicky -Date: Mon, 20 Dec 2010 12:40:34 +0100 -Subject: [PATCH] Clean pom - ---- - pom.xml | 33 +-------------------------------- - 1 files changed, 1 insertions(+), 32 deletions(-) - -diff --git a/pom.xml b/pom.xml -index 733b214..73d6a15 100644 ---- a/pom.xml -+++ b/pom.xml -@@ -411,42 +411,11 @@ - - - -- com.agilejava.docbkx -- docbkx-maven-plugin -- 2.0.10 -- -- -- com.atlassian.maven.plugins -- maven-clover2-plugin -- 2.6.3 -- -- - org.apache.felix - maven-bundle-plugin - 2.1.0 - -- -- org.codehaus.mojo -- clirr-maven-plugin -- 2.2.3 -- -- -- maven-notice-plugin -- org.apache.httpcomponents -- 0.0.2 -- -- -- attach-notice-license -- -- generate -- -- -- -- -- Apache HttpComponents -- -- -- -+ - - - --- -1.7.3.3 - diff --git a/httpcomponents-project.spec b/httpcomponents-project.spec index 8a2dd32..7cda56f 100644 --- a/httpcomponents-project.spec +++ b/httpcomponents-project.spec @@ -1,46 +1,26 @@ Name: httpcomponents-project Summary: Common POM file for HttpComponents -Version: 4.1.1 -Release: 5%{?dist} +Version: 6 +Release: 1%{?dist} Group: Development/Libraries License: ASL 2.0 URL: http://hc.apache.org/ -# svn export -r 1050387 http://svn.apache.org/repos/asf/httpcomponents/project httpcomponents-project-4.1.1 -# tar cJvf httpcomponents-project-4.1.1.tar.xz httpcomponents-project-4.1.1 -Source0: httpcomponents-project-%{version}.tar.xz -Patch0: 0001-Clean-pom.patch +# svn export http://svn.apache.org/repos/asf/httpcomponents/project/tags/%{version} %{name}-%{version} +# tar cJf %{name}-%{version}.tar.xz %{name}-%{version} +Source: %{name}-%{version}.tar.xz BuildArch: noarch -BuildRequires: java-devel >= 1:1.6.0 BuildRequires: jpackage-utils # Requires are dependencies from pom.xml. This project should only be required for building with maven. Requires: java >= 1:1.6.0 Requires: jpackage-utils Requires: maven -Requires: maven-antrun-plugin -Requires: maven-assembly-plugin -Requires: maven-clean-plugin Requires: maven-compiler-plugin -Requires: maven-deploy-plugin Requires: maven-gpg-plugin -Requires: maven-install-plugin Requires: maven-jar-plugin -Requires: maven-javadoc-plugin -Requires: maven-plugin-jxr Requires: maven-project-info-reports-plugin -Requires: maven-release-plugin -Requires: maven-resources-plugin Requires: maven-site-plugin -Requires: maven-source-plugin -Requires: maven-surefire-plugin -Requires: maven-surefire-report-plugin -Requires: maven-release-plugin -Requires: maven-plugin-jxr -Requires: maven-plugin-bundle - -Requires(post): jpackage-utils -Requires(postun): jpackage-utils %description Common Maven POM file for HttpComponents. This project should be @@ -49,25 +29,26 @@ use it as runtime requirement. %prep %setup -q -%patch0 -p1 +%pom_remove_plugin :buildnumber-maven-plugin +%pom_remove_plugin :clirr-maven-plugin +%pom_remove_plugin :docbkx-maven-plugin +%pom_remove_plugin :maven-clover2-plugin +%pom_remove_plugin :maven-notice-plugin %install -%{__install} -D -m 0644 pom.xml %{buildroot}/%{_mavenpomdir}/JPP.httpcomponents-project.pom -%add_to_maven_depmap org.apache.httpcomponents project %{version} JPP/httpcomponents project - -%post -%update_maven_depmap - -%postun -%update_maven_depmap +install -dm 755 %{buildroot}/%{_mavenpomdir} +install -pm 644 pom.xml %{buildroot}/%{_mavenpomdir}/JPP.%{name}.pom +%add_maven_depmap JPP.%{name}.pom %files -%defattr(-,root,root,-) -%doc LICENSE.txt +%doc LICENSE.txt NOTICE.txt %{_mavendepmapfragdir}/%{name} %{_mavenpomdir}/JPP.%{name}.pom %changelog +* Mon Aug 6 2012 Mikolaj Izdebski - 6-1 +- Update to upstream version 6 + * Thu Jul 19 2012 Fedora Release Engineering - 4.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index ba13a38..214d113 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9ae37b64ca1149013a5d8e34b0efa07e httpcomponents-project-4.1.1.tar.xz +3b9f2c3521ea8a51fc2481dbf43e9869 httpcomponents-project-6.tar.xz