[net-tools/f21] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 18 22:46:00 UTC 2014


commit 04cf07b39cde299ae884b32c1e02a62c4883ef88
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 18 18:46:25 2014 -0400

    fix license handling

 net-tools.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/net-tools.spec b/net-tools.spec
index f26f09c..934986b 100644
--- a/net-tools.spec
+++ b/net-tools.spec
@@ -3,7 +3,7 @@
 Summary: Basic networking tools
 Name: net-tools
 Version: 2.0
-Release: 0.25.%{checkout}%{?dist}
+Release: 0.26.%{checkout}%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 URL: http://sourceforge.net/projects/net-tools/
@@ -149,7 +149,8 @@ install -m 644 %{SOURCE9} %{buildroot}%{_unitdir}
 %systemd_post arp-ethers.service
 
 %files -f %{name}.lang
-%doc COPYING
+%{!?_licensedir:%global license %%doc}
+%license COPYING
 %{_bindir}/netstat
 %{_sbindir}/ifconfig
 %{_sbindir}/route
@@ -166,6 +167,9 @@ install -m 644 %{SOURCE9} %{buildroot}%{_unitdir}
 %attr(0644,root,root)   %{_unitdir}/arp-ethers.service
 
 %changelog
+* Fri Jul 18 2014 Tom Callaway <spot at fedoraproject.org> - 2.0-0.26.20140707git
+- fix license handling
+
 * Mon Jul 07 2014 Jiri Popelka <jpopelka at redhat.com> - 2.0-0.25.20140707git
 - latest upstream snapshot
 


More information about the scm-commits mailing list