[lightcouch] introduce license macro

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


commit 0b23ec54feb8619d2ff660c93907d6788e85dd47
Author: gil <puntogil at libero.it>
Date:   Tue Feb 10 17:21:00 2015 +0100

    introduce license macro

 lightcouch.spec |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/lightcouch.spec b/lightcouch.spec
index dd3c169..d3447eb 100644
--- a/lightcouch.spec
+++ b/lightcouch.spec
@@ -1,15 +1,14 @@
 Name:          lightcouch
 Version:       0.1.2
-Release:       2%{?dist}
+Release:       3%{?dist}
 Summary:       CouchDB Java API
 License:       ASL 2.0
 URL:           http://www.lightcouch.org/
 Source0:       https://github.com/lightcouch/LightCouch/archive/%{name}-%{version}.tar.gz
 
-BuildRequires: java-devel
 BuildRequires: mvn(com.google.code.gson:gson)
 BuildRequires: mvn(org.apache.httpcomponents:httpclient) >= 4.3.3
-BuildRequires: mvn(org.sonatype.oss:oss-parent)
+BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
 BuildRequires: mvn(junit:junit)
 BuildRequires: maven-local
 BuildArch:     noarch
@@ -89,24 +88,26 @@ sed -i "s|public void syncDesignDocsWithDb() {|public void syncDesignDocsWithDb(
 sed -i "s|public Response save() {|public Response save() throws java.io.UnsupportedEncodingException {|" \
  src/main/java/org/lightcouch/Replicator.java
 
-
-
+%mvn_file : %{name}
 
 %build
 
-%mvn_file : %{name}
 %mvn_build
 
 %install
 %mvn_install
 
 %files -f .mfiles
-%doc LICENSE README.md
+%doc README.md
+%license LICENSE
 
 %files javadoc -f .mfiles-javadoc
-%doc LICENSE
+%license LICENSE
 
 %changelog
+* Tue Feb 10 2015 gil cattaneo <puntogil at libero.it> 0.1.2-3
+- introduce license macro
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list