[json-smart] introduce license macro

gil gil at fedoraproject.org
Mon Feb 9 15:09:49 UTC 2015


commit 77556be0d5ee9f1526b34226cb73c6809ebaa0a8
Author: gil <puntogil at libero.it>
Date:   Mon Feb 9 16:09:33 2015 +0100

    introduce license macro

 json-smart.spec |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/json-smart.spec b/json-smart.spec
index f605fea..606cdd2 100644
--- a/json-smart.spec
+++ b/json-smart.spec
@@ -2,7 +2,7 @@
 %global shortcommit %(c=%{commit}; echo ${c:0:7})
 Name:          json-smart
 Version:       1.3
-Release:       0.1.20140820%{?dist}
+Release:       0.2.20140820%{?dist}
 Summary:       A small and very fast json parser/generator for java
 License:       ASL 2.0
 URL:           https://code.google.com/p/json-smart/
@@ -39,21 +39,26 @@ sed -i "s|<module>../json-smart</module>|<module>json-smart</module>|" pom.xml
 %pom_remove_plugin :maven-source-plugin
 cp -p %{name}/*.txt .
 
+%mvn_file :%{name} %{name}
+
 %build
 
-%mvn_file :%{name} %{name}
 %mvn_build
 
 %install
 %mvn_install
 
 %files -f .mfiles
-%doc ChangeLog.txt LICENSE.txt readme.txt
+%doc ChangeLog.txt readme.txt
+%license LICENSE.txt
 
 %files javadoc -f .mfiles-javadoc
-%doc LICENSE.txt
+%license LICENSE.txt
 
 %changelog
+* Mon Feb 09 2015 gil cattaneo <puntogil at libero.it> 1.3-0.2.20140820
+- introduce license macro
+
 * Wed Aug 20 2014 gil cattaneo <puntogil at libero.it> 1.3-0.1.20140820
 - update to 1.3
 


More information about the scm-commits mailing list