diff --git python-mox/python-mox.spec python-mox/python-mox.spec.tmp index 9df39b45a2..f73555a522 100644 --- python-mox/python-mox.spec +++ python-mox/python-mox.spec.tmp @@ -4,7 +4,7 @@ Name: python-%{upstream_name} Version: 0.5.3 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Mock object framework Group: Development/Languages @@ -16,10 +16,18 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel -%description -Mox is a mock object framework for Python based on the Java mock object +%global _description\ +Mox is a mock object framework for Python based on the Java mock object\ framework EasyMock. +%description %_description + +%package -n python2-%{upstream_name} +Summary: %summary +%{?python_provide:%python_provide python2-%{upstream_name}} + +%description -n python2-%{upstream_name} %_description + %prep %setup -q -n %{upstream_name}-%{version} # Fix non-executable-script error @@ -39,7 +47,7 @@ rm -rf %{buildroot} %clean rm -rf %{buildroot} -%files +%files -n python2-%{upstream_name} %defattr(-,root,root,-) %doc COPYING README %{python_sitelib}/%{upstream_name}.py* @@ -47,6 +55,10 @@ rm -rf %{buildroot} %{python_sitelib}/%{upstream_name}-%{version}*.egg-info %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.5.3-14 +- Python 2 binary package renamed to python2-mox + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.5.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild