[apache-rat] Run mvn-rpmbuild package instead of install

Stanislav Ochotnicky sochotni at fedoraproject.org
Thu Aug 16 12:21:15 UTC 2012


commit 2572711723c15d10540ebc5cce470d802f20b338
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Thu Aug 16 14:05:13 2012 +0200

    Run mvn-rpmbuild package instead of install
    
    This works around a FTBFS (failing integration tests).

 apache-rat.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/apache-rat.spec b/apache-rat.spec
index 002c9fb..cd515e7 100644
--- a/apache-rat.spec
+++ b/apache-rat.spec
@@ -3,7 +3,7 @@
 
 Name:           apache-rat
 Version:        0.8
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Apache Release Audit Tool (RAT)
 
 Group:          Development/Libraries
@@ -108,7 +108,7 @@ This package contains the API documentation for %{name}.
 
 
 %build
-mvn-rpmbuild install javadoc:aggregate
+mvn-rpmbuild package javadoc:aggregate
 
 %install
 #Dirs
@@ -168,6 +168,9 @@ cp -rp target/site/apidocs \
 
 
 %changelog
+* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 0.8-6
+- Run mvn-rpmbuild package instead of install
+
 * Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 0.8-5
 - Install NOTICE files
 - Remove defattr


More information about the scm-commits mailing list