From d9665f2d1de3c4f908e4d1acb33a3d02dd30990b Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Sat, 12 Jul 2014 18:17:52 -0400 Subject: [PATCH] fix license handling --- iptables.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/iptables.spec b/iptables.spec index a28320a..24987e3 100644 --- a/iptables.spec +++ b/iptables.spec @@ -7,7 +7,7 @@ Name: iptables Summary: Tools for managing Linux kernel packet filtering capabilities Version: 1.4.21 -Release: 9%{?dist} +Release: 10%{?dist} Source: http://www.netfilter.org/projects/iptables/files/%{name}-%{version}.tar.bz2 Source1: iptables.init Source2: iptables-config @@ -165,7 +165,9 @@ done %systemd_postun_with_restart iptables.service ip6tables.service %files -%doc COPYING INCOMPATIBILITIES +%{!?_licensedir:%global license %%doc} +%license COPYING +%doc INCOMPATIBILITIES %config(noreplace) %{_sysconfdir}/sysconfig/iptables-config %config(noreplace) %{_sysconfdir}/sysconfig/ip6tables-config %{_sbindir}/iptables* @@ -219,6 +221,9 @@ done %changelog +* Sat Jul 12 2014 Tom Callaway - 1.4.21-10 +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 1.4.21-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild