Subpackage python2-httmock has been removed
This commit is contained in:
parent
185c161e38
commit
ba5b941d38
1 changed files with 5 additions and 26 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.2.6
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: A mocking library for requests
|
||||
|
||||
License: ASL 2.0
|
||||
|
|
@ -12,10 +12,6 @@ Source0: https://files.pythonhosted.org/packages/source/h/httmock/httmock
|
|||
Source1: https://raw.githubusercontent.com/patrys/httmock/%{version}/tests.py
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2dist(requests) >= 1.0.0
|
||||
BuildRequires: python2dist(setuptools)
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3dist(requests) >= 1.0.0
|
||||
BuildRequires: python3dist(setuptools)
|
||||
|
|
@ -25,16 +21,6 @@ A mocking library for requests for Python.
|
|||
You can use it to mock third-party APIs and test libraries
|
||||
that use requests internally.
|
||||
|
||||
%package -n python2-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python2-%{pypi_name}}
|
||||
|
||||
Requires: python2dist(requests) >= 1.0.0
|
||||
%description -n python2-%{pypi_name}
|
||||
A mocking library for requests for Python.
|
||||
You can use it to mock third-party APIs and test libraries
|
||||
that use requests internally.
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
|
@ -52,25 +38,14 @@ rm -rf %{pypi_name}.egg-info
|
|||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
# Must do the default python version install last because
|
||||
# the scripts in /usr/bin are overwritten with every setup.py install.
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
%{__python2} setup.py test
|
||||
%{__python3} setup.py test
|
||||
|
||||
%files -n python2-%{pypi_name}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python2_sitelib}/%{pypi_name}.py*
|
||||
%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
|
|
@ -79,6 +54,10 @@ cp %{SOURCE1} .
|
|||
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
||||
|
||||
%changelog
|
||||
* Fri Jan 04 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.6-4
|
||||
- Subpackage python2-httmock has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.6-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue