[libuser] fix license handling

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


commit 2d05136fd605abb6815e6b460129d0bb3d5fa6fa
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 18 15:28:48 2014 -0400

    fix license handling

 libuser.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/libuser.spec b/libuser.spec
index 38ba572..efada02 100644
--- a/libuser.spec
+++ b/libuser.spec
@@ -2,7 +2,7 @@
 
 Name: libuser
 Version: 0.60
-Release: 4%{?dist}
+Release: 5%{?dist}
 Group: System Environment/Base
 License: LGPLv2+
 URL: https://fedorahosted.org/libuser/
@@ -70,7 +70,9 @@ python -c "import libuser"
 %postun -p /sbin/ldconfig
 
 %files -f %{name}.lang
-%doc AUTHORS COPYING NEWS README TODO docs/*.txt
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc AUTHORS NEWS README TODO docs/*.txt
 %config(noreplace) %{_sysconfdir}/libuser.conf
 
 %attr(0755,root,root) %{_bindir}/*
@@ -96,6 +98,9 @@ python -c "import libuser"
 %{_datadir}/gtk-doc/html/*
 
 %changelog
+* Fri Jul 18 2014 Tom Callaway <spot at fedoraproject.org> - 0.60-5
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.60-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list