fix license handling

This commit is contained in:
Tom Callaway 2014-07-11 17:14:50 -04:00
parent e47358ce0f
commit dab97b0289
1 changed files with 7 additions and 2 deletions

View File

@ -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@fedoraproject.org> - 2.1.26-18
- fix license handling
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.26-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild