diff --git a/libpwquality.spec b/libpwquality.spec index 82ecfe6..a338fef 100644 --- a/libpwquality.spec +++ b/libpwquality.spec @@ -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 - 1.2.3-4 +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 1.2.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild