diff --git a/randomizedtesting.spec b/randomizedtesting.spec index 90b17dc..c874764 100644 --- a/randomizedtesting.spec +++ b/randomizedtesting.spec @@ -1,13 +1,11 @@ Name: randomizedtesting Version: 2.1.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Java Testing Framework License: ASL 2.0 URL: http://labs.carrotsearch.com/randomizedtesting.html Source0: https://github.com/carrotsearch/randomizedtesting/archive/release/%{version}.tar.gz -BuildRequires: java-devel - BuildRequires: mvn(asm:asm) BuildRequires: mvn(com.google.code.gson:gson) BuildRequires: mvn(com.google.guava:guava) @@ -111,16 +109,12 @@ sed -i 's/\r//' README randomized-runner/README %install %mvn_install -#mkdir -p %%{buildroot}%%{_sysconfdir}/ant.d -#echo "ant ant/ant-junit commons-io google-gson guava junit junit4-ant objectweb-asm3/asm %%{name}/randomizedtesting-runner simple-xml" > %%{name}-junit4-ant -#install -p -m 644 %%{name}-junit4-ant %%{buildroot}%%{_sysconfdir}/ant.d/%%{name}-junit4-ant - %files %dir %{_javadir}/%{name} -%doc LICENSE README +%doc README +%license LICENSE %files junit4-ant -f .mfiles-junit4-ant -#%%config(noreplace) %%{_sysconfdir}/ant.d/%%{name}-junit4-ant %files junit4-maven-plugin -f .mfiles-junit4-maven-plugin @@ -128,9 +122,12 @@ sed -i 's/\r//' README randomized-runner/README %doc randomized-runner/README %files javadoc -f .mfiles-javadoc -%doc LICENSE +%license LICENSE %changelog +* Wed Feb 11 2015 gil cattaneo 2.1.3-2 +- introduce license macro + * Fri Jun 20 2014 gil cattaneo 2.1.3-1 - update to 2.1.3