Subpackage python2-pretend has been removed
This commit is contained in:
parent
6ae69b9dea
commit
d0f153e9b8
@ -1,14 +1,8 @@
|
|||||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
||||||
%bcond_without python3
|
|
||||||
%else
|
|
||||||
%bcond_with python3
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%global srcname pretend
|
%global srcname pretend
|
||||||
|
|
||||||
Name: python-pretend
|
Name: python-pretend
|
||||||
Version: 1.0.8
|
Version: 1.0.8
|
||||||
Release: 18%{?dist}
|
Release: 19%{?dist}
|
||||||
Summary: A library for stubbing in Python
|
Summary: A library for stubbing in Python
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -17,29 +11,14 @@ Source0: https://pypi.python.org/packages/source/p/%{srcname}/%{srcname}-
|
|||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python2-devel
|
|
||||||
BuildRequires: python2-setuptools
|
|
||||||
%if %{with python3}
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Pretend is a library to make stubbing with Python easier.
|
Pretend is a library to make stubbing with Python easier.
|
||||||
|
|
||||||
|
|
||||||
%package -n python2-pretend
|
|
||||||
Summary: A library for stubbing in Python
|
|
||||||
License: BSD
|
|
||||||
%{?python_provide:%python_provide python2-%{srcname}}
|
|
||||||
|
|
||||||
|
|
||||||
%description -n python2-pretend
|
|
||||||
Pretend is a library to make stubbing with Python easier.
|
|
||||||
|
|
||||||
|
|
||||||
%if %{with python3}
|
|
||||||
%package -n python3-pretend
|
%package -n python3-pretend
|
||||||
Summary: A library for stubbing in Python
|
Summary: A library for stubbing in Python
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -48,7 +27,6 @@ License: BSD
|
|||||||
|
|
||||||
%description -n python3-pretend
|
%description -n python3-pretend
|
||||||
Pretend is a library to make stubbing with Python easier.
|
Pretend is a library to make stubbing with Python easier.
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -56,38 +34,26 @@ Pretend is a library to make stubbing with Python easier.
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
|
|
||||||
%if %{with python3}
|
|
||||||
%py3_build
|
%py3_build
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
|
|
||||||
%if %{with python3}
|
|
||||||
%py3_install
|
%py3_install
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files -n python2-pretend
|
|
||||||
%doc PKG-INFO README.rst
|
|
||||||
%license LICENSE.rst
|
|
||||||
%{python2_sitelib}/pretend.py*
|
|
||||||
%{python2_sitelib}/pretend-%{version}-py2.?.egg-info
|
|
||||||
|
|
||||||
%if %{with python3}
|
|
||||||
%files -n python3-pretend
|
%files -n python3-pretend
|
||||||
%doc PKG-INFO README.rst
|
%doc PKG-INFO README.rst
|
||||||
%license LICENSE.rst
|
%license LICENSE.rst
|
||||||
%{python3_sitelib}/pretend.py
|
%{python3_sitelib}/pretend.py
|
||||||
%{python3_sitelib}/__pycache__/pretend.cpython-3?*
|
%{python3_sitelib}/__pycache__/pretend.cpython-3?*
|
||||||
%{python3_sitelib}/pretend-%{version}-py3.?.egg-info
|
%{python3_sitelib}/pretend-%{version}-py3.?.egg-info
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.8-19
|
||||||
|
- Subpackage python2-pretend has been removed
|
||||||
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||||
|
|
||||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.8-18
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.8-18
|
||||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user