[junit-benchmarks] introduce license macro
gil
gil at fedoraproject.org
Mon Feb 9 15:40:42 UTC 2015
commit 01df2719cc2416124adc81873dc3c3b8b3571bb6
Author: gil <puntogil at libero.it>
Date: Mon Feb 9 16:40:28 2015 +0100
introduce license macro
junit-benchmarks.spec | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/junit-benchmarks.spec b/junit-benchmarks.spec
index 4cc9b00..65adf27 100644
--- a/junit-benchmarks.spec
+++ b/junit-benchmarks.spec
@@ -1,11 +1,10 @@
Name: junit-benchmarks
Version: 0.7.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Code benchmarking in JUnit4
License: ASL 2.0
URL: http://labs.carrotsearch.com/junit-benchmarks.html
Source0: https://github.com/carrotsearch/junit-benchmarks/archive/release/%{version}.tar.gz
-BuildRequires: java-devel
BuildRequires: mvn(com.h2database:h2)
BuildRequires: mvn(junit:junit)
@@ -24,7 +23,6 @@ BuildRequires: mvn(org.easytesting:fest-assert-core:2.0M10)
BuildRequires: maven-local
BuildRequires: maven-enforcer-plugin
-BuildRequires: maven-surefire-provider-junit
BuildArch: noarch
@@ -48,21 +46,26 @@ This package contains javadoc for %{name}.
%pom_remove_dep org.easytesting:fest-assert-core
rm -r src/test/java/com/carrotsearch/junitbenchmarks/TestAssumptions.java
+%mvn_file : %{name}
+
%build
-%mvn_file : %{name}
%mvn_build
%install
%mvn_install
%files -f .mfiles
-%doc README junit-benchmarks.LICENSE
+%doc README
+%license junit-benchmarks.LICENSE
%files javadoc -f .mfiles-javadoc
-%doc junit-benchmarks.LICENSE
+%license junit-benchmarks.LICENSE
%changelog
+* Mon Feb 09 2015 gil cattaneo <puntogil at libero.it> 0.7.2-3
+- introduce license macro
+
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
@@ -70,4 +73,4 @@ rm -r src/test/java/com/carrotsearch/junitbenchmarks/TestAssumptions.java
- update to 0.7.2
* Fri Sep 14 2012 gil cattaneo <puntogil at libero.it> 0.4.0-1
-- initial rpm
\ No newline at end of file
+- initial rpm
More information about the scm-commits
mailing list