mlichvar pushed to chrony (f20). "use license macro if available"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Apr 8 07:24:28 UTC 2015
>From c861b567a4d4d802cda6ad3720a381ec14a2d7ce Mon Sep 17 00:00:00 2001
From: Miroslav Lichvar <mlichvar at redhat.com>
Date: Thu, 21 Aug 2014 11:24:20 +0200
Subject: use license macro if available
diff --git a/chrony.spec b/chrony.spec
index 4371026..753ea18 100644
--- a/chrony.spec
+++ b/chrony.spec
@@ -118,7 +118,9 @@ fi
%systemd_postun_with_restart chronyd.service
%files
-%doc COPYING FAQ NEWS README chrony.txt examples/*
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc FAQ NEWS README chrony.txt examples/*
%config(noreplace) %{_sysconfdir}/chrony.conf
%config(noreplace) %verify(not md5 size mtime) %attr(640,root,chrony) %{_sysconfdir}/chrony.keys
%config(noreplace) %{_sysconfdir}/logrotate.d/chrony
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/chrony.git/commit/?h=f20&id=c861b567a4d4d802cda6ad3720a381ec14a2d7ce
More information about the scm-commits
mailing list