[python-cheetah] fix license handling
Tom Callaway
spot at fedoraproject.org
Thu Jul 31 14:16:03 UTC 2014
commit bdf4e61a9a98180b32d7e17b9a52ad06c54d9944
Author: Tom Callaway <spot at fedoraproject.org>
Date: Thu Jul 31 10:15:57 2014 -0400
fix license handling
python-cheetah.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/python-cheetah.spec b/python-cheetah.spec
index f04a01a..459b3af 100644
--- a/python-cheetah.spec
+++ b/python-cheetah.spec
@@ -1,6 +1,6 @@
Name: python-cheetah
Version: 2.4.4
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Template engine and code generator
Group: Development/Libraries
@@ -51,7 +51,9 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
-%doc CHANGES LICENSE README.markdown TODO
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
+%doc CHANGES README.markdown TODO
%{_bindir}/cheetah
%{_bindir}/cheetah-analyze
@@ -83,6 +85,9 @@ rm -rf %{buildroot}
%{python_sitearch}/Cheetah-%{version}-*.egg-info/*.txt
%changelog
+* Thu Jul 31 2014 Tom Callaway <spot at fedoraproject.org> - 2.4.4-9
+- fix license handling
+
* Mon Jul 21 2014 Toshio Kuratomi <toshio at fedoraproject.org> - 2.4.4-8
- Since we're leaving out the dep on markdown in the rpm requirements we need
to leave it out of egginfo as well otherwise pkg_resources using code breaks
More information about the scm-commits
mailing list