From 214f2768723e99d663763482f4a793ef03211e73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Verg=C3=A9?= Date: Sun, 9 Jul 2017 10:31:26 +0200 Subject: [PATCH 01/22] Initial import (#1465954) --- .gitignore | 1 + python-pathspec.spec | 73 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 75 insertions(+) create mode 100644 python-pathspec.spec diff --git a/.gitignore b/.gitignore index e69de29..aa2435b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pathspec-0.5.3.tar.gz diff --git a/python-pathspec.spec b/python-pathspec.spec new file mode 100644 index 0000000..28109a5 --- /dev/null +++ b/python-pathspec.spec @@ -0,0 +1,73 @@ +Name: python-pathspec +Version: 0.5.3 +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 python-setuptools python3-devel python3-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 python3-pathspec +Summary: %{summary} +%{?python_provide:%python_provide python3-pathspec} + +%description -n python3-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 python3-pathspec +%doc README.rst +%license LICENSE +%{python3_sitelib}/pathspec +%{python3_sitelib}/pathspec-%{version}-py?.?.egg-info + +%changelog +* 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..6743c0a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (pathspec-0.5.3.tar.gz) = 3d1476790bd41928a64b11cb0a2983d655714f37b2bd9f13f2dbbcaa32fe2aeb72644036191bc770f9f6da4c68d80b190291bd814c80182a9171620ccfc109a1 From a70c9e824da3f33e13712189275a3b689e0d5023 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 11:14:16 +0000 Subject: [PATCH 02/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- python-pathspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-pathspec.spec b/python-pathspec.spec index 28109a5..0456433 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec Version: 0.5.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Utility library for gitignore style pattern matching of file paths License: MPL 2.0 @@ -65,6 +65,9 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py?.?.egg-info %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 0.5.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Fri Jul 7 2017 Adrien Vergé - 0.5.3-1 - Update to latest upstream version - Include LICENSE file now that upstream packages it From 18283786262d2f130886d4b0865b239da2ae7bd0 Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Sat, 27 Jan 2018 00:40:44 +0100 Subject: [PATCH 03/22] Update Python 2 dependency declarations to new packaging standards --- python-pathspec.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python-pathspec.spec b/python-pathspec.spec index 0456433..8a78d10 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec Version: 0.5.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Utility library for gitignore style pattern matching of file paths License: MPL 2.0 @@ -8,7 +8,7 @@ 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 python-setuptools python3-devel python3-setuptools +BuildRequires: python2-devel python2-setuptools python3-devel python3-setuptools %description Path Specification (pathspec) is a utility library for pattern matching of file @@ -65,6 +65,10 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py?.?.egg-info %changelog +* Fri Jan 26 2018 Iryna Shcherbina - 0.5.3-3 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + * Thu Jul 27 2017 Fedora Release Engineering - 0.5.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From a6fd5c59c071e87655af6210ad484634cbdd93d7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 09:41:41 +0000 Subject: [PATCH 04/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-pathspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-pathspec.spec b/python-pathspec.spec index 8a78d10..81bb594 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec Version: 0.5.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Utility library for gitignore style pattern matching of file paths License: MPL 2.0 @@ -65,6 +65,9 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py?.?.egg-info %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 0.5.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Fri Jan 26 2018 Iryna Shcherbina - 0.5.3-3 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) From 4e0a54ecc8404a271394fc635bf147d73e13c078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 19 Jun 2018 11:12:41 +0200 Subject: [PATCH 05/22] Rebuilt for Python 3.7 --- python-pathspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-pathspec.spec b/python-pathspec.spec index 81bb594..6b53cc2 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec Version: 0.5.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Utility library for gitignore style pattern matching of file paths License: MPL 2.0 @@ -65,6 +65,9 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py?.?.egg-info %changelog +* Tue Jun 19 2018 Miro Hrončok - 0.5.3-5 +- Rebuilt for Python 3.7 + * Fri Feb 09 2018 Fedora Release Engineering - 0.5.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From b48dd2356621bc2467705c91e85b196c56328432 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 01:20:29 +0000 Subject: [PATCH 06/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-pathspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-pathspec.spec b/python-pathspec.spec index 6b53cc2..6155ad2 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec Version: 0.5.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Utility library for gitignore style pattern matching of file paths License: MPL 2.0 @@ -65,6 +65,9 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py?.?.egg-info %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 0.5.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Tue Jun 19 2018 Miro Hrončok - 0.5.3-5 - Rebuilt for Python 3.7 From 5bd8ca40f6fe6635b201039ecdc976804e62185c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 11 Oct 2018 18:56:50 +0200 Subject: [PATCH 07/22] Python2 binary package has been removed --- python-pathspec.spec | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/python-pathspec.spec b/python-pathspec.spec index 6155ad2..ebb9177 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec Version: 0.5.3 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Utility library for gitignore style pattern matching of file paths 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 BuildArch: noarch -BuildRequires: python2-devel python2-setuptools python3-devel python3-setuptools +BuildRequires: python3-devel +BuildRequires: python3-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 python3-pathspec Summary: %{summary} %{?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 %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 python3-pathspec %doc README.rst %license LICENSE @@ -65,6 +48,10 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py?.?.egg-info %changelog +* Thu Oct 11 2018 Zbigniew Jędrzejewski-Szmek - 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 - 0.5.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From a80ec272ec0e067553bbca471678491042211165 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 08:16:00 +0000 Subject: [PATCH 08/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-pathspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-pathspec.spec b/python-pathspec.spec index ebb9177..71d1888 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec Version: 0.5.3 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Utility library for gitignore style pattern matching of file paths License: MPL 2.0 @@ -48,6 +48,9 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py?.?.egg-info %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 0.5.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Thu Oct 11 2018 Zbigniew Jędrzejewski-Szmek - 0.5.3-7 - Python2 binary package has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal From 029e464bb7f0cf8a1d414759c0440e23f6908ef6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 15:05:51 +0000 Subject: [PATCH 09/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-pathspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-pathspec.spec b/python-pathspec.spec index 71d1888..81ceeaa 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec Version: 0.5.3 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Utility library for gitignore style pattern matching of file paths License: MPL 2.0 @@ -48,6 +48,9 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py?.?.egg-info %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 0.5.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sat Feb 02 2019 Fedora Release Engineering - 0.5.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 42376cb9339340e0165bdbc06dc54b64a940a62b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Aug 2019 10:49:10 +0200 Subject: [PATCH 10/22] Rebuilt for Python 3.8 --- python-pathspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-pathspec.spec b/python-pathspec.spec index 81ceeaa..900ad40 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec Version: 0.5.3 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Utility library for gitignore style pattern matching of file paths License: MPL 2.0 @@ -48,6 +48,9 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py?.?.egg-info %changelog +* Mon Aug 19 2019 Miro Hrončok - 0.5.3-10 +- Rebuilt for Python 3.8 + * Fri Jul 26 2019 Fedora Release Engineering - 0.5.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From b47771fa842bb15dea71a665a1d5ab8db44eba89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 3 Oct 2019 14:22:32 +0200 Subject: [PATCH 11/22] Rebuilt for Python 3.8.0rc1 (#1748018) --- python-pathspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-pathspec.spec b/python-pathspec.spec index 900ad40..b77747a 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec Version: 0.5.3 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Utility library for gitignore style pattern matching of file paths License: MPL 2.0 @@ -48,6 +48,9 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py?.?.egg-info %changelog +* Thu Oct 03 2019 Miro Hrončok - 0.5.3-11 +- Rebuilt for Python 3.8.0rc1 (#1748018) + * Mon Aug 19 2019 Miro Hrončok - 0.5.3-10 - Rebuilt for Python 3.8 From fad0c540063b2ee64cb7f6e0e63a118d8c1e807a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Verg=C3=A9?= Date: Tue, 15 Oct 2019 16:29:08 +0200 Subject: [PATCH 12/22] Update to latest upstream version --- .gitignore | 2 +- python-pathspec.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index aa2435b..d46f537 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/pathspec-0.5.3.tar.gz +/pathspec-0.6.0.tar.gz diff --git a/python-pathspec.spec b/python-pathspec.spec index b77747a..afb1a20 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec -Version: 0.5.3 -Release: 11%{?dist} +Version: 0.6.0 +Release: 1%{?dist} Summary: Utility library for gitignore style pattern matching of file paths License: MPL 2.0 @@ -48,6 +48,9 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py?.?.egg-info %changelog +* Tue Oct 15 2019 Adrien Vergé - 0.6.0-1 +- Update to latest upstream version + * Thu Oct 03 2019 Miro Hrončok - 0.5.3-11 - Rebuilt for Python 3.8.0rc1 (#1748018) diff --git a/sources b/sources index 6743c0a..eaa3a02 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pathspec-0.5.3.tar.gz) = 3d1476790bd41928a64b11cb0a2983d655714f37b2bd9f13f2dbbcaa32fe2aeb72644036191bc770f9f6da4c68d80b190291bd814c80182a9171620ccfc109a1 +SHA512 (pathspec-0.6.0.tar.gz) = e08baa05a3fe58ec6ecd651577834115cdeef26b75eef274d843c3c6444cf771e86f99a2a2b2980a6d1ece946997f1ebe714f79ddd5c296071c2e18b73955a84 From d6e16b7e2492637526674ee9ea80d09f136310a9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 13:58:07 +0000 Subject: [PATCH 13/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-pathspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-pathspec.spec b/python-pathspec.spec index afb1a20..5cf96f9 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec Version: 0.6.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Utility library for gitignore style pattern matching of file paths License: MPL 2.0 @@ -48,6 +48,9 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py?.?.egg-info %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 0.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Tue Oct 15 2019 Adrien Vergé - 0.6.0-1 - Update to latest upstream version From dd962cb25af70b5eb8677adfb968a6de476db02f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 03:29:29 +0200 Subject: [PATCH 14/22] Rebuilt for Python 3.9 --- python-pathspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-pathspec.spec b/python-pathspec.spec index 5cf96f9..f90c2fa 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec Version: 0.6.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Utility library for gitignore style pattern matching of file paths License: MPL 2.0 @@ -48,6 +48,9 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py?.?.egg-info %changelog +* Tue May 26 2020 Miro Hrončok - 0.6.0-3 +- Rebuilt for Python 3.9 + * Thu Jan 30 2020 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From c17f0ce43f5e607a408f9d89d0c82d098f7844e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 13 Jul 2020 21:04:36 +0200 Subject: [PATCH 15/22] Replace Python version glob with macro (needed for Python 3.10+) See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PQIGCQCRNBYNXBX2ICWEM3PLDLNOG2ZT/ Co-authored-by: Tomas Hrnciar --- python-pathspec.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-pathspec.spec b/python-pathspec.spec index f90c2fa..159c632 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -45,7 +45,7 @@ rm -rf pathspec.egg-info %doc README.rst %license LICENSE %{python3_sitelib}/pathspec -%{python3_sitelib}/pathspec-%{version}-py?.?.egg-info +%{python3_sitelib}/pathspec-%{version}-py%{python3_version}.egg-info %changelog * Tue May 26 2020 Miro Hrončok - 0.6.0-3 From feb33eead2db542bbb1c506ff509a14111f38ad0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 02:41:45 +0000 Subject: [PATCH 16/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-pathspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-pathspec.spec b/python-pathspec.spec index 159c632..f8034f2 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec Version: 0.6.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Utility library for gitignore style pattern matching of file paths License: MPL 2.0 @@ -48,6 +48,9 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py%{python3_version}.egg-info %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 0.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue May 26 2020 Miro Hrončok - 0.6.0-3 - Rebuilt for Python 3.9 From b022b0f3a966f51c0c453fdef998cab9f3d9aa9e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 12:12:42 +0000 Subject: [PATCH 17/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-pathspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-pathspec.spec b/python-pathspec.spec index f8034f2..9a7d952 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec Version: 0.6.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Utility library for gitignore style pattern matching of file paths License: MPL 2.0 @@ -48,6 +48,9 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py%{python3_version}.egg-info %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 0.6.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 0.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 30fcbffa8d9660fd2a28167f03e8ffe284a71742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 27 Apr 2021 17:05:25 +0200 Subject: [PATCH 18/22] Update to 0.8.1 --- .gitignore | 1 + python-pathspec.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d46f537..30e96c3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /pathspec-0.6.0.tar.gz +/pathspec-0.8.1.tar.gz diff --git a/python-pathspec.spec b/python-pathspec.spec index 9a7d952..bc07689 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec -Version: 0.6.0 -Release: 5%{?dist} +Version: 0.8.1 +Release: 1%{?dist} Summary: Utility library for gitignore style pattern matching of file paths License: MPL 2.0 @@ -48,6 +48,10 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py%{python3_version}.egg-info %changelog +* Tue Apr 27 2021 Miro Hrončok - 0.8.1-1 +- Update to 0.8.1 +- Fixes rhbz#1786816 + * Wed Jan 27 2021 Fedora Release Engineering - 0.6.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index eaa3a02..d1fa2bf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pathspec-0.6.0.tar.gz) = e08baa05a3fe58ec6ecd651577834115cdeef26b75eef274d843c3c6444cf771e86f99a2a2b2980a6d1ece946997f1ebe714f79ddd5c296071c2e18b73955a84 +SHA512 (pathspec-0.8.1.tar.gz) = f793ecf9bfb6511420a37fefa5a9dbd79d8e7329c305d6f1ecb4ea90e322825471983b56722c680e418e0bab41204996075c83cfc8ba7c6a0e5e09b1d8fd1d2e From c1bbc384b0f3913062331ec545178f8f61ad9863 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 11:32:07 +0200 Subject: [PATCH 19/22] Rebuilt for Python 3.10 --- python-pathspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-pathspec.spec b/python-pathspec.spec index bc07689..7e09aed 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec Version: 0.8.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Utility library for gitignore style pattern matching of file paths License: MPL 2.0 @@ -48,6 +48,9 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py%{python3_version}.egg-info %changelog +* Fri Jun 04 2021 Python Maint - 0.8.1-2 +- Rebuilt for Python 3.10 + * Tue Apr 27 2021 Miro Hrončok - 0.8.1-1 - Update to 0.8.1 - Fixes rhbz#1786816 From d2bce53ef6ca493044634f533b25a116c7dae831 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 08:07:44 +0000 Subject: [PATCH 20/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-pathspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-pathspec.spec b/python-pathspec.spec index 7e09aed..4cd47d2 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec Version: 0.8.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Utility library for gitignore style pattern matching of file paths License: MPL 2.0 @@ -48,6 +48,9 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py%{python3_version}.egg-info %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 0.8.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Python Maint - 0.8.1-2 - Rebuilt for Python 3.10 From a8f9adddcf9c19a1e32626a68046370255f163c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 17 Nov 2021 12:20:23 +0100 Subject: [PATCH 21/22] Update to 0.9.0 --- .gitignore | 1 + python-pathspec.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 30e96c3..f7a422e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /pathspec-0.6.0.tar.gz /pathspec-0.8.1.tar.gz +/pathspec-0.9.0.tar.gz diff --git a/python-pathspec.spec b/python-pathspec.spec index 4cd47d2..2e95983 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,6 +1,6 @@ Name: python-pathspec -Version: 0.8.1 -Release: 3%{?dist} +Version: 0.9.0 +Release: 1%{?dist} Summary: Utility library for gitignore style pattern matching of file paths License: MPL 2.0 @@ -48,6 +48,10 @@ rm -rf pathspec.egg-info %{python3_sitelib}/pathspec-%{version}-py%{python3_version}.egg-info %changelog +* Wed Nov 17 2021 Miro Hrončok - 0.9.0-1 +- Update to 0.9.0 +- Fixes rhbz#1983374 + * Fri Jul 23 2021 Fedora Release Engineering - 0.8.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index d1fa2bf..7c63116 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pathspec-0.8.1.tar.gz) = f793ecf9bfb6511420a37fefa5a9dbd79d8e7329c305d6f1ecb4ea90e322825471983b56722c680e418e0bab41204996075c83cfc8ba7c6a0e5e09b1d8fd1d2e +SHA512 (pathspec-0.9.0.tar.gz) = 660f13525325c27b598048a3576fd704c3843e0b07770187d005f0e93996a90cee44e9a0725b6bf775982f586ed3b4ba7cccee966d7149e71e2b95d48030b2f2 From 204c8a976314b6709b1be5d7a14b413dc71c93f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 22 Nov 2021 13:25:22 +0100 Subject: [PATCH 22/22] Refactor deprecated unittest aliases for Python 3.11 compatibility Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2025517 --- 51.patch | 27 +++++++++++++++++++++++++++ python-pathspec.spec | 5 ++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 51.patch diff --git a/51.patch b/51.patch new file mode 100644 index 0000000..eb9699f --- /dev/null +++ b/51.patch @@ -0,0 +1,27 @@ +From 46bad125f2d599a409704b6c1dcda47b709b4aec Mon Sep 17 00:00:00 2001 +From: Karthikeyan Singaravelan +Date: Sun, 10 Oct 2021 08:19:25 +0000 +Subject: [PATCH] Refactor deprecated unittest aliases for Python 3.11 + compatibility. + +--- + pathspec/tests/test_gitwildmatch.py | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/pathspec/tests/test_gitwildmatch.py b/pathspec/tests/test_gitwildmatch.py +index 9868381..f9b4b66 100644 +--- a/pathspec/tests/test_gitwildmatch.py ++++ b/pathspec/tests/test_gitwildmatch.py +@@ -543,6 +543,11 @@ def test_09_single_exclamation_mark_fail(self): + + def _check_invalid_pattern(self, git_ignore_pattern): + expected_message_pattern = re.escape(repr(git_ignore_pattern)) +- with self.assertRaisesRegexp(GitWildMatchPatternError, expected_message_pattern): ++ # assertRaisesRegexp was a deprecated alias removed in Python 3.11 ++ if hasattr(self, 'assertRaisesRegex'): ++ assertRaisesRegex = self.assertRaisesRegex ++ else: ++ assertRaisesRegex = self.assertRaisesRegexp ++ with assertRaisesRegex(GitWildMatchPatternError, expected_message_pattern): + GitWildMatchPattern(git_ignore_pattern) + diff --git a/python-pathspec.spec b/python-pathspec.spec index 2e95983..73d3f2c 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -7,6 +7,9 @@ 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 +# Refactor deprecated unittest aliases for Python 3.11 compatibility +Patch1: %{url}/pull/51.patch + BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -27,7 +30,7 @@ is derived from Rsync's wildmatch. Git uses wildmatch for its gitignore files. %prep -%autosetup -n pathspec-%{version} +%autosetup -p1 -n pathspec-%{version} # Remove bundled egg-info rm -rf pathspec.egg-info