Python2 binary package has been removed

epel9
Zbigniew Jędrzejewski-Szmek 6 years ago
parent b48dd23566
commit 5bd8ca40f6

@ -1,6 +1,6 @@
Name: python-pathspec Name: python-pathspec
Version: 0.5.3 Version: 0.5.3
Release: 6%{?dist} Release: 7%{?dist}
Summary: Utility library for gitignore style pattern matching of file paths Summary: Utility library for gitignore style pattern matching of file paths
License: MPL 2.0 License: MPL 2.0
@ -8,22 +8,14 @@ URL: https://github.com/cpburnz/python-path-specification
Source0: https://files.pythonhosted.org/packages/source/p/pathspec/pathspec-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/p/pathspec/pathspec-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python2-devel python2-setuptools python3-devel python3-setuptools BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description %description
Path Specification (pathspec) is a utility library for pattern matching of file Path Specification (pathspec) is a utility library for pattern matching of file
paths. So far this only includes Git's wildmatch pattern matching which itself paths. So far this only includes Git's wildmatch pattern matching which itself
is derived from Rsync's wildmatch. Git uses wildmatch for its gitignore files. is derived from Rsync's wildmatch. Git uses wildmatch for its gitignore files.
%package -n python2-pathspec
Summary: %{summary}
%{?python_provide:%python_provide python2-pathspec}
%description -n python2-pathspec
Path Specification (pathspec) is a utility library for pattern matching of file
paths. So far this only includes Git's wildmatch pattern matching which itself
is derived from Rsync's wildmatch. Git uses wildmatch for its gitignore files.
%package -n python3-pathspec %package -n python3-pathspec
Summary: %{summary} Summary: %{summary}
%{?python_provide:%python_provide python3-pathspec} %{?python_provide:%python_provide python3-pathspec}
@ -40,24 +32,15 @@ is derived from Rsync's wildmatch. Git uses wildmatch for its gitignore files.
rm -rf pathspec.egg-info rm -rf pathspec.egg-info
%build %build
%py2_build
%py3_build %py3_build
%install %install
%py2_install
%py3_install %py3_install
%check %check
%{__python2} setup.py test
%{__python3} setup.py test %{__python3} setup.py test
%files -n python2-pathspec
%doc README.rst
%license LICENSE
%{python2_sitelib}/pathspec
%{python2_sitelib}/pathspec-%{version}-py?.?.egg-info
%files -n python3-pathspec %files -n python3-pathspec
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
@ -65,6 +48,10 @@ rm -rf pathspec.egg-info
%{python3_sitelib}/pathspec-%{version}-py?.?.egg-info %{python3_sitelib}/pathspec-%{version}-py?.?.egg-info
%changelog %changelog
* Thu Oct 11 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.5.3-7
- Python2 binary package has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-6 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

Loading…
Cancel
Save