|
|
1293a07 |
%global pypi_name maxminddb
|
|
|
e5916d7 |
%global desc \
|
|
|
e5916d7 |
This is a Python module for reading MaxMind DB files. The module includes both\
|
|
|
e5916d7 |
a pure Python reader and an optional C extension. MaxMind DB is a binary file\
|
|
|
e5916d7 |
format that stores data indexed by IP address subnets (IPv4 or IPv6).
|
|
|
1293a07 |
|
|
|
1293a07 |
Name: python-%{pypi_name}
|
|
|
9ef2078 |
Version: 2.2.0
|
|
|
bcd943a |
Release: 4%{?dist}
|
|
|
ed51f73 |
Summary: Reader for the MaxMind DB format
|
|
|
1293a07 |
|
|
|
1293a07 |
License: ASL 2.0
|
|
|
ed51f73 |
URL: https://www.maxmind.com/
|
|
|
ed51f73 |
Source0: %{pypi_source}
|
|
|
1293a07 |
|
|
|
e2971b6 |
BuildRequires: gcc
|
|
|
1293a07 |
BuildRequires: libmaxminddb-devel
|
|
|
9ef2078 |
BuildRequires: python3-devel
|
|
|
9ef2078 |
BuildRequires: pyproject-rpm-macros
|
|
|
1293a07 |
|
|
|
e5916d7 |
%description %{desc}
|
|
|
1293a07 |
|
|
|
1293a07 |
%package doc
|
|
|
1293a07 |
Summary: Documentation for %{pypi_name}
|
|
|
1293a07 |
|
|
|
1293a07 |
%description doc
|
|
|
1293a07 |
This package provides the documentation for %{pypi_name}.
|
|
|
1293a07 |
|
|
|
ed51f73 |
%package -n python3-%{pypi_name}
|
|
|
ed51f73 |
Summary: %{summary}
|
|
|
ed51f73 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
1293a07 |
|
|
|
ed51f73 |
%description -n python3-%{pypi_name} %{desc}
|
|
|
1293a07 |
|
|
|
1293a07 |
%prep
|
|
|
116f5d3 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
1293a07 |
# Remove bundled egg-info
|
|
|
1293a07 |
rm -rf %{pypi_name}.egg-info
|
|
|
9ef2078 |
# Mocket is not available in Fedora
|
|
|
9ef2078 |
sed -i "/mocket/d" setup.cfg
|
|
|
9ef2078 |
|
|
|
9ef2078 |
%generate_buildrequires
|
|
|
9ef2078 |
%pyproject_buildrequires -r -t
|
|
|
1293a07 |
|
|
|
1293a07 |
%build
|
|
|
9ef2078 |
%pyproject_wheel
|
|
|
1293a07 |
|
|
|
1293a07 |
%install
|
|
|
9ef2078 |
%pyproject_install
|
|
|
9ef2078 |
%pyproject_save_files %{pypi_name}
|
|
|
1293a07 |
|
|
|
1293a07 |
%check
|
|
|
9ef2078 |
%pytest
|
|
|
1293a07 |
|
|
|
1293a07 |
%files doc
|
|
|
1293a07 |
%doc docs/*
|
|
|
9ef2078 |
%license LICENSE
|
|
|
1293a07 |
|
|
|
9ef2078 |
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
|
1293a07 |
%doc README.rst
|
|
|
1293a07 |
%license LICENSE
|
|
|
1293a07 |
|
|
|
1293a07 |
%changelog
|
|
|
bcd943a |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-4
|
|
|
bcd943a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
bcd943a |
|
|
|
6efd12a |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.2.0-3
|
|
|
6efd12a |
- Rebuilt for Python 3.11
|
|
|
6efd12a |
|
|
|
55d5f51 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
|
|
|
55d5f51 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
55d5f51 |
|
|
|
9ef2078 |
* Tue Oct 05 2021 Lumír Balhar <lbalhar@redhat.com> - 2.2.0-1
|
|
|
9ef2078 |
- Update to 2.2.0
|
|
|
9ef2078 |
Resolves: rhbz#2007738
|
|
|
9ef2078 |
|
|
|
0c6b19d |
* Mon Sep 20 2021 Lumír Balhar <lbalhar@redhat.com> - 2.1.0-1
|
|
|
0c6b19d |
- Update to 2.1.0
|
|
|
0c6b19d |
Resolves: rhbz#2005619
|
|
|
0c6b19d |
|
|
|
b835a03 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-4
|
|
|
b835a03 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
b835a03 |
|
|
|
3b1204d |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.2-3
|
|
|
3b1204d |
- Rebuilt for Python 3.10
|
|
|
3b1204d |
|
|
|
cca527a |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
|
|
|
cca527a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
cca527a |
|
|
|
43e9c0d |
* Wed Jul 22 2020 Lumír Balhar <lbalhar@redhat.com> - 2.0.2-1
|
|
|
43e9c0d |
- Update to 2.0.2 (#1859349)
|
|
|
43e9c0d |
|
|
|
b1370a4 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.4-3
|
|
|
b1370a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
b1370a4 |
|
|
|
db68064 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.5.4-2
|
|
|
db68064 |
- Rebuilt for Python 3.9
|
|
|
db68064 |
|
|
|
116f5d3 |
* Thu May 07 2020 Lumír Balhar <lbalhar@redhat.com> - 1.5.4-1
|
|
|
116f5d3 |
- Update to 1.5.4 (#1831900)
|
|
|
116f5d3 |
|
|
|
43e8528 |
* Tue May 05 2020 Lumír Balhar <lbalhar@redhat.com> - 1.5.3-1
|
|
|
43e8528 |
- Update to 1.5.3 (#1831244)
|
|
|
43e8528 |
|
|
|
ef84824 |
* Tue Jan 28 2020 Lumír Balhar <lbalhar@redhat.com> - 1.5.2-1
|
|
|
ef84824 |
- New upstream version 1.5.2 (#1785719)
|
|
|
ef84824 |
|
|
|
b0085b7 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-2
|
|
|
b0085b7 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
b0085b7 |
|
|
|
d224405 |
* Wed Oct 02 2019 Lumír Balhar <lbalhar@redhat.com> - 1.5.1-1
|
|
|
d224405 |
- New upstream version 1.5.1 (bz#1756523)
|
|
|
d224405 |
|
|
|
add82ea |
* Wed Oct 02 2019 Lumír Balhar <lbalhar@redhat.com> - 1.5.0-1
|
|
|
add82ea |
- New upstream version 1.5.0 (bz#1756523)
|
|
|
add82ea |
|
|
|
9ec4510 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.4.1-6
|
|
|
9ec4510 |
- Rebuilt for Python 3.8
|
|
|
9ec4510 |
|
|
|
835c1da |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-5
|
|
|
835c1da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
835c1da |
|
|
|
bd976c6 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-4
|
|
|
bd976c6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
bd976c6 |
|
|
|
ed51f73 |
* Sun Aug 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.4.1-3
|
|
|
ed51f73 |
- Drop python2 subpackage
|
|
|
ed51f73 |
|
|
|
88e9edd |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-2
|
|
|
88e9edd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
88e9edd |
|
|
|
e5916d7 |
* Fri Jun 22 2018 Carl George <carl@george.computer> - 1.4.1-1
|
|
|
e5916d7 |
- Latest upstream
|
|
|
e5916d7 |
|
|
|
6817f4c |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.4.0-3
|
|
|
6817f4c |
- Rebuilt for Python 3.7
|
|
|
6817f4c |
|
|
|
3b0e569 |
* Tue Jun 12 2018 Carl George <carl@george.computer> - 1.4.0-2
|
|
|
3b0e569 |
- EPEL compatibility
|
|
|
3b0e569 |
|
|
|
15bc2e6 |
* Mon May 28 2018 Lumir Balhar <lbalhar@redhat.com> - 1.4.0-1
|
|
|
15bc2e6 |
- New upstream version
|
|
|
15bc2e6 |
|
|
|
c4673e7 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-5
|
|
|
c4673e7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
c4673e7 |
|
|
|
39b0b13 |
* Mon Dec 11 2017 Iryna Shcherbina <ishcherb@redhat.com> - 1.3.0-4
|
|
|
39b0b13 |
- Fix ambiguous Python 2 dependency declarations
|
|
|
39b0b13 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
39b0b13 |
|
|
|
3fa04ea |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
|
|
|
3fa04ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
3fa04ea |
|
|
|
97f6578 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
|
|
|
97f6578 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
97f6578 |
|
|
|
842ed01 |
* Tue Mar 14 2017 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1.3.0-1
|
|
|
842ed01 |
- Update to 1.3.0 (#1431895)
|
|
|
842ed01 |
|
|
|
ae257e9 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-2
|
|
|
ae257e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
ae257e9 |
|
|
|
39ab921 |
* Thu Jan 19 2017 Lumir Balhar <lbalhar@redhat.com> - 1.2.3-1
|
|
|
39ab921 |
- New upstream version.
|
|
|
39ab921 |
|
|
|
13c5104 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.2.2-2
|
|
|
13c5104 |
- Rebuild for Python 3.6
|
|
|
13c5104 |
|
|
|
101e737 |
* Tue Nov 22 2016 Lumir Balhar <lbalhar@redhat.com> - 1.2.2-1
|
|
|
101e737 |
- New upstream version.
|
|
|
101e737 |
|
|
|
bbd929f |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
|
|
|
bbd929f |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
bbd929f |
|
|
|
1293a07 |
* Wed Jun 15 2016 Lumir Balhar <lbalhar@redhat.com> - 1.2.1-1
|
|
|
1293a07 |
- Initial package.
|