diff --git python-moksha-common/python-moksha-common.spec python-moksha-common/python-moksha-common.spec.tmp index d9b5ea4855..ad3168069e 100644 --- python-moksha-common/python-moksha-common.spec +++ python-moksha-common/python-moksha-common.spec.tmp @@ -6,7 +6,7 @@ Name: python-moksha-common Version: 1.2.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Common components for Moksha Group: Development/Libraries @@ -42,17 +42,24 @@ BuildRequires: python3-pytz BuildRequires: python3-six %endif -Requires: python-decorator -Requires: python-kitchen -Requires: pytz -Requires: python-six - # Its a whole different package now -Conflicts: moksha < 1.0.0 -%description +%global _description\ Common components for Moksha. +%description %_description + +%package -n python2-moksha-common +Summary: %summary +Conflicts: moksha < 1.0.0 +Requires: python-six +Requires: pytz +Requires: python-kitchen +Requires: python-decorator +%{?python_provide:%python_provide python2-moksha-common} + +%description -n python2-moksha-common %_description + %if 0%{?with_python3} %package -n python3-moksha-common Summary: Common components for Moksha @@ -110,7 +117,7 @@ popd %{__python2} setup.py test -%files +%files -n python2-moksha-common %doc README COPYING AUTHORS %{python_sitelib}/moksha/ %{python_sitelib}/%{modname}-%{version}* @@ -127,6 +134,10 @@ popd %endif %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1.2.5-4 +- Python 2 binary package renamed to python2-moksha-common + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.2.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild