[async-http-client] Update to upstream version 1.7.6

Mikolaj Izdebski mizdebsk at fedoraproject.org
Thu Oct 25 10:46:19 UTC 2012


commit 17309b5ef4a8601ef598f0a6a17c04a8420cc102
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Thu Oct 25 11:59:43 2012 +0200

    Update to upstream version 1.7.6
    
    - Update to current packaging guidelines

 0001-Remove-test-dependencies.patch |   87 -----------------------------------
 async-http-client.spec              |   36 +++++++--------
 sources                             |    2 +-
 3 files changed, 18 insertions(+), 107 deletions(-)
---
diff --git a/async-http-client.spec b/async-http-client.spec
index 3a3cad9..86cac83 100644
--- a/async-http-client.spec
+++ b/async-http-client.spec
@@ -1,18 +1,16 @@
 
 Name:           async-http-client
-Version:        1.6.1
-Release:        4%{?dist}
+Version:        1.7.6
+Release:        1%{?dist}
 Summary:        Asynchronous Http Client for Java
 
 Group:          Development/Libraries
 License:        ASL 2.0
 URL:            https://github.com/AsyncHttpClient/%{name}
-# git clone https://github.com/AsyncHttpClient/async-http-client.git
-# git archive --prefix="async-http-client-1.6.1/" --format=tar async-http-client-1.6.1 | bzip2 > async-http-client-1.6.1.tar.bz2
+# git clone https://github.com/AsyncHttpClient/%{name}.git
+# git archive --prefix="%{name}-%{version}/" --format=tar %{name}-%{version} | bzip2 >%{name}-%{version}.tar.bz2
 Source0:        %{name}-%{version}.tar.bz2
 
-Patch0:         0001-Remove-test-dependencies.patch
-
 BuildArch:      noarch
 
 BuildRequires:  maven
@@ -32,8 +30,6 @@ BuildRequires:  netty
 
 Requires:       netty
 Requires:       java >= 1:1.6.0
-Requires(post): jpackage-utils
-Requires(postun): jpackage-utils
 
 
 %description
@@ -53,7 +49,14 @@ Requires:  jpackage-utils
 %prep
 %setup -q
 
-%patch0 -p1
+# Remove things for which we are missing dependencies
+%pom_remove_plugin :clirr-maven-plugin
+%pom_xpath_remove "pom:extension[pom:artifactId[text()='wagon-gitsite']]"
+%pom_xpath_remove "pom:profiles/pom:profile[pom:id[text()='grizzly']]"
+
+# Animal sniffer is causing more trouble than good
+%pom_remove_plugin :animal-sniffer-maven-plugin
+
 
 %build
 # we don't have all test dependencies available so disable tests
@@ -75,28 +78,23 @@ install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
 cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
 
 
-%post
-%update_maven_depmap
-
-%postun
-%update_maven_depmap
-
-
 %files
-%defattr(-,root,root,-)
-%doc README LICENSE-2.0.txt
+%doc README.md LICENSE-2.0.txt
 %{_javadir}/%{name}.jar
 %{_mavendepmapfragdir}/%{name}
 %{_mavenpomdir}/JPP-%{name}.pom
 
 %files javadoc
-%defattr(-,root,root,-)
 %doc LICENSE-2.0.txt
 %{_javadocdir}/%{name}
 
 
 
 %changelog
+* Thu Oct 25 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 1.7.6-1
+- Update to upstream version 1.7.6
+- Update to current packaging guidelines
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6.1-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 749d972..fe25515 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-55504c3167fcbe1ca3956631dea6334d  async-http-client-1.6.1.tar.bz2
+cfdf928cb9b51aa4c02c9c980be6fa7c  async-http-client-1.7.6.tar.bz2


More information about the scm-commits mailing list