diff --git python-xvfbwrapper/python-xvfbwrapper.spec python-xvfbwrapper/python-xvfbwrapper.spec.tmp index 7d57f3b213..1a452b8238 100644 --- python-xvfbwrapper/python-xvfbwrapper.spec +++ python-xvfbwrapper/python-xvfbwrapper.spec.tmp @@ -6,7 +6,7 @@ Name: python-%{pypi_name} Version: 0.2.4 -Release: 7%{?dist} +Release: 8%{?dist} Summary: run headless display inside X virtual framebuffer (Xvfb) License: MIT @@ -20,10 +20,6 @@ BuildRequires: python2-devel BuildRequires: python-nose BuildRequires: xorg-x11-server-Xvfb -Requires: xorg-x11-server-Xvfb - -Provides: python2-%{pypi_name} = %{version}-%{release} - %if 0%{?with_python3} %package -n python3-%{pypi_name} Summary: run headless display inside X virtual framebuffer (Xvfb) @@ -35,9 +31,18 @@ BuildRequires: python3-nose Python wrapper for running a display inside X virtual framebuffer (Xvfb) %endif -%description +%global _description\ Python wrapper for running a display inside X virtual framebuffer (Xvfb) +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary +Requires: xorg-x11-server-Xvfb +%{?python_provide:%python_provide python2-%{pypi_name}} + +%description -n python2-%{pypi_name} %_description + %prep %setup -qc mv %{pypi_name}-%{version} python2 @@ -87,7 +92,7 @@ nosetests-%{python_version} nosetests-%{python3_version} %endif -%files +%files -n python2-%{pypi_name} %doc README.rst %license @@ -103,6 +108,10 @@ nosetests-%{python3_version} %endif # with_python3 %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.2.4-8 +- Python 2 binary package renamed to python2-xvfbwrapper + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.2.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild