[libffi] fix license handling

Tom Callaway spot at fedoraproject.org
Thu Jul 17 18:36:06 UTC 2014


commit ebed642ed29b6277beeae9956c7c1346a8f4c28f
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Thu Jul 17 14:36:27 2014 -0400

    fix license handling

 libffi.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/libffi.spec b/libffi.spec
index fa91abe..42bf303 100644
--- a/libffi.spec
+++ b/libffi.spec
@@ -2,7 +2,7 @@
 
 Name:		libffi
 Version:	3.1
-Release:	4%{?dist}
+Release:	5%{?dist}
 Summary:	A portable foreign function interface library
 
 Group:		System Environment/Libraries
@@ -107,7 +107,9 @@ fi
 
 
 %files
-%doc LICENSE README
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
+%doc README
 %{_libdir}/*.so.*
 
 %files devel
@@ -118,6 +120,9 @@ fi
 %{_infodir}/libffi.info.gz
 
 %changelog
+* Thu Jul 17 2014 Tom Callaway <spot at fedoraproject.org> - 3.1-5
+- fix license handling
+
 * Sun Jun 29 2014 Anthony Green <green at redhat.com> - 3.1-4
 - fix exec stack problem on 32-bit build
 


More information about the scm-commits mailing list