diff --git python-unicodecsv/python-unicodecsv.spec python-unicodecsv/python-unicodecsv.spec.tmp index 64ab055dd0..a37150a30c 100644 --- python-unicodecsv/python-unicodecsv.spec +++ python-unicodecsv/python-unicodecsv.spec.tmp @@ -8,7 +8,7 @@ Name: python-%{pypi_name} Version: 0.14.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Drop-in replacement for Python 2.7's csv module which supports unicode strings License: BSD URL: https://github.com/jdunck/python-unicodecsv @@ -19,14 +19,20 @@ BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-unittest2 >= 0.5.1 -Provides: python2-%{pypi_name} = %{version}-%{release} - -%description -The unicodecsv is a drop-in replacement for Python 2.7's -csv module which supports unicode strings without a hassle. -It is NOT a drop-in replacement for Python 3's csv module, +%global _description\ +The unicodecsv is a drop-in replacement for Python 2.7's\ +csv module which supports unicode strings without a hassle.\ +It is NOT a drop-in replacement for Python 3's csv module,\ see https://github.com/jdunck/python-unicodecsv/issues/65 +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary +%{?python_provide:%python_provide python2-%{pypi_name}} + +%description -n python2-%{pypi_name} %_description + %if 0%{?with_python3} %package -n python3-%{pypi_name} Summary: Drop-in replacement for Python 2.7's csv module which supports unicode strings @@ -91,7 +97,7 @@ popd %endif -%files +%files -n python2-%{pypi_name} %doc README.rst %{python2_sitelib}/%{pypi_name} %{python2_sitelib}/%{pypi_name}-*.egg-info @@ -104,6 +110,10 @@ popd %endif %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.14.1-9 +- Python 2 binary package renamed to python2-unicodecsv + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.14.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild