diff --git a/python-kitchen.spec b/python-kitchen.spec index 12fe673..3564585 100644 --- a/python-kitchen.spec +++ b/python-kitchen.spec @@ -14,7 +14,7 @@ Name: python-kitchen Version: 1.2.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Small, useful pieces of code to make python coding easier Group: Development/Languages @@ -24,9 +24,9 @@ Source0: https://github.com/fedora-infra/kitchen/archive/v%{version}.tar. BuildArch: noarch BuildRequires: python2-devel -BuildRequires: python-nose +BuildRequires: python2-nose # For the subprocess test -BuildRequires: python-test +BuildRequires: python2-test # sphinx needs to be more recent to build the html docs %if 0%{?fedora} @@ -37,8 +37,8 @@ BuildRequires: python-sphinx %if 0%{?fedora} || 0%{?rhel} > 6 # At present, chardet isn't present in epel but it's a soft dep -BuildRequires: python-chardet -Requires: python-chardet +BuildRequires: python2-chardet +Requires: python2-chardet %endif %if 0%{?with_python3} @@ -61,7 +61,7 @@ python-2.7 modules but needs to run on python-2.3. Summary: API documentation for the Kitchen python2 module # Currently discussing guidelines about doc subpackages Requiring the main package: # https://lists.fedoraproject.org/pipermail/packaging/2013-June/009191.html -#Requires: %{name} = %{version}-%{release} +#Requires: python2-kitchen = %{version}-%{release} %description doc kitchen includes functions to make gettext easier to use, handling unicode text easier (conversion with bytes, outputting xml, and calculating how many @@ -101,7 +101,7 @@ This is the python3 version of the kitchen module. %package -n python%{python3_pkgversion}-kitchen-doc Summary: API documentation for the Kitchen python3 module -#Requires: %{name} = %{version}-%{release} +#Requires: python2-kitchen = %{version}-%{release} %description -n python%{python3_pkgversion}-kitchen-doc kitchen includes functions to make gettext easier to use, handling unicode text easier (conversion with bytes, outputting xml, and calculating how many @@ -204,6 +204,10 @@ popd %endif %changelog +* Wed Feb 21 2018 Iryna Shcherbina - 1.2.5-3 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + * Fri Feb 09 2018 Fedora Release Engineering - 1.2.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild