[apacheds-ldap-client] introduce license macro

gil gil at fedoraproject.org
Thu Jan 29 12:33:11 UTC 2015


commit 4aeb6a6f65eee9327e3f1765380e9eba2701b613
Author: gil <puntogil at libero.it>
Date:   Thu Jan 29 13:32:57 2015 +0100

    introduce license macro

 apacheds-ldap-client.spec |   21 +++++++++------------
 1 files changed, 9 insertions(+), 12 deletions(-)
---
diff --git a/apacheds-ldap-client.spec b/apacheds-ldap-client.spec
index 351b885..a49f784 100644
--- a/apacheds-ldap-client.spec
+++ b/apacheds-ldap-client.spec
@@ -1,6 +1,6 @@
 Name:          apacheds-ldap-client
 Version:       0.1
-Release:       8%{?dist}
+Release:       9%{?dist}
 Summary:       ApacheDS LDAP Client API
 License:       ASL 2.0
 Url:           http://directory.apache.org/
@@ -12,19 +12,12 @@ Source1:       http://www.apache.org/licenses/LICENSE-2.0.txt
 # use the apacheds shared ldap apis
 Patch0:        apacheds-ldap-client-0.1-api-LdapConnection.patch
 
-BuildRequires: java-devel
-BuildRequires: directory-project
-
 BuildRequires: apache-commons-pool
 BuildRequires: apache-mina
 BuildRequires: apacheds-shared
-
-# test deps
+BuildRequires: directory-project
 BuildRequires: junit
-
 BuildRequires: maven-local
-BuildRequires: maven-surefire-provider-junit
-
 BuildArch:     noarch
 
 %description
@@ -54,21 +47,25 @@ find . -name "*.class" -delete
 cp -p %{SOURCE1} .
 sed -i 's/\r//' LICENSE-2.0.txt
 
+%mvn_file :ldap-client-api apacheds/ldap-client-api
+
 %build
 
-%mvn_file :ldap-client-api apacheds/ldap-client-api
 %mvn_build
 
 %install
 %mvn_install
 
 %files -f .mfiles
-%doc LICENSE-2.0.txt
+%license LICENSE-2.0.txt
 
 %files javadoc -f .mfiles-javadoc
-%doc LICENSE-2.0.txt
+%license LICENSE-2.0.txt
 
 %changelog
+* Thu Jan 29 2015 gil cattaneo <puntogil at libero.it> 0.1-9
+- introduce license macro
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list