[async-http-client] Update to latest upstream version 1.7.11

Michal Srb msrb at fedoraproject.org
Wed Mar 6 08:15:41 UTC 2013


commit 6088f763fbf0e857a9231aa16181625605c1c962
Author: Michal Srb <msrb at redhat.com>
Date:   Wed Mar 6 09:15:02 2013 +0100

    Update to latest upstream version 1.7.11
    
    - Build with XMvn

 .gitignore             |    1 +
 async-http-client.spec |   43 ++++++++++++-------------------------------
 sources                |    2 +-
 3 files changed, 14 insertions(+), 32 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fac685c..7569df4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /async-http-client-1.6.1.tar.bz2
 /async-http-client-1.7.8.tar.bz2
 /async-http-client-1.7.10.tar.bz2
+/async-http-client-1.7.11.tar.gz
diff --git a/async-http-client.spec b/async-http-client.spec
index d6d54fe..9eff472 100644
--- a/async-http-client.spec
+++ b/async-http-client.spec
@@ -1,15 +1,13 @@
 
 Name:           async-http-client
-Version:        1.7.10
-Release:        2%{?dist}
+Version:        1.7.11
+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/%{name}.git
-# git archive --prefix="%{name}-%{version}/" --format=tar %{name}-%{version} | bzip2 >%{name}-%{version}.tar.bz2
-Source0:        %{name}-%{version}.tar.bz2
+Source0:        https://github.com/AsyncHttpClient/%{name}/archive/%{name}-%{version}.tar.gz
 
 BuildArch:      noarch
 
@@ -28,9 +26,6 @@ BuildRequires:  maven-enforcer-plugin
 BuildRequires:  sonatype-oss-parent
 BuildRequires:  netty
 
-Requires:       netty
-Requires:       java >= 1:1.6.0
-
 
 %description
 Async Http Client library purpose is to allow Java applications to
@@ -41,13 +36,12 @@ responses. The Async HTTP Client library is simple to use.
 %package javadoc
 Summary:   API documentation for %{name}
 Group:     Documentation
-Requires:  jpackage-utils
 
 %description javadoc
 %{summary}.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{name}-%{version}
 
 # Remove things for which we are missing dependencies
 %pom_remove_plugin :clirr-maven-plugin
@@ -60,37 +54,24 @@ Requires:  jpackage-utils
 
 %build
 # we don't have all test dependencies available so disable tests
-mvn-rpmbuild -e \
-        -Dmaven.test.skip=true \
-        install javadoc:aggregate
-
+%mvn_build -f
 
 %install
+%mvn_install
 
-install -d -m 755 %{buildroot}%{_javadir}/
-install -d -m 755 %{buildroot}%{_mavenpomdir}
-
-install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
-install -pm 644 pom.xml %{buildroot}/%{_mavenpomdir}/JPP-%{name}.pom
-%add_to_maven_depmap com.ning %{name} %{version} JPP %{name}
-
-install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
-cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
 
-
-%files
+%files -f .mfiles
 %doc README.md LICENSE-2.0.txt
-%{_javadir}/%{name}.jar
-%{_mavendepmapfragdir}/%{name}
-%{_mavenpomdir}/JPP-%{name}.pom
 
-%files javadoc
+%files javadoc -f .mfiles-javadoc
 %doc LICENSE-2.0.txt
-%{_javadocdir}/%{name}
-
 
 
 %changelog
+* Wed Mar 06 2013 Michal Srb <msrb at redhat.com> - 1.7.11-1
+- Update to latest upstream version 1.7.11
+- Build with XMvn
+
 * Wed Feb 06 2013 Java SIG <java-devel at lists.fedoraproject.org> - 1.7.10-2
 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
 - Replace maven BuildRequires with maven-local
diff --git a/sources b/sources
index 569dd28..cb1c16d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3857287e418052dbd1ab6d5689cc7942  async-http-client-1.7.10.tar.bz2
+c1ded641092e9dfcd3ce7c5189d3088e  async-http-client-1.7.11.tar.gz


More information about the scm-commits mailing list