[gmetric4j] introduce license macro

gil gil at fedoraproject.org
Wed Feb 4 20:05:05 UTC 2015


commit a5464638eed554a46d46ff91e9a37008b822ce4f
Author: gil <puntogil at libero.it>
Date:   Wed Feb 4 21:04:32 2015 +0100

    introduce license macro

 gmetric4j.spec |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/gmetric4j.spec b/gmetric4j.spec
index eeb59af..09c3452 100644
--- a/gmetric4j.spec
+++ b/gmetric4j.spec
@@ -1,17 +1,14 @@
 Name:          gmetric4j
 Version:       1.0.3
-Release:       4%{?dist}
+Release:       5%{?dist}
 Summary:       JVM instrumentation to Ganglia
 License:       BSD
 URL:           https://github.com/ganglia/gmetric4j
 Source0:       https://github.com/ganglia/gmetric4j/archive/%{version}.tar.gz
 
-BuildRequires: java-devel
-
 #BuildRequires: remotetea
 BuildRequires: mvn(org.acplt:oncrpc)
 BuildRequires: mvn(org.sonatype.oss:oss-parent)
-
 # test deps
 BuildRequires: mvn(junit:junit)
 
@@ -49,9 +46,10 @@ sed -i '/Class-Path/d' src/main/resources/META-INF/MANIFEST.MF
 
 rm -r src/test/java/info/ganglia/gmetric4j/gmetric/GMetricIT.java
 
+%mvn_file : %{name}
+
 %build
 
-%mvn_file : %{name}
 %mvn_build
 
 %install
@@ -62,12 +60,16 @@ install -m 644 target/%{name}-%{version}-tests.jar \
 
 %files -f .mfiles
 %{_javadir}/%{name}-tests.jar
-%doc COPYING README
+%doc README
+%license COPYING
 
 %files javadoc -f .mfiles-javadoc
-%doc COPYING
+%license COPYING
 
 %changelog
+* Wed Feb 04 2015 gil cattaneo <puntogil at libero.it> 1.0.3-5
+- introduce license macro
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.3-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
@@ -78,4 +80,4 @@ install -m 644 target/%{name}-%{version}-tests.jar \
 - remove Boot Class-Path
 
 * Sat Aug 03 2013 gil cattaneo <puntogil at libero.it> 1.0.3-1
-- initial rpm
\ No newline at end of file
+- initial rpm


More information about the scm-commits mailing list