From db0f74caca26c5c714a75d7c2506edd32411da52 Mon Sep 17 00:00:00 2001 From: Kaleb S. KEITHLEY Date: Apr 14 2021 12:07:03 +0000 Subject: storage8s --- diff --git a/SPECS/python-tempita.spec b/SPECS/python-tempita.spec index 8b849ac..805f8b8 100644 --- a/SPECS/python-tempita.spec +++ b/SPECS/python-tempita.spec @@ -1,40 +1,27 @@ -%if 0%{?fedora} > 12 -%global with_python3 1 -%else -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%endif +%{?python_enable_dependency_generator} Name: python-tempita Version: 0.5.1 -Release: 6%{?dist} +Release: 25%{?dist} Summary: A very small text templating language -Group: Development/Languages License: MIT URL: http://pythonpaste.org/tempita/ Source0: http://pypi.python.org/packages/source/T/Tempita/Tempita-%{version}.tar.gz -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch -%if 0%{?fedora} < 13 -BuildRequires: python-setuptools-devel -%else -BuildRequires: python-setuptools -%endif -BuildRequires: python-nose - -%if 0%{?with_python3} + BuildRequires: python3-devel BuildRequires: python3-setuptools -%endif # if with_python3 -%description +%global _description\ Tempita is a small templating language for text substitution. -%if 0%{?with_python3} +%description %_description + %package -n python3-tempita Summary: A very small text templating language -Group: Development/Languages +%{?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: @@ -48,60 +35,87 @@ Group: Development/Languages %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 -%{__python} setup.py build +%py3_build -%if 0%{?with_python3} -pushd %{py3dir} -%{__python3} setup.py build -popd -%endif # with_python3 %install -%{__rm} -rf %{buildroot} -%{__python} setup.py install --skip-build --root %{buildroot} +%py3_install + + +%files -n python3-tempita +%{python3_sitelib}/tempita/ +%{python3_sitelib}/*.egg-info/ -%if 0%{?with_python3} -pushd %{py3dir} -%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT -popd -%endif # with_python3 +%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 -%clean -%{__rm} -rf %{buildroot} +* Fri Aug 16 2019 Miro Hrončok - 0.5.1-24 +- Rebuilt for Python 3.8 +* Fri Jul 26 2019 Fedora Release Engineering - 0.5.1-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild -%check -nosetests +* Sat Feb 02 2019 Fedora Release Engineering - 0.5.1-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild +* Sat Jul 14 2018 Fedora Release Engineering - 0.5.1-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild -%files -%defattr(-,root,root,-) -%{python_sitelib}/tempita/ -%{python_sitelib}/*.egg-info +* Sun Jun 17 2018 Miro Hrončok - 0.5.1-20 +- Rebuilt for Python 3.7 -%if 0%{?with_python3} -%files -n python3-tempita -%defattr(-,root,root,-) -%{python3_sitelib}/tempita/ -%{python3_sitelib}/*.egg-info -%endif +* Fri Feb 09 2018 Iryna Shcherbina - 0.5.1-19 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) -%changelog -* Fri Dec 27 2013 Daniel Mach - 0.5.1-6 -- Mass rebuild 2013-12-27 +* Fri Feb 09 2018 Fedora Release Engineering - 0.5.1-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.5.1-17 +- Python 2 binary package renamed to python2-tempita + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + +* Thu Jul 27 2017 Fedora Release Engineering - 0.5.1-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.5.1-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 0.5.1-14 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 0.5.1-13 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Feb 04 2016 Fedora Release Engineering - 0.5.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jan 28 2016 Dan Horák - 0.5.1-11 +- spec cleanup + +* Tue Nov 10 2015 Fedora Release Engineering - 0.5.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Thu Jun 18 2015 Fedora Release Engineering - 0.5.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.5.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 14 2014 Bohuslav Kabrda - 0.5.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 + +* Sun Aug 04 2013 Fedora Release Engineering - 0.5.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.5.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild