From 2ddd8f250f2b05bc7e78bba571cafa0f0cdc7844 Mon Sep 17 00:00:00 2001 From: Garrett Holmstrom Date: Mon, 2 Jun 2014 18:36:14 -0700 Subject: [PATCH] Use the %license rpm macro --- cloud-init.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cloud-init.spec b/cloud-init.spec index 10457c6..a1d4c70 100644 --- a/cloud-init.spec +++ b/cloud-init.spec @@ -1,4 +1,5 @@ %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?license: %global license %%doc} Name: cloud-init Version: 0.7.2 @@ -135,7 +136,8 @@ fi %files -%doc ChangeLog LICENSE TODO README.fedora +%license LICENSE +%doc ChangeLog TODO README.fedora %config(noreplace) %{_sysconfdir}/cloud/cloud.cfg %dir %{_sysconfdir}/cloud/cloud.cfg.d %config(noreplace) %{_sysconfdir}/cloud/cloud.cfg.d/*.cfg @@ -162,6 +164,7 @@ fi * Mon Jun 2 2014 Garrett Holmstrom - 0.7.2-9 - Write /etc/locale.conf instead of /etc/sysconfig/i18n [RH:1008250] - Add tmpfiles.d configuration for /run/cloud-init [RH:1103761] +- Use the license rpm macro * Sat Jan 25 2014 Sam Kottler - 0.7.2-8 - Remove patch to the Puppet service unit nane [RH:1057860]