|
|
|
@ -1,25 +1,24 @@
|
|
|
|
|
Name: python-pathspec
|
|
|
|
|
Version: 0.12.1
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Utility library for gitignore style pattern matching of file paths
|
|
|
|
|
|
|
|
|
|
License: MPL-2.0
|
|
|
|
|
License: MPLv2.0
|
|
|
|
|
URL: https://github.com/cpburnz/python-path-specification
|
|
|
|
|
Source: %{pypi_source pathspec}
|
|
|
|
|
Source0: https://files.pythonhosted.org/packages/source/p/pathspec/pathspec-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
|
|
|
|
|
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 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
|
|
|
|
@ -29,86 +28,32 @@ is derived from Rsync's wildmatch. Git uses wildmatch for its gitignore files.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n pathspec-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%pyproject_buildrequires
|
|
|
|
|
|
|
|
|
|
# Remove bundled egg-info
|
|
|
|
|
rm -rf pathspec.egg-info
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%pyproject_install
|
|
|
|
|
%pyproject_save_files pathspec
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%pytest
|
|
|
|
|
%{__python3} setup.py test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-pathspec -f %{pyproject_files}
|
|
|
|
|
%files -n python3-pathspec
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
%{python3_sitelib}/pathspec
|
|
|
|
|
%{python3_sitelib}/pathspec-%{version}-py%{python3_version}.egg-info
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.12.1-5
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.12.1-4
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 11 2023 Adrien Vergé <adrienverge@gmail.com> - 0.12.1-1
|
|
|
|
|
- Update to latest upstream version
|
|
|
|
|
|
|
|
|
|
* Wed Aug 02 2023 Dan Radez <dradez@redhat.com> - 0.11.2
|
|
|
|
|
- update to 0.11.2 rhbz#2227393
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.11.1-2
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Fri Mar 24 2023 Dan Radez <dradez@redhat.com> - 0.11.1-1
|
|
|
|
|
- update to 0.11.1 rhbz#2178386
|
|
|
|
|
|
|
|
|
|
* Thu Feb 09 2023 Dan Radez <dradez@redhat.com> - 0.11.0-1
|
|
|
|
|
- update to 0.11.0 rhbz#2164287
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 12 2022 Dan Radez <dradez@redhat.com> - 0.10.3-1
|
|
|
|
|
- update to 0.10.3 (rhbz#2152271)
|
|
|
|
|
|
|
|
|
|
* Mon Nov 14 2022 Dan Radez <dradez@redhat.com> - 0.10.2-1
|
|
|
|
|
- update to 0.10.2 (rhbz#2142341)
|
|
|
|
|
|
|
|
|
|
* Mon Sep 05 2022 Adrien Vergé <adrienverge@gmail.com> - 0.10.1-1
|
|
|
|
|
- Update to latest upstream version
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.9.0-4
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Tue Feb 08 2022 Dan Radez <dradez@redhat.com> - 0.9.0-3
|
|
|
|
|
- Don't remove egginfo
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Nov 17 2021 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-1
|
|
|
|
|
- Update to 0.9.0
|
|
|
|
|
- Fixes rhbz#1983374
|