From 7ed51586ca8ccaafab6bb11bb5161dc25800fddf Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Mon, 17 Aug 2015 10:14:05 -0400 Subject: [PATCH] Use %license instead of %doc for packaging the license https://fedorahosted.org/freeipa/ticket/5227 Reviewed-By: Martin Basti --- freeipa.spec.in | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/freeipa.spec.in b/freeipa.spec.in index 4f902bbea..611ccea59 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -690,7 +690,8 @@ fi %if ! %{ONLY_CLIENT} %files server -f server-python.list %defattr(-,root,root,-) -%doc COPYING README Contributors.txt +%doc README Contributors.txt +%license COPYING %{_sbindir}/ipa-backup %{_sbindir}/ipa-restore %{_sbindir}/ipa-ca-install @@ -902,7 +903,8 @@ fi %files client %defattr(-,root,root,-) -%doc COPYING README Contributors.txt +%doc README Contributors.txt +%license COPYING %{_sbindir}/ipa-client-install %{_sbindir}/ipa-client-automount %{_sbindir}/ipa-certupdate @@ -924,14 +926,16 @@ fi %files admintools %defattr(-,root,root,-) -%doc COPYING README Contributors.txt +%doc README Contributors.txt +%license COPYING %{_bindir}/ipa %config %{_sysconfdir}/bash_completion.d %{_mandir}/man1/ipa.1.gz %files python -f %{gettext_domain}.lang %defattr(-,root,root,-) -%doc COPYING README Contributors.txt +%doc README Contributors.txt +%license COPYING %dir %{python_sitelib}/ipapython %{python_sitelib}/ipapython/*.py* %dir %{python_sitelib}/ipapython/dnssec @@ -963,7 +967,8 @@ fi %if ! %{ONLY_CLIENT} %files tests -f tests-python.list %defattr(-,root,root,-) -%doc COPYING README Contributors.txt +%doc README Contributors.txt +%license COPYING %dir %{python_sitelib}/ipatests %dir %{python_sitelib}/ipatests/test_cmdline %dir %{python_sitelib}/ipatests/test_install