diff --git python-chardet/python-chardet.spec python-chardet/python-chardet.spec.tmp index 98bed06114..e625394cd3 100644 --- python-chardet/python-chardet.spec +++ python-chardet/python-chardet.spec.tmp @@ -2,7 +2,7 @@ %global pypi_name chardet Name: python-%{pypi_name} Version: 3.0.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Character encoding auto-detection in Python Group: Development/Languages @@ -17,10 +17,18 @@ BuildRequires: python2-devel, python-setuptools BuildRequires: python3-devel, python3-setuptools %endif # with_python3 -%description -Character encoding auto-detection in Python. As +%global _description\ +Character encoding auto-detection in Python. As\ smart as your browser. Open source. +%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: Character encoding auto-detection in Python 3 @@ -62,7 +70,7 @@ popd %{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT -%files +%files -n python2-%{pypi_name} %{!?_licensedir:%global license %%doc} %license LICENSE %doc README.rst @@ -80,6 +88,10 @@ popd %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 3.0.4-3 +- Python 2 binary package renamed to python2-chardet + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 3.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild