Subpackage python2-fasteners has been removed
This commit is contained in:
parent
3f1ce5ee98
commit
bdf5ee6ec2
@ -1,12 +1,8 @@
|
|||||||
%if 0%{?fedora}
|
|
||||||
%global with_python3 1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%global pypi_name fasteners
|
%global pypi_name fasteners
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 0.14.1
|
Version: 0.14.1
|
||||||
Release: 17%{?dist}
|
Release: 18%{?dist}
|
||||||
Summary: A python package that provides useful locks
|
Summary: A python package that provides useful locks
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
@ -15,31 +11,10 @@ Source0: https://codeload.github.com/harlowja/fasteners/tar.gz/%{version}
|
|||||||
Patch0: fasteners-monotonic.patch
|
Patch0: fasteners-monotonic.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A python package that provides useful locks.
|
A python package that provides useful locks.
|
||||||
|
|
||||||
|
|
||||||
%package -n python2-%{pypi_name}
|
|
||||||
Summary: A python package that provides useful locks
|
|
||||||
Obsoletes: python-%{pypi_name} < 0.13.0-3
|
|
||||||
%{?python_provide:%python_provide python2-%{pypi_name}}
|
|
||||||
|
|
||||||
BuildRequires: python2-devel
|
|
||||||
BuildRequires: python2-six
|
|
||||||
# tests
|
|
||||||
BuildRequires: python2-testtools
|
|
||||||
BuildRequires: python2-nose
|
|
||||||
BuildRequires: python2-monotonic
|
|
||||||
BuildRequires: python2-futures
|
|
||||||
Requires: python2-six
|
|
||||||
Requires: python2-monotonic
|
|
||||||
|
|
||||||
%description -n python2-%{pypi_name}
|
|
||||||
A python package that provides useful locks.
|
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%package -n python3-%{pypi_name}
|
%package -n python3-%{pypi_name}
|
||||||
Summary: A python package that provides useful locks
|
Summary: A python package that provides useful locks
|
||||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||||
@ -55,50 +30,35 @@ Requires: python3-six
|
|||||||
%description -n python3-%{pypi_name}
|
%description -n python3-%{pypi_name}
|
||||||
A python package that provides useful locks.
|
A python package that provides useful locks.
|
||||||
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{pypi_name}-%{version}
|
%autosetup -p1 -n %{pypi_name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%py3_build
|
%py3_build
|
||||||
%endif # with_python3
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%py3_install
|
%py3_install
|
||||||
%endif # with_python3
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
nosetests-%{python2_version}
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
nosetests-%{python3_version}
|
nosetests-%{python3_version}
|
||||||
%endif # with_python3
|
|
||||||
|
|
||||||
%files -n python2-%{pypi_name}
|
|
||||||
%doc README.rst
|
|
||||||
%license LICENSE
|
|
||||||
%{python2_sitelib}/%{pypi_name}/
|
|
||||||
%{python2_sitelib}/%{pypi_name}-*.egg-info/
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%files -n python3-%{pypi_name}
|
%files -n python3-%{pypi_name}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/%{pypi_name}/
|
%{python3_sitelib}/%{pypi_name}/
|
||||||
%{python3_sitelib}/%{pypi_name}-*.egg-info/
|
%{python3_sitelib}/%{pypi_name}-*.egg-info/
|
||||||
%endif # with_python3
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 02 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14.1-18
|
||||||
|
- Subpackage python2-fasteners has been removed
|
||||||
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||||
|
|
||||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14.1-17
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14.1-17
|
||||||
- Rebuilt for Python 3.8
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user