[heat-cfntools] fix license handling

Tom Callaway spot at fedoraproject.org
Sat Jul 12 22:01:55 UTC 2014


commit 65fe66f5d8466693e2ecee823231f1c53f758702
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Sat Jul 12 18:02:14 2014 -0400

    fix license handling

 heat-cfntools.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/heat-cfntools.spec b/heat-cfntools.spec
index ef95635..3fb7187 100644
--- a/heat-cfntools.spec
+++ b/heat-cfntools.spec
@@ -1,6 +1,6 @@
 Name: heat-cfntools
 Version: 1.2.7
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: Tools required to be installed on Heat provisioned cloud instances
 Group: System Environment/Base
 License: ASL 2.0
@@ -29,12 +29,17 @@ Tools required to be installed on Heat provisioned cloud instances
 mkdir -p %{buildroot}/%{_sharedstatedir}/%{name}
 
 %files
-%doc README.rst LICENSE CONTRIBUTING.rst AUTHORS ChangeLog
+%doc README.rst CONTRIBUTING.rst AUTHORS ChangeLog
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
 %{_bindir}/cfn-*
 %{python_sitelib}/heat_cfntools*
 %dir %{_sharedstatedir}/%{name}
 
 %changelog
+* Sat Jul 12 2014 Tom Callaway <spot at fedoraproject.org> 1.2.7-2
+- fix license handling
+
 * Tue Jun 24 2014 Jeff Peeler <jpeeler at redhat.com> 1.2.7
 - rebase to 1.2.7
 


More information about the scm-commits mailing list