use license macro if available

This commit is contained in:
Miroslav Lichvar 2014-08-21 11:24:20 +02:00
parent 2e198c60a8
commit c861b567a4

View File

@ -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