[pth] fix license handling
Tom Callaway
spot at fedoraproject.org
Thu Jul 31 13:03:13 UTC 2014
commit 5d6ca212ea66769e4eec9ceafe500e1c0f729725
Author: Tom Callaway <spot at fedoraproject.org>
Date: Thu Jul 31 09:03:07 2014 -0400
fix license handling
pth.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/pth.spec b/pth.spec
index bc79d4d..ab55b14 100644
--- a/pth.spec
+++ b/pth.spec
@@ -1,7 +1,7 @@
Summary: The GNU Portable Threads library
Name: pth
Version: 2.0.7
-Release: 23%{?dist}
+Release: 24%{?dist}
License: LGPLv2+
URL: http://www.gnu.org/software/pth/
Source: ftp://ftp.gnu.org/gnu/pth/pth-%{version}.tar.gz
@@ -96,7 +96,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%files
-%doc ANNOUNCE AUTHORS COPYING ChangeLog HISTORY NEWS PORTING README
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc ANNOUNCE AUTHORS ChangeLog HISTORY NEWS PORTING README
%doc SUPPORT TESTS THANKS USERS
%{_libdir}/*.so.*
@@ -110,6 +112,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%changelog
+* Thu Jul 31 2014 Tom Callaway <spot at fedoraproject.org> - 2.0.7-24
+- fix license handling
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.7-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list