diff --git a/geoip2-2.5.0.tar.gz b/geoip2-2.5.0.tar.gz deleted file mode 100644 index ff45b10..0000000 --- a/geoip2-2.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:73cac570c028cf685dbd8a8c10c1aa0a8b2924ca37b5c039bc010330c94cc580 -size 371328 diff --git a/geoip2-2.6.0.tar.gz b/geoip2-2.6.0.tar.gz new file mode 100644 index 0000000..44ebcab --- /dev/null +++ b/geoip2-2.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f441671eb8faa0eaaac16903760fce71130865f14370d56d49512b11029f3ead +size 364901 diff --git a/python-geoip2.changes b/python-geoip2.changes index 2e1b764..6356eec 100644 --- a/python-geoip2.changes +++ b/python-geoip2.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Oct 27 21:10:06 UTC 2017 - sebix+novell.com@sebix.at + +- update to version 2.6.0: + * The following new anonymizer attributes were added to ``geoip2.record.Traits`` + for use with GeoIP2 Precision Insights: ``is_anonymous``, + ``is_anonymous_vpn``, ``is_hosting_provider``, ``is_public_proxy``, and + ``is_tor_exit_node``. + ------------------------------------------------------------------- Thu May 25 16:30:03 UTC 2017 - sebix+novell.com@sebix.at diff --git a/python-geoip2.spec b/python-geoip2.spec index 1bc7a3f..b5e46d0 100644 --- a/python-geoip2.spec +++ b/python-geoip2.spec @@ -13,39 +13,38 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-geoip2 -Version: 2.5.0 +Version: 2.6.0 Release: 0 -License: Apache-2.0 Summary: MaxMind GeoIP2 Python API -Url: http://www.maxmind.com/ +License: Apache-2.0 Group: Development/Languages/Python +Url: http://www.maxmind.com/ Source: https://files.pythonhosted.org/packages/source/g/geoip2/geoip2-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +Requires: %{python_module maxminddb >= 1.2.1} +Requires: %{python_module requests >= 2.9} +BuildArch: noarch %if %{with test} BuildRequires: %{python_module maxminddb >= 1.2.1} BuildRequires: %{python_module requests >= 2.9} %endif # SECTION test requirements +BuildRequires: fdupes %if %{with test} BuildRequires: %{python_module requests-mock >= 0.5} %endif -BuildRequires: fdupes # /SECTION -Requires: %{python_module maxminddb >= 1.2.1} -Requires: %{python_module requests >= 2.9} %ifpython2 Recommends: python2-ipaddress %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch - %python_subpackages %description @@ -60,7 +59,7 @@ The API also works with MaxMind's free GeoLite2 databases. %install %python_install -%python_expand %fdupes %buildroot%{$sitearch} +%python_expand %fdupes %{buildroot}%{$sitearch} %if %{with test} %check @@ -68,7 +67,6 @@ The API also works with MaxMind's free GeoLite2 databases. %endif %files %{python_files} -%defattr(-,root,root,-) %doc LICENSE README.rst %{python_sitelib}/*