[jamon-runtime] introduce license macro

gil gil at fedoraproject.org
Wed Mar 4 14:28:26 UTC 2015


commit 1acec46480c02f1b45c6de7ffa70f7172d47d6bf
Author: gil <puntogil at libero.it>
Date:   Wed Mar 4 15:28:19 2015 +0100

    introduce license macro

 jamon-runtime.spec | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/jamon-runtime.spec b/jamon-runtime.spec
index f22e2e2..20adb97 100644
--- a/jamon-runtime.spec
+++ b/jamon-runtime.spec
@@ -1,15 +1,14 @@
 Name:          jamon-runtime
 Version:       2.4.1
-Release:       3%{?dist}
+Release:       4%{?dist}
 Summary:       Jamon runtime support classes
 License:       MPLv2.0
 URL:           http://www.jamon.org/
 # svn export svn://svn.code.sf.net/p/jamon/code/releases/jamon-runtime/jamon-runtime-2.4.1
 # tar cJf jamon-runtime-2.4.1.tar.xz jamon-runtime-2.4.1
 Source0:       %{name}-%{version}.tar.xz
-BuildRequires: java-devel
 BuildRequires: maven-local
-BuildRequires: mvn(org.jamon:jamon-java-parent)
+BuildRequires: mvn(org.jamon:jamon-java-parent:pom:)
 BuildRequires: mvn(junit:junit)
 BuildArch:     noarch
 
@@ -27,21 +26,25 @@ This package contains javadoc for %{name}.
 
 sed -i 's|${artifactId}/${version}|${project.artifactId}/${project.version}|' pom.xml
 
+%mvn_file : %{name}
+
 %build
 
-%mvn_file : %{name}
 %mvn_build -- -Dproject.build.sourceEncoding=UTF-8
 
 %install
 %mvn_install
 
 %files -f .mfiles
-%doc LICENSE
+%license LICENSE
 
 %files javadoc -f .mfiles-javadoc
-%doc LICENSE
+%license LICENSE
 
 %changelog
+* Wed Mar 04 2015 gil cattaneo <puntogil at libero.it> 2.4.1-4
+- introduce license macro
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.4.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list