diff --git a/.gitignore b/.gitignore index a604f1e..dd7e65b 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ clog /IP2Location-8.3.0.tar.gz /IP2Location-8.3.1.tar.gz /IP2Location-8.3.1-1.tar.gz +/IP2Location-8.4.0.tar.gz diff --git a/IP2Location.spec b/IP2Location.spec index 4244db2..3060c18 100644 --- a/IP2Location.spec +++ b/IP2Location.spec @@ -1,5 +1,5 @@ -%global upstream_tag 8.3.1-1 -%global rpm_version 8.3.1+1 +%global upstream_tag 8.4.0 +%global rpm_version 8.4.0 %global soname 3 # enable the following for intermediate builds @@ -14,7 +14,7 @@ Name: IP2Location Summary: Tools for mapping IP address to geolocation information Version: %{rpm_version} -Release: 2%{?gittag}%{?dist} +Release: 1%{?gittag}%{?dist} License: MIT URL: http://www.ip2location.com/ %if 0%{?gitcommit:1} @@ -73,10 +73,10 @@ Provides: libip2location-devel = %{version} %description devel IP2Location C library enables the user to get the country, region, city, coordinates, ZIP code, time zone, ISP, domain name, connection type, -area code, weather info, mobile carrier, elevation and usage type from any IP -address or hostname. This library has been optimized for speed and memory -utilization. The library contains API to query all IP2Location LITE and -commercial binary databases. +area code, weather info, mobile carrier, elevation, usage type, address +type and category from any IP address or hostname. +This library has been optimized for speed and memory utilization. The library +contains API to query all IP2Location LITE and commercial binary databases. This package contains the development files for the IP2Location library. @@ -92,10 +92,10 @@ Provides: ip2location-country = %{version} %description data-sample IP2Location C library enables the user to get the country, region, city, coordinates, ZIP code, time zone, ISP, domain name, connection type, -area code, weather info, mobile carrier, elevation and usage type from any IP -address or hostname. This library has been optimized for speed and memory -utilization. The library contains API to query all IP2Location LITE and -commercial binary databases. +area code, weather info, mobile carrier, elevation, usage type, address +type and category from any IP address or hostname. +This library has been optimized for speed and memory utilization. The library +contains API to query all IP2Location LITE and commercial binary databases. This package contains the sample data files for testing the library. @@ -125,6 +125,10 @@ autoreconf -fiv %configure --disable-static %make_build COPTS="$RPM_OPT_FLAGS" +# fix reference file time +# see https://github.com/chrislim2888/IP2Location-C-Library/issues/47 +touch -d 20200925 data/*CSV + # convert CSV to BIN make -C data convert @@ -176,6 +180,9 @@ install -p data/IPV6-COUNTRY.BIN %{buildroot}%{_datadir}/%{name}/IPV6-COUNTRY.SA %changelog +* Tue May 25 2021 Remi Collet - 8.4.0-1 +- update to 8.4.0 + * Mon Jan 25 2021 Fedora Release Engineering - 8.3.1+1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index ebc1f7b..12bced6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (IP2Location-8.3.1-1.tar.gz) = 795ed437f5cf51b7841f531e7e09c0a3feafce279b479bdff4cf71ad2936ad22f8ee54da388265c0dffb2fb116ac2f5fb27a2f7258af87d6503ae782a9c0ecf5 +SHA512 (IP2Location-8.4.0.tar.gz) = 130cf0aac6051dd4253a07cac400b3134ecf9f42089ede8b753718cf560596bda7946ec8e725c67969eda85a55f7a483bc5fd4ecfcd6687b2f5296151f029836