aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
authorTom Callaway <spot@fedoraproject.org>2014-07-12 18:11:34 -0400
committerLukas Nykryn <lnykryn@redhat.com>2014-07-22 13:39:36 +0200
commit92b15bea2265a6c4e27482aee43c3426963aa0d4 (patch)
tree584559ef7f846bb943b71b9c85235e6fe253b262 /initscripts.spec
parent16a4e5460acce27012e49b4a9f33a278517c6cab (diff)
downloadinitscripts-92b15bea2265a6c4e27482aee43c3426963aa0d4.tar
initscripts-92b15bea2265a6c4e27482aee43c3426963aa0d4.tar.gz
initscripts-92b15bea2265a6c4e27482aee43c3426963aa0d4.tar.bz2
initscripts-92b15bea2265a6c4e27482aee43c3426963aa0d4.tar.xz
initscripts-92b15bea2265a6c4e27482aee43c3426963aa0d4.zip
fix license handling
Diffstat (limited to 'initscripts.spec')
-rw-r--r--initscripts.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec
index a0d2fad4..e4675cc1 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -189,7 +189,9 @@ rm -rf $RPM_BUILD_ROOT
%dir /etc/NetworkManager
%dir /etc/NetworkManager/dispatcher.d
/etc/NetworkManager/dispatcher.d/00-netreport
-%doc sysconfig.txt sysvinitfiles static-routes-ipv6 ipv6-tunnel.howto ipv6-6to4.howto changes.ipv6 COPYING
+%doc sysconfig.txt sysvinitfiles static-routes-ipv6 ipv6-tunnel.howto ipv6-6to4.howto changes.ipv6
+%{!?_licensedir:%global license %%doc}
+%license COPYING
/var/lib/stateless
%ghost %attr(0600,root,utmp) /var/log/btmp
%ghost %attr(0664,root,utmp) /var/log/wtmp