[python-jinja2_pluralize] Use %license for the license file

David Shea dshea at fedoraproject.org
Wed Jan 28 21:34:53 UTC 2015


commit 4c83b460a93c5a9125e8add3e4b8b4a65377ca48
Author: David Shea <dshea at redhat.com>
Date:   Wed Jan 28 16:34:27 2015 -0500

    Use %license for the license file

 python-jinja2_pluralize.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/python-jinja2_pluralize.spec b/python-jinja2_pluralize.spec
index 3d8a332..6324097 100644
--- a/python-jinja2_pluralize.spec
+++ b/python-jinja2_pluralize.spec
@@ -1,6 +1,6 @@
 Name:           python-jinja2_pluralize
 Version:        0.2.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Jinja2 pluralize filters
 
 License:        BSD
@@ -57,16 +57,21 @@ cp -a . %{py3dir}
 ( cd %{py3dir} && %{__python3} setup.py check )
 
 %files
-%doc AUTHORS.rst CONTRIBUTING.rst HISTORY.rst LICENSE README.rst
+%license LICENSE
+%doc AUTHORS.rst CONTRIBUTING.rst HISTORY.rst README.rst
 %{python2_sitelib}/jinja2_pluralize
 %{python2_sitelib}/jinja2_pluralize-%{version}-*.egg-info
 
 %files -n python3-jinja2_pluralize
-%doc AUTHORS.rst CONTRIBUTING.rst HISTORY.rst LICENSE README.rst
+%license LICENSE
+%doc AUTHORS.rst CONTRIBUTING.rst HISTORY.rst README.rst
 %{python3_sitelib}/jinja2_pluralize
 %{python3_sitelib}/jinja2_pluralize-%{version}-*.egg-info
 
 %changelog
+* Wed Jan 28 2015 David Shea <dshea at redhat.com> - 0.2.1-2
+- Use %%license for the license file
+
 * Mon Jul 21 2014 David Shea <dshea at redhat.com> - 0.2.1-1
 - Update to upstream jinja2_pluralize, which integrates the shebang removal patch
 - Fix the requires for the python2 vs. python3 packages


More information about the scm-commits mailing list