From c861b567a4d4d802cda6ad3720a381ec14a2d7ce Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Aug 21 2014 09:31:06 +0000 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