diff --git python-unicodenazi/python-unicodenazi.spec python-unicodenazi/python-unicodenazi.spec.tmp index f8d1a02acf..7262317ed9 100644 --- python-unicodenazi/python-unicodenazi.spec +++ python-unicodenazi/python-unicodenazi.spec.tmp @@ -5,7 +5,7 @@ Name: python-%{modname} Version: 1.1 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Module that finds unicode/bytestring comparisons and other problems Group: Development/Languages @@ -20,18 +20,26 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python2-devel -%description -A common source of unicode issues in python2 is that code mixes str and unicode -and is valid for the cases the author tests for (because they only test with -ASCII) but then throws an error when the code is used with non-ASCII strings. - -If enabled unicodenazi will complain when this mixing of unicode and byte str -occurs. It's annoying as hell, has a huge runtime impact on performance, and -will also complain about most of the stuff in the Python standard library. But -it will point out some areas of your code that may traceback in python2 when -given different data and make it easier to migrate to python3 where unicode and +%global _description\ +A common source of unicode issues in python2 is that code mixes str and unicode\ +and is valid for the cases the author tests for (because they only test with\ +ASCII) but then throws an error when the code is used with non-ASCII strings.\ +\ +If enabled unicodenazi will complain when this mixing of unicode and byte str\ +occurs. It's annoying as hell, has a huge runtime impact on performance, and\ +will also complain about most of the stuff in the Python standard library. But\ +it will point out some areas of your code that may traceback in python2 when\ +given different data and make it easier to migrate to python3 where unicode and\ bytes no longer interoperate. +%description %_description + +%package -n python2-%{modname} +Summary: %summary +%{?python_provide:%python_provide python2-%{modname}} + +%description -n python2-%{modname} %_description + %prep %setup -q -n %{srcname}-%{version} cp %{SOURCE1} . @@ -49,13 +57,17 @@ rm -rf %{buildroot} rm -rf %{buildroot} -%files +%files -n python2-%{modname} %defattr(-,root,root,-) %doc README LICENSE %{python_sitelib}/* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.1-12 +- Python 2 binary package renamed to python2-unicodenazi + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild