From 71c75a69a5cb77dc83231281dc7e228f3ffe26d5 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 18 Jul 2014 15:01:47 -0400 Subject: [PATCH] fix license handling --- libmnl.spec | 12 +++++++++--- 1 file 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 - 1.0.3-8 +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 1.0.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild