From a3958cfc2952ef2e5ee142413f8a3b4338f0d6f5 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Jul 31 2014 15:17:56 +0000 Subject: fix license handling --- diff --git a/python-jsonpointer.spec b/python-jsonpointer.spec index e61529a..b1d2655 100644 --- a/python-jsonpointer.spec +++ b/python-jsonpointer.spec @@ -9,7 +9,7 @@ Name: python-%{pypi_name} Version: 1.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Resolve JSON Pointers in Python License: BSD @@ -67,19 +67,26 @@ popd %{__python} tests.py %files -%doc README.md COPYING AUTHORS +%doc README.md AUTHORS +%{!?_licensedir:%global license %%doc} +%license COPYING %{python_sitelib}/%{pypi_name}.py* %{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %if 0%{?with_python3} %files -n python3-%{pypi_name} -%doc README.md COPYING AUTHORS +%doc README.md AUTHORS +%{!?_licensedir:%global license %%doc} +%license COPYING %{python3_sitelib}/__pycache__/* %{python3_sitelib}/%{pypi_name}.py* %{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %endif %changelog +* Thu Jul 31 2014 Tom Callaway - 1.0-6 +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild