[libedit] fix license handling

Tom Callaway spot at fedoraproject.org
Thu Jul 17 18:32:31 UTC 2014


commit 92f536e4b996e07092972f27d2aa79ea88302273
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Thu Jul 17 14:32:50 2014 -0400

    fix license handling

 libedit.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/libedit.spec b/libedit.spec
index 6e6cfbb..65ca03f 100644
--- a/libedit.spec
+++ b/libedit.spec
@@ -3,7 +3,7 @@
 Summary:	The NetBSD Editline library
 Name:		libedit
 Version:	3.1
-Release:	6.%{snap}cvs%{?dist}
+Release:	7.%{snap}cvs%{?dist}
 License:	BSD
 Group:		System Environment/Libraries
 URL:		http://www.thrysoee.dk/editline/
@@ -51,7 +51,9 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -delete
 %postun -p /sbin/ldconfig
 
 %files
-%doc ChangeLog COPYING THANKS
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc ChangeLog THANKS
 %{_libdir}/%{name}.so.*
 
 %files devel
@@ -66,6 +68,9 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -delete
 %{_includedir}/editline/readline.h
 
 %changelog
+* Thu Jul 17 2014 Tom Callaway <spot at fedoraproject.org> - 3.1-7.20140213cvs
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.1-6.20140213cvs
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list