[readline] fix license handling
Tom Callaway
spot at fedoraproject.org
Mon Aug 4 04:34:42 UTC 2014
commit 7a3f27c9ab5fb085f3393bc37671aaf859d87f2a
Author: Tom Callaway <spot at fedoraproject.org>
Date: Mon Aug 4 00:34:36 2014 -0400
fix license handling
readline.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/readline.spec b/readline.spec
index 9fcd7e3..13f979a 100644
--- a/readline.spec
+++ b/readline.spec
@@ -1,7 +1,7 @@
Summary: A library for editing typed command lines
Name: readline
Version: 6.3
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv3+
Group: System Environment/Libraries
URL: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
@@ -108,7 +108,9 @@ fi
%files
%defattr(-,root,root,-)
-%doc CHANGES COPYING NEWS README USAGE
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc CHANGES NEWS README USAGE
/%{_lib}/libreadline*.so.*
%{_libdir}/libhistory*.so.*
%{_infodir}/history.info*
@@ -127,6 +129,9 @@ fi
%{_libdir}/lib*.a
%changelog
+* Mon Aug 4 2014 Tom Callaway <spot at fedoraproject.org> - 6.3-4
+- fix license handling
+
* Tue Jul 22 2014 jchaloup <jchaloup at redhat.com> - 6.3-3
- related: #1071336
new rebase for readline 6.3
More information about the scm-commits
mailing list