From 2e5406ca139eb2f2e737d2d3d603d767af5ea3a6 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Tue, 15 Oct 2019 09:34:02 -0500 Subject: [PATCH 1/4] "Adding package.cfg file" --- package.cfg | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 package.cfg diff --git a/package.cfg b/package.cfg new file mode 100644 index 0000000..66ea79d --- /dev/null +++ b/package.cfg @@ -0,0 +1,2 @@ +[koji] +targets = epel8 epel8-playground \ No newline at end of file From 31495b8a009e190bc8e9130ae66045b76318958a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Verg=C3=A9?= Date: Tue, 15 Oct 2019 16:41:44 +0200 Subject: [PATCH 2/4] Update to latest upstream version --- .gitignore | 1 + python-pathspec.spec | 82 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 84 insertions(+) create mode 100644 python-pathspec.spec diff --git a/.gitignore b/.gitignore index e69de29..d46f537 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pathspec-0.6.0.tar.gz diff --git a/python-pathspec.spec b/python-pathspec.spec new file mode 100644 index 0000000..5091e84 --- /dev/null +++ b/python-pathspec.spec @@ -0,0 +1,82 @@ +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 +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 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 python%{python3_pkgversion}-pathspec +Summary: %{summary} +%{?python_provide:%python_provide python%{python3_pkgversion}-pathspec} + +%description -n python%{python3_pkgversion}-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. + + +%prep +%autosetup -n pathspec-%{version} +# Remove bundled egg-info +rm -rf pathspec.egg-info + +%build +%py2_build +%py3_build + +%install +%py2_install +%py3_install + + +%check +%{__python2} 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 python%{python3_pkgversion}-pathspec +%doc README.rst +%license LICENSE +%{python3_sitelib}/pathspec +%{python3_sitelib}/pathspec-%{version}-py?.?.egg-info + +%changelog +* Tue Oct 15 2019 Adrien Vergé - 0.6.0-1 +- Update to latest upstream version + +* Fri Mar 08 2019 Troy Dawson - 0.5.3-2 +- Rebuilt to change main python from 3.4 to 3.6 + +* Fri Jul 7 2017 Adrien Vergé - 0.5.3-1 +- Update to latest upstream version +- Include LICENSE file now that upstream packages it + +* Wed Jun 28 2017 Adrien Vergé - 0.5.2-1 +- Initial package. diff --git a/sources b/sources index e69de29..eaa3a02 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (pathspec-0.6.0.tar.gz) = e08baa05a3fe58ec6ecd651577834115cdeef26b75eef274d843c3c6444cf771e86f99a2a2b2980a6d1ece946997f1ebe714f79ddd5c296071c2e18b73955a84 From 5b7ae064c94ddc83a9f56ddb8a982576282be187 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Verg=C3=A9?= Date: Tue, 15 Oct 2019 17:15:28 +0200 Subject: [PATCH 3/4] Adapt for EPEL 8 and Python 2/3 support --- python-pathspec.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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 From 5759330f64549ad251e6e889963231c10d9462e2 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Thu, 24 Sep 2020 16:21:11 +0000 Subject: [PATCH 4/4] remove package.cfg per new epel-playground policy --- package.cfg | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 package.cfg diff --git a/package.cfg b/package.cfg deleted file mode 100644 index 66ea79d..0000000 --- a/package.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[koji] -targets = epel8 epel8-playground \ No newline at end of file