diff --git a/python-pathspec.spec b/python-pathspec.spec index 5091e84..214f429 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -2,16 +2,10 @@ Name: python-pathspec Version: 0.6.0 Release: 1%{?dist} Summary: Utility library for gitignore style pattern matching of file paths - License: MPL 2.0 URL: https://github.com/cpburnz/python-path-specification Source0: https://files.pythonhosted.org/packages/source/p/pathspec/pathspec-%{version}.tar.gz - BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python-setuptools -BuildRequires: python%{python3_pkgversion}-devel -BuildRequires: python%{python3_pkgversion}-setuptools %description Path Specification (pathspec) is a utility library for pattern matching of file @@ -20,6 +14,8 @@ is derived from Rsync's wildmatch. Git uses wildmatch for its gitignore files. %package -n python2-pathspec Summary: %{summary} +BuildRequires: python2-devel +BuildRequires: python2-setuptools %{?python_provide:%python_provide python2-pathspec} %description -n python2-pathspec @@ -29,6 +25,8 @@ is derived from Rsync's wildmatch. Git uses wildmatch for its gitignore files. %package -n python%{python3_pkgversion}-pathspec Summary: %{summary} +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools %{?python_provide:%python_provide python%{python3_pkgversion}-pathspec} %description -n python%{python3_pkgversion}-pathspec @@ -70,6 +68,7 @@ rm -rf pathspec.egg-info %changelog * Tue Oct 15 2019 Adrien Vergé - 0.6.0-1 - Update to latest upstream version +- Adapt for EPEL 8 and Python 2/3 support * Fri Mar 08 2019 Troy Dawson - 0.5.3-2 - Rebuilt to change main python from 3.4 to 3.6