[libutempter/f21] fix license handling

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


commit 997b1080869cc3630ac6a87d8d82fbf1bb2b2cc3
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 18 15:33:53 2014 -0400

    fix license handling

 libutempter.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/libutempter.spec b/libutempter.spec
index 28366c5..be7c258 100644
--- a/libutempter.spec
+++ b/libutempter.spec
@@ -3,7 +3,7 @@
 Summary: A privileged helper for utmp/wtmp updates
 Name: libutempter
 Version: 1.1.6
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 URL: ftp://ftp.altlinux.org/pub/people/ldv/utempter
@@ -62,7 +62,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
 %postun -p /sbin/ldconfig
 
 %files
-%doc COPYING README
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc README
 %{_libdir}/libutempter.so.0
 %{_libdir}/libutempter.so.1.*
 %dir %attr(755,root,utempter) %{_libexecdir}/utempter
@@ -77,6 +79,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
 %{_mandir}/man3/*
 
 %changelog
+* Fri Jul 18 2014 Tom Callaway <spot at fedoraproject.org> - 1.1.6-5
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.6-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list