From 04cf07b39cde299ae884b32c1e02a62c4883ef88 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 18 Jul 2014 18:46:25 -0400 Subject: [PATCH] fix license handling --- net-tools.spec | 8 ++++++-- 1 file 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 - 2.0-0.26.20140707git +- fix license handling + * Mon Jul 07 2014 Jiri Popelka - 2.0-0.25.20140707git - latest upstream snapshot