From a3ac94e468cd73dd8e21ac949f583137917cd858 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Aug 30 2019 09:35:42 +0000 Subject: Subpackage python2-blinker has been removed --- diff --git a/python-blinker.spec b/python-blinker.spec index 1e8e63b..89350b3 100644 --- a/python-blinker.spec +++ b/python-blinker.spec @@ -1,9 +1,8 @@ %global mod_name blinker -%global with_python3 1 Name: python-blinker Version: 1.4 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Fast, simple object-to-object and broadcast signaling License: MIT @@ -11,12 +10,8 @@ URL: https://pythonhosted.org/blinker/ Source0: http://pypi.python.org/packages/source/b/%{mod_name}/%{mod_name}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python2-setuptools -%if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools -%endif %global _description\ Blinker provides a fast dispatching system that allows any number\ @@ -24,64 +19,36 @@ of interested parties to subscribe to events, or "signals". %description %_description -%package -n python2-blinker -Summary: %summary -%{?python_provide:%python_provide python2-blinker} - -%description -n python2-blinker %_description - -%if 0%{?with_python3} %package -n python3-blinker Summary: Fast, simple object-to-object and broadcast signaling +%{?python_provide:%python_provide python3-blinker} %description -n python3-blinker Blinker provides a fast dispatching system that allows any number of interested parties to subscribe to events, or "signals". -%endif %prep %setup -q -n %{mod_name}-%{version} -%if 0%{?with_python3} -rm -rf %{py3dir} -cp -a . %{py3dir} -%endif %build -%{__python2} setup.py build - -%if 0%{?with_python3} -pushd %{py3dir} -%{__python3} setup.py build -popd -%endif +%py3_build %install -rm -rf $RPM_BUILD_ROOT - -%if 0%{?with_python3} -pushd %{py3dir} -%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT -popd -%endif - -%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT +%py3_install -%files -n python2-blinker -%doc docs/ CHANGES LICENSE README.md PKG-INFO -%{python2_sitelib}/*.egg-info -%{python2_sitelib}/%{mod_name} - -%if 0%{?with_python3} %files -n python3-blinker %doc docs/ CHANGES LICENSE README.md PKG-INFO %{python3_sitelib}/*.egg-info %{python3_sitelib}/%{mod_name} -%endif %changelog +* Fri Aug 30 2019 Miro Hrončok - 1.4-7 +- Subpackage python2-blinker has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Thu Aug 15 2019 Miro Hrončok - 1.4-6 - Rebuilt for Python 3.8