Subpackage python2-testpath has been removed
This commit is contained in:
parent
e00566db84
commit
db1045de63
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 0.3.1
|
Version: 0.3.1
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Test utilities for code working with files and commands
|
Summary: Test utilities for code working with files and commands
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -13,9 +13,6 @@ Source0: %url/archive/%{version}.tar.gz#/%{pypi_name}-%{version}.tar.gz
|
|||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python2-pip
|
|
||||||
BuildRequires: python2-devel
|
|
||||||
|
|
||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
|
||||||
@ -25,8 +22,6 @@ BuildRequires: python3-sphinx
|
|||||||
BuildRequires: python3-sphinx_rtd_theme
|
BuildRequires: python3-sphinx_rtd_theme
|
||||||
|
|
||||||
# Tests:
|
# Tests:
|
||||||
BuildRequires: python2-pytest
|
|
||||||
BuildRequires: python2-pathlib2
|
|
||||||
BuildRequires: python3-pathlib2
|
BuildRequires: python3-pathlib2
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
|
|
||||||
@ -39,15 +34,6 @@ mocking system commands and recording calls to those.
|
|||||||
|
|
||||||
%description %_description
|
%description %_description
|
||||||
|
|
||||||
%package -n python2-%{pypi_name}
|
|
||||||
Summary: %summary
|
|
||||||
%{?python_provide:%python_provide python2-%{pypi_name}}
|
|
||||||
|
|
||||||
%description -n python2-%{pypi_name}
|
|
||||||
|
|
||||||
%_description
|
|
||||||
|
|
||||||
|
|
||||||
%package -n python3-%{pypi_name}
|
%package -n python3-%{pypi_name}
|
||||||
Summary: %summary
|
Summary: %summary
|
||||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||||
@ -83,22 +69,14 @@ rm -rf html/.{doctrees,buildinfo}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
# We install the wheel created at %%build
|
# We install the wheel created at %%build
|
||||||
%py2_install_wheel %{pypi_name}-%{version}-py2.py3-none-any.whl
|
|
||||||
%py3_install_wheel %{pypi_name}-%{version}-py2.py3-none-any.whl
|
%py3_install_wheel %{pypi_name}-%{version}-py2.py3-none-any.whl
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python2} -m pytest -v
|
|
||||||
%{__python3} -m pytest -v
|
%{__python3} -m pytest -v
|
||||||
|
|
||||||
|
|
||||||
%files -n python2-%{pypi_name}
|
|
||||||
%doc README.rst
|
|
||||||
%license LICENSE
|
|
||||||
%{python2_sitelib}/%{pypi_name}-%{version}.dist-info/
|
|
||||||
%{python2_sitelib}/%{pypi_name}/
|
|
||||||
|
|
||||||
%files -n python3-%{pypi_name}
|
%files -n python3-%{pypi_name}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -109,6 +87,10 @@ rm -rf html/.{doctrees,buildinfo}
|
|||||||
%doc html
|
%doc html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 15 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.1-7
|
||||||
|
- Subpackage python2-testpath has been removed
|
||||||
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||||
|
|
||||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-6
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user