From e6699ea3e8cbe5165bd3da89818ae5fa94cff23c Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Sat, 12 Jul 2014 18:15:13 -0400 Subject: [PATCH] fix license handling --- iproute.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/iproute.spec b/iproute.spec index a4b6e86..5ea86ed 100644 --- a/iproute.spec +++ b/iproute.spec @@ -2,7 +2,7 @@ Summary: Advanced IP routing and network device configuration tools Name: iproute Version: 3.15.0 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System URL: http://kernel.org/pub/linux/utils/net/%{name}2/ Source0: http://kernel.org/pub/linux/utils/net/%{name}2/%{name}2-%{version}.tar.gz @@ -148,7 +148,8 @@ done %files %dir %{_sysconfdir}/iproute2 -%doc COPYING +%{!?_licensedir:%global license %%doc} +%license COPYING %doc README README.decnet README.iproute2+tc README.distribution README.lnstat %{_mandir}/man7/* %{_mandir}/man8/* @@ -160,17 +161,22 @@ done %config(noreplace) %{_sysconfdir}/sysconfig/cbq/* %files doc -%doc COPYING +%{!?_licensedir:%global license %%doc} +%license COPYING %doc doc/*.ps %doc examples %files devel -%doc COPYING +%{!?_licensedir:%global license %%doc} +%license COPYING %{_mandir}/man3/* %{_libdir}/libnetlink.a %{_includedir}/libnetlink.h %changelog +* Sat Jul 12 2014 Tom Callaway - 3.15.0-2 +- fix license handling + * Thu Jun 12 2014 Petr Ĺ abata - 3.15.0-1 - 3.15.0 bump