From da259bbf42aabaeeff5c72945f47c86de0b593a1 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Oct 12 2018 15:14:23 +0000 Subject: Python2 binary package has been removed --- diff --git a/python-twiggy.spec b/python-twiggy.spec index b41a948..443bb76 100644 --- a/python-twiggy.spec +++ b/python-twiggy.spec @@ -1,13 +1,8 @@ -%if 0%{?fedora} -%global with_python3 1 -%endif %{!?_licensedir: %global license %%doc} %if 0%{?rhel} && 0%{?rhel} <= 6 %{!?__python2: %global __python2 /usr/bin/python2} -%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %endif %global modname twiggy @@ -15,7 +10,7 @@ Name: python-twiggy Version: 0.4.7 -Release: 13%{?dist} +Release: 14%{?dist} Summary: A Pythonic logger Group: Development/Libraries @@ -25,15 +20,11 @@ Source0: http://pypi.python.org/packages/source/T/%{distname}/%{distn BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-sphinx +BuildRequires: python3-sphinx -%if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-sphinx -%endif %description Twiggy is a Pythonic logger. @@ -42,18 +33,6 @@ You should use Twiggy because it is awesome. For more information, read the `documentation `_ or `see this blog post `_. -%package -n python2-%{modname} -Summary: A Pythonic logger -%{?python_provide:%python_provide python2-%{modname}} - -%description -n python2-%{modname} -Twiggy is a Pythonic logger. - -You should use Twiggy because it is awesome. For more information, read the -`documentation `_ or `see this blog post -`_. - -%if 0%{?with_python3} %package -n python3-%{modname} Summary: A Pythonic logger %{?python_provide:%python_provide python3-%{modname}} @@ -64,7 +43,6 @@ Twiggy is a Pythonic logger. You should use Twiggy because it is awesome. For more information, read the `documentation `_ or `see this blog post `_. -%endif %prep %autosetup -n %{distname}-%{version} @@ -73,36 +51,26 @@ You should use Twiggy because it is awesome. For more information, read the rm -rf %{distname}.egg-info %build -%py2_build -%if 0%{?with_python3} %py3_build -%endif %install -%py2_install -%if 0%{?with_python3} %py3_install -%endif # There are errors in the test suite. #%%check #./scripts/run-twiggy-tests.sh -%files -n python2-%{modname} -%doc README.rst -%license LICENSE -%{python2_sitelib}/%{modname}/ -%{python2_sitelib}/%{distname}-%{version}* - -%if 0%{?with_python3} %files -n python3-%{modname} %doc README.rst %license LICENSE %{python3_sitelib}/%{modname}/ %{python3_sitelib}/%{distname}-%{version}-* -%endif %changelog +* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek - 0.4.7-14 +- Python2 binary package has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Jul 14 2018 Fedora Release Engineering - 0.4.7-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild