[libpwquality] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 18 19:13:36 UTC 2014


commit 054b8f1307bdfad48439b3d942fb323597869df7
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 18 15:13:44 2014 -0400

    fix license handling

 libpwquality.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
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 <spot at fedoraproject.org> - 1.2.3-4
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.3-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list