[patricia-trie] introduce license macro

gil gil at fedoraproject.org
Wed Feb 11 17:22:06 UTC 2015


commit 80709072e594a180875f4b050ac3c1cebe93132f
Author: gil <puntogil at libero.it>
Date:   Wed Feb 11 18:21:31 2015 +0100

    introduce license macro

 patricia-trie.spec |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/patricia-trie.spec b/patricia-trie.spec
index 525cd85..3f60004 100644
--- a/patricia-trie.spec
+++ b/patricia-trie.spec
@@ -1,6 +1,6 @@
 Name:           patricia-trie
 Version:        0.2
-Release:        8.20091116svn%{?dist}
+Release:        9.20091116svn%{?dist}
 Summary:        Java prefix tree library
 License:        ASL 2.0
 URL:            http://patricia-trie.googlecode.com/
@@ -40,19 +40,23 @@ install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}
 
 install -p -m644 dist/%{name}-%{version}/%{name}-%{version}.jar \
         $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
+%add_maven_depmap org.ardverk:patricia-trie:%{version} %{name}.jar
 
 cp -a dist/%{name}-%{version}/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
 
-%files
-%{_javadir}/%{name}.jar
-%doc dist/%{name}-%{version}/LICENSE-2.0.txt
+%files -f .mfiles
+%license dist/%{name}-%{version}/LICENSE-2.0.txt
 %doc dist/%{name}-%{version}/RELEASE-NOTES.txt
 
 %files javadoc
 %{_javadocdir}/%{name}
-%doc dist/%{name}-%{version}/LICENSE-2.0.txt
+%license dist/%{name}-%{version}/LICENSE-2.0.txt
 
 %changelog
+* Wed Feb 11 2015 gil cattaneo <puntogil at libero.it> 0.2-9.20091116svn
+- introduce license macro
+- add maven metadata
+
 * Fri Jun 06 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2-8.20091116svn
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list