[hawtdb] introduce license macro

gil gil at fedoraproject.org
Thu Feb 5 13:12:55 UTC 2015


commit 9ae9ea0dda9cdb3350e5f8eecddefab79a8c5788
Author: gil <puntogil at libero.it>
Date:   Thu Feb 5 14:12:40 2015 +0100

    introduce license macro

 hawtdb.spec |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/hawtdb.spec b/hawtdb.spec
index 22aaeca..8dc9c10 100644
--- a/hawtdb.spec
+++ b/hawtdb.spec
@@ -1,6 +1,6 @@
 Name:          hawtdb
 Version:       1.6
-Release:       5%{?dist}
+Release:       6%{?dist}
 Summary:       A Powerful Key/Value Store
 # CDDL: hawtdb/src/main/java/org/fusesource/hawtdb/api/Callback.java
 License:       ASL 2.0 and CDDL
@@ -8,8 +8,6 @@ URL:           http://hawtdb.fusesource.org/
 Source0:       https://github.com/fusesource/hawtdb/archive/%{name}-project-%{version}.tar.gz
 
 BuildRequires: fusesource-pom
-BuildRequires: java-devel
-
 BuildRequires: apache-commons-logging
 BuildRequires: hawtbuf
 # test deps
@@ -18,7 +16,6 @@ BuildRequires: log4j12
 
 BuildRequires: maven-local
 BuildRequires: maven-plugin-bundle
-BuildRequires: maven-surefire-provider-junit
 
 BuildArch:     noarch
 
@@ -58,21 +55,26 @@ rm -r hawtdb/src/test/java/org/fusesource/hawtdb/internal/index/BTreeIndexTest.j
   hawtdb/src/test/java/org/fusesource/hawtdb/internal/page/TxPageFileTest.java \
   hawtdb/src/test/java/org/fusesource/hawtdb/internal/io/MemoryMappedFileTest.java
 
+%mvn_file :%{name} %{name}
+
 %build
 
-%mvn_file :%{name} %{name}
 %mvn_build
 
 %install
 %mvn_install
 
 %files -f .mfiles
-%doc changelog.md license.txt readme.md
+%doc changelog.md readme.md
+%license license.txt
 
 %files javadoc -f .mfiles-javadoc
-%doc license.txt
+%license license.txt
 
 %changelog
+* Tue Jan 20 2015 gil cattaneo <puntogil at libero.it> 1.6-6
+- introduce license macro
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
@@ -87,4 +89,4 @@ rm -r hawtdb/src/test/java/org/fusesource/hawtdb/internal/index/BTreeIndexTest.j
 - minor changes to adapt to current guideline
 
 * Tue Jun 04 2013 gil cattaneo <puntogil at libero.it> 1.6-1
-- initial rpm
\ No newline at end of file
+- initial rpm


More information about the scm-commits mailing list