Subpackage python2-blinker has been removed
This commit is contained in:
parent
4538c61105
commit
a3ac94e468
@ -1,9 +1,8 @@
|
|||||||
%global mod_name blinker
|
%global mod_name blinker
|
||||||
%global with_python3 1
|
|
||||||
|
|
||||||
Name: python-blinker
|
Name: python-blinker
|
||||||
Version: 1.4
|
Version: 1.4
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Fast, simple object-to-object and broadcast signaling
|
Summary: Fast, simple object-to-object and broadcast signaling
|
||||||
|
|
||||||
License: MIT
|
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
|
Source0: http://pypi.python.org/packages/source/b/%{mod_name}/%{mod_name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel
|
|
||||||
BuildRequires: python2-setuptools
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
%endif
|
|
||||||
|
|
||||||
%global _description\
|
%global _description\
|
||||||
Blinker provides a fast dispatching system that allows any number\
|
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
|
%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
|
%package -n python3-blinker
|
||||||
Summary: Fast, simple object-to-object and broadcast signaling
|
Summary: Fast, simple object-to-object and broadcast signaling
|
||||||
|
%{?python_provide:%python_provide python3-blinker}
|
||||||
|
|
||||||
%description -n python3-blinker
|
%description -n python3-blinker
|
||||||
Blinker provides a fast dispatching system that allows any number
|
Blinker provides a fast dispatching system that allows any number
|
||||||
of interested parties to subscribe to events, or "signals".
|
of interested parties to subscribe to events, or "signals".
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{mod_name}-%{version}
|
%setup -q -n %{mod_name}-%{version}
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
rm -rf %{py3dir}
|
|
||||||
cp -a . %{py3dir}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python2} setup.py build
|
%py3_build
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
pushd %{py3dir}
|
|
||||||
%{__python3} setup.py build
|
|
||||||
popd
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%py3_install
|
||||||
|
|
||||||
%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
|
|
||||||
|
|
||||||
|
|
||||||
%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
|
%files -n python3-blinker
|
||||||
%doc docs/ CHANGES LICENSE README.md PKG-INFO
|
%doc docs/ CHANGES LICENSE README.md PKG-INFO
|
||||||
%{python3_sitelib}/*.egg-info
|
%{python3_sitelib}/*.egg-info
|
||||||
%{python3_sitelib}/%{mod_name}
|
%{python3_sitelib}/%{mod_name}
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 30 2019 Miro Hrončok <mhroncok@redhat.com> - 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 <mhroncok@redhat.com> - 1.4-6
|
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1.4-6
|
||||||
- Rebuilt for Python 3.8
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user