[iptables/f21] fix license handling

Tom Callaway spot at fedoraproject.org
Sat Jul 12 22:17:32 UTC 2014


commit d9665f2d1de3c4f908e4d1acb33a3d02dd30990b
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Sat Jul 12 18:17:52 2014 -0400

    fix license handling

 iptables.spec |    9 +++++++--
 1 files 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 <spot at fedoraproject.org> - 1.4.21-10
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.21-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list