[libmnl] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 18 19:01:23 UTC 2014


commit 71c75a69a5cb77dc83231281dc7e228f3ffe26d5
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 18 15:01:47 2014 -0400

    fix license handling

 libmnl.spec |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/libmnl.spec b/libmnl.spec
index 8ad470e..59024ec 100644
--- a/libmnl.spec
+++ b/libmnl.spec
@@ -1,6 +1,6 @@
 Name:           libmnl
 Version:        1.0.3
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        A minimalistic Netlink library
 
 Group:          System Environment/Libraries
@@ -57,11 +57,14 @@ mv examples examples-%{_arch}
 
 
 %files
-%doc COPYING README
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc README
 %{_libdir}/*.so.*
 
 %files devel
-%doc COPYING
+%{!?_licensedir:%global license %%doc}
+%license COPYING
 %doc examples-%{_arch}
 %{_includedir}/*
 %{_libdir}/pkgconfig/*.pc
@@ -71,6 +74,9 @@ mv examples examples-%{_arch}
 %{_libdir}/*.a
 
 %changelog
+* Fri Jul 18 2014 Tom Callaway <spot at fedoraproject.org> - 1.0.3-8
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.3-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list