From dab97b02893bc9447af486446dc799f931f2d4a9 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 11 Jul 2014 17:14:50 -0400 Subject: [PATCH] fix license handling --- cyrus-sasl.spec | 9 +++++++-- 1 file 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 - 2.1.26-18 +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 2.1.26-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild