[cyrus-sasl] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 11 21:14:31 UTC 2014


commit dab97b02893bc9447af486446dc799f931f2d4a9
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 11 17:14:50 2014 -0400

    fix license handling

 cyrus-sasl.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/cyrus-sasl.spec b/cyrus-sasl.spec
index 0a1086d..f08180c 100644
--- a/cyrus-sasl.spec
+++ b/cyrus-sasl.spec
@@ -8,7 +8,7 @@
 Summary: The Cyrus SASL library
 Name: cyrus-sasl
 Version: 2.1.26
-Release: 17%{?dist}
+Release: 18%{?dist}
 License: BSD with advertising
 Group: System Environment/Libraries
 # Source0 originally comes from ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/;
@@ -376,7 +376,9 @@ getent passwd %{username} >/dev/null || useradd -r -g %{username} -d %{homedir}
 
 %files lib
 %defattr(-,root,root)
-%doc AUTHORS COPYING NEWS README doc/*.html
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc AUTHORS NEWS README doc/*.html
 %{_libdir}/libsasl*.so.*
 %dir %{_sysconfdir}/sasl2
 %dir %{_plugindir2}/
@@ -433,6 +435,9 @@ getent passwd %{username} >/dev/null || useradd -r -g %{username} -d %{homedir}
 %{_sbindir}/sasl2-shared-mechlist
 
 %changelog
+* Fri Jul 11 2014 Tom Callaway <spot at fedoraproject.org> - 2.1.26-18
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1.26-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list