fix license handling

This commit is contained in:
Tom Callaway 2014-07-18 15:14:54 -04:00
parent 343349abff
commit 8acaa280ee

View File

@ -1,7 +1,7 @@
Summary: A library for password generation and password quality checking
Name: libpwquality
Version: 1.2.3
Release: 3%{?dist}
Release: 4%{?dist}
# The package is BSD licensed with option to relicense as GPLv2+
# - this option is redundant as the BSD license allows that anyway.
License: BSD or GPLv2+
@ -89,7 +89,9 @@ rm -f $RPM_BUILD_ROOT%{_moduledir}/*.la
%files -f libpwquality.lang
%defattr(-,root,root,-)
%doc COPYING README NEWS AUTHORS
%{!?_licensedir:%global license %%doc}
%license COPYING
%doc README NEWS AUTHORS
%{_bindir}/pwmake
%{_bindir}/pwscore
%{_moduledir}/pam_pwquality.so
@ -110,6 +112,9 @@ rm -f $RPM_BUILD_ROOT%{_moduledir}/*.la
%{python_sitearch}/pwquality.so
%changelog
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 1.2.3-4
- fix license handling
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild