[leveldb-java] introduce license macro

gil gil at fedoraproject.org
Tue Feb 10 16:05:13 UTC 2015


commit 89072ab407ed7fd9c6b200fc3f65837753f229fb
Author: gil <puntogil at libero.it>
Date:   Tue Feb 10 17:04:52 2015 +0100

    introduce license macro

 leveldb-java.spec |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/leveldb-java.spec b/leveldb-java.spec
index 72bfee4..432c819 100644
--- a/leveldb-java.spec
+++ b/leveldb-java.spec
@@ -5,7 +5,7 @@
 %endif
 Name:          leveldb-java
 Version:       0.7
-Release:       2%{?dist}
+Release:       3%{?dist}
 Summary:       Port of LevelDB to Java
 License:       ASL 2.0
 URL:           https://github.com/dain/leveldb
@@ -15,7 +15,6 @@ Source0:       https://github.com/dain/leveldb/archive/%{version}.tar.gz
 # Thanks to Robert Rati rrati at redhat.com
 Patch0:        leveldb-java-xerial-snappy.patch
 
-BuildRequires: java-devel
 BuildRequires: mvn(com.google.guava:guava)
 BuildRequires: mvn(org.xerial.snappy:snappy-java)
 %if %{with test}
@@ -87,14 +86,18 @@ args=$args" -j"
 
 %files  -f .mfiles
 %dir %{_javadir}/%{name}
-%doc README.md license.txt notice.md
+%doc README.md
+%license license.txt notice.md
 
 %if %{without javadoc}
 %files javadoc -f .mfiles-javadoc
-%doc license.txt notice.md
+%license license.txt notice.md
 %endif
 
 %changelog
+* Tue Feb 10 2015 gil cattaneo <puntogil at libero.it> 0.7-3
+- introduce license macro
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
@@ -108,4 +111,4 @@ args=$args" -j"
 - update to 0.5
 
 * Wed Nov 28 2012 gil cattaneo <puntogil at libero.it> 0.4-1
-- initial rpm
\ No newline at end of file
+- initial rpm


More information about the scm-commits mailing list