926503c
%global desc Version of the glob module that can capture patterns and supports recursive\
926503c
wildcards.
926503c
%global pkg_name glob2
679376b
%global pypi_version 0.7
926503c
926503c
Name:           python-%{pkg_name}
679376b
Version:        0.7
e48a7ea
Release:        20%{?dist}
cb3744d
Summary:        Glob module recursive wildcards support
cb3744d
cb3744d
License:        BSD
926503c
URL:            https://pypi.python.org/pypi/%{pkg_name}
679376b
Source0:        https://files.pythonhosted.org/packages/d7/a5/bbbc3b74a94fbdbd7915e7ad030f16539bfdc1362f7e9003b594f0537950/glob2-0.7.tar.gz
cb3744d
cb3744d
BuildArch:      noarch
cb3744d
cb3744d
%description
926503c
%{desc}
cb3744d
926503c
926503c
%package -n     python3-%{pkg_name}
926503c
Summary:        %{summary}
926503c
BuildRequires:  python3-devel
926503c
BuildRequires:  python3-setuptools
4c269be
BuildRequires:  python3-pytest
cb3744d
Requires:       python3-setuptools
926503c
%{?python_provide:%python_provide python3-%{pkg_name}}
cb3744d
926503c
%description -n python3-%{pkg_name}
926503c
%{desc}
cb3744d
cb3744d
%prep
926503c
%setup -q -n %{pkg_name}-%{pypi_version}
e48a7ea
# Compatibility with pytest 8
e48a7ea
sed -i "s/setup(/setup_method(/" test.py
e48a7ea
sed -i "s/teardown(/teardown_method(/" test.py
cb3744d
cb3744d
926503c
%build
926503c
%py3_build
cb3744d
cb3744d
cb3744d
%install
926503c
%py3_install
cb3744d
cb3744d
%check
4c269be
%pytest test.py
926503c
926503c
926503c
%files -n python3-%{pkg_name}
926503c
%license LICENSE
926503c
%doc README.rst CHANGES
926503c
%{python3_sitelib}/%{pkg_name}-%{pypi_version}-py%{python3_version}.egg-info
926503c
%{python3_sitelib}/%{pkg_name}/
cb3744d
cb3744d
cb3744d
%changelog
e48a7ea
* Wed Apr 17 2024 Lumír Balhar <lbalhar@redhat.com> - 0.7-20
e48a7ea
- Fix compatibility with pytest 8 (rhbz#2274119)
e48a7ea
4bc8c8b
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-19
4bc8c8b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
4bc8c8b
32aa8af
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-18
32aa8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
32aa8af
6d00f3f
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-17
6d00f3f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
6d00f3f
d6b2ff7
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.7-16
d6b2ff7
- Rebuilt for Python 3.12
d6b2ff7
7bbdf55
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-15
7bbdf55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
7bbdf55
4c4dfdb
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-14
4c4dfdb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
4c4dfdb
914c741
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.7-13
914c741
- Rebuilt for Python 3.11
914c741
4c269be
* Thu Feb 24 2022 Charalampos Stratakis <cstratak@redhat.com> - 0.7-12
4c269be
- Utilize pytest and actually run the tests
4c269be
cb566d1
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-11
cb566d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
cb566d1
6041d4b
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-10
6041d4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
6041d4b
79b006e
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.7-9
79b006e
- Rebuilt for Python 3.10
79b006e
be68059
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-8
be68059
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
be68059
b32766a
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-7
b32766a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b32766a
dfa8e2c
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.7-6
dfa8e2c
- Rebuilt for Python 3.9
dfa8e2c
1653f23
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-5
1653f23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1653f23
84116e7
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.7-4
84116e7
- Rebuilt for Python 3.8.0rc1 (#1748018)
84116e7
cb159b3
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.7-3
cb159b3
- Rebuilt for Python 3.8
cb159b3
ad4793b
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-2
ad4793b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ad4793b
679376b
* Sat Jul 13 2019 Julien Enselme <jujens@jujens.eu> - 0.7-1
679376b
- Update to 0.7
679376b
2d3898b
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-7
2d3898b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2d3898b
4356e3d
* Tue Oct 02 2018 Julien Enselme <jujens@jujens.eu> - 0.6.0-6
4356e3d
- Remove Python 2 subpackage (#1627336)
4356e3d
d87baab
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-5
d87baab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d87baab
2cf9456
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.6.0-4
2cf9456
- Rebuilt for Python 3.7
2cf9456
3ec11ee
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-3
3ec11ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3ec11ee
164f2fe
* Fri Jan 19 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.6.0-2
164f2fe
- Update Python 2 dependency declarations to new packaging standards
164f2fe
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
164f2fe
d97bca8
* Sat Aug 19 2017 Julien Enselme <jujens@jujens.eu> - 0.6.0-1
d97bca8
- Update to 0.6.0
d97bca8
c0dfdf2
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-4
c0dfdf2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c0dfdf2
67ac7f6
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-3
67ac7f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
67ac7f6
9e887bd
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-2
9e887bd
- Rebuild for Python 3.6
9e887bd
926503c
* Tue Nov 08 2016 Julien Enselme <jujens@jujens.eu> - 0.5.0-1
926503c
- Update to 0.5.0
926503c
- Update spec to new guidelines
926503c
abf15ba
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-6
abf15ba
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
abf15ba
6a505ac
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-5
6a505ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6a505ac
8d66a2e
* Thu Nov 5 2015 Julien Enselme <jujens@jujens.eu> - 0.4.1-4
8d66a2e
- Rebuilt for python 3.5
8d66a2e
406f58c
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-3
406f58c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
406f58c
96e1e81
* Mon Jan 26 2015 Julien Enselme <jujens@jujens.eu> - 0.4.1.2
96e1e81
- Correct the source of the LICENSE
96e1e81
cb3744d
* Mon Jan 05 2015 Julien Enselme <jujens@jujens.eu> - 0.4.1-1
cb3744d
- Initial packaging