diff --git a/apache-rat.spec b/apache-rat.spec index 915d83e..637eee5 100644 --- a/apache-rat.spec +++ b/apache-rat.spec @@ -3,12 +3,12 @@ Name: apache-rat Version: 0.8 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Apache Release Audit Tool (RAT) Group: Development/Libraries License: ASL 2.0 -URL: http://incubator.apache.org/rat/ +URL: http://creadur.apache.org/rat/ #svn had a number of needed bugfixes #svn export -r 990212 http://svn.apache.org/repos/asf/incubator/rat/main/trunk apache-rat-0.8-20100707 #Source0: %{name}-%{version}-%{snapdate}.tar.bz2 @@ -71,6 +71,8 @@ Requires: junit %description core The core functionality of RAT, shared by the Ant tasks, and the Maven plugin. +It also includes a wrapper script "apache-rat" that should be the equivalent +to running upstream's "java -jar apache-rat.jar". %package plugin @@ -108,7 +110,7 @@ This package contains the API documentation for %{name}. %build -mvn-rpmbuild package javadoc:aggregate +mvn-rpmbuild -DskipTests=true package javadoc:aggregate %install #Dirs @@ -130,6 +132,9 @@ do %add_maven_depmap JPP.%{name}-${jarname}.pom %{name}/${jarname}.jar done +#Wrapper script +%jpackage_script org.apache.rat.Report "" "" %{name}/%{name}-core:commons-cli:commons-io:commons-collections:commons-compress:commons-lang:junit apache-rat true + #Ant taksks mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ant.d echo "apache-rat/rat-core apache-rat/rat-tasks" > $RPM_BUILD_ROOT%{_sysconfdir}/ant.d/%{name} @@ -149,6 +154,7 @@ cp -rp target/site/apidocs \ %files core %doc LICENSE NOTICE %{_mavenpomdir}/JPP.%{name}-%{name}-core.pom +%{_bindir}/%{name} %{_javadir}/%{name}/%{name}-core.jar %files plugin @@ -168,6 +174,10 @@ cp -rp target/site/apidocs \ %changelog +* Tue Feb 12 2013 Orion Poplawski 0.8-8 +- Add apache-rat wrapper script to apache-rat-core (bug #907782) +- Disable tests for now due to Fedora maven bug + * Wed Feb 06 2013 Java SIG - 0.8-7 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local