summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2015-08-17 10:14:05 -0400
committerMartin Basti <mbasti@redhat.com>2015-08-31 13:28:54 +0200
commit30cfae7823d1a77438bab94726139f9764456a88 (patch)
tree23d52bf520d3c4d97b0f9f534d8f481de623fc50
parentcea66362621f6ab6219a689c2da4025c37f496bb (diff)
downloadfreeipa-30cfae7823d1a77438bab94726139f9764456a88.zip
freeipa-30cfae7823d1a77438bab94726139f9764456a88.tar.gz
freeipa-30cfae7823d1a77438bab94726139f9764456a88.tar.xz
Use %license instead of %doc for packaging the license
https://fedorahosted.org/freeipa/ticket/5227 Reviewed-By: Martin Basti <mbasti@redhat.com>
-rw-r--r--freeipa.spec.in15
1 files changed, 10 insertions, 5 deletions
diff --git a/freeipa.spec.in b/freeipa.spec.in
index 683d7b3..2a4460d 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -694,7 +694,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
@@ -906,7 +907,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
@@ -928,14 +930,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
@@ -967,7 +971,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