From 6c13c844844e4133a8081c9307a51ce5ea26104e Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Sep 25 2019 15:37:39 +0000 Subject: Subpackage python2-tempita has been removed --- diff --git a/python-tempita.spec b/python-tempita.spec index e037a7c..a707b92 100644 --- a/python-tempita.spec +++ b/python-tempita.spec @@ -1,8 +1,7 @@ -%global with_python3 1 Name: python-tempita Version: 0.5.1 -Release: 24%{?dist} +Release: 25%{?dist} Summary: A very small text templating language License: MIT @@ -10,29 +9,18 @@ URL: http://pythonpaste.org/tempita/ Source0: http://pypi.python.org/packages/source/T/Tempita/Tempita-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-nose -%if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools -%endif # if with_python3 %global _description\ Tempita is a small templating language for text substitution. %description %_description -%package -n python2-tempita -Summary: %summary -%{?python_provide:%python_provide python2-tempita} - -%description -n python2-tempita %_description - -%if 0%{?with_python3} %package -n python3-tempita Summary: A very small text templating language +%{?python_provide:%python_provide python3-tempita} # Without one of these there's no aes implementation which means there's no way to # have encrypted cookies. This is a reduction in features over the python2 version. # Currently there's no working python3 port for either: @@ -46,52 +34,29 @@ Summary: A very small text templating language %description -n python3-tempita Tempita is a small templating language for text substitution. -%endif # with_python3 %prep %setup -q -n Tempita-%{version} -%if 0%{?with_python3} -rm -rf %{py3dir} -cp -a . %{py3dir} -%endif # with_python3 - %build -%py2_build +%py3_build -%if 0%{?with_python3} -pushd %{py3dir} -%{__python3} setup.py build -popd -%endif # with_python3 %install -%py2_install - -%if 0%{?with_python3} -pushd %{py3dir} -%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT -popd -%endif # with_python3 +%py3_install -%check -nosetests-2 - - -%files -n python2-tempita -%{python2_sitelib}/tempita/ -%{python2_sitelib}/*.egg-info - -%if 0%{?with_python3} %files -n python3-tempita %{python3_sitelib}/tempita/ -%{python3_sitelib}/*.egg-info -%endif +%{python3_sitelib}/*.egg-info/ %changelog +* Wed Sep 25 2019 Miro Hrončok - 0.5.1-25 +- Subpackage python2-tempita has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Fri Aug 16 2019 Miro Hrončok - 0.5.1-24 - Rebuilt for Python 3.8