From 0fc36d3bc95d48b6e0dfec927cc3b5fd52b3abd2 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Sun, 3 Aug 2014 22:27:48 -0400 Subject: [PATCH] fix license handling --- python-six.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/python-six.spec b/python-six.spec index e81d10c..44da8c4 100644 --- a/python-six.spec +++ b/python-six.spec @@ -10,7 +10,7 @@ Name: python-six Version: 1.7.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python 2 and 3 compatibility utilities Group: Development/Languages @@ -83,17 +83,24 @@ popd %files -%doc LICENSE README documentation/index.rst +%{!?_licensedir:%global license %%doc} +%license LICENSE +%doc README documentation/index.rst %{python_sitelib}/* %if 0%{?with_python3} %files -n python3-six -%doc LICENSE README documentation/index.rst +%{!?_licensedir:%global license %%doc} +%license LICENSE +%doc README documentation/index.rst %{python3_sitelib}/* %endif %changelog +* Sun Aug 3 2014 Tom Callaway - 1.7.3-2 +- fix license handling + * Thu Jul 31 2014 Pádraig Brady - 1.7.3-1 - Latest upstream