From 2d8c840796c150c1332f5e75bd53c540a2cc1bba Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Nov 10 2020 06:43:40 +0000 Subject: update to 8.3.1-1 to fix library version in headers fix missing perl dependencies --- diff --git a/.gitignore b/.gitignore index 6e469a8..a604f1e 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ clog /IP2Location-8.2.0.tar.gz /IP2Location-8.3.0.tar.gz /IP2Location-8.3.1.tar.gz +/IP2Location-8.3.1-1.tar.gz diff --git a/IP2Location.spec b/IP2Location.spec index ceb91a1..27de7bf 100644 --- a/IP2Location.spec +++ b/IP2Location.spec @@ -1,4 +1,5 @@ -%global version 8.3.1 +%global upstream_tag 8.3.1-1 +%global rpm_version 8.3.1+1 %global soname 3 # enable the following for intermediate builds @@ -12,16 +13,17 @@ Name: IP2Location Summary: Tools for mapping IP address to geolocation information -Version: %{version} -Release: 4%{?gittag}%{?dist} +Version: %{rpm_version} +Release: 1%{?gittag}%{?dist} License: MIT URL: http://www.ip2location.com/ %if 0%{?gitcommit:1} Source0: https://github.com/chrislim2888/IP2Location-C-Library/archive/%{gitcommit}/%{name}-%{gitcommit}.tar.gz %else -Source0: https://github.com/chrislim2888/IP2Location-C-Library/archive/%{version}/%{name}-%{version}.tar.gz +Source0: https://github.com/chrislim2888/IP2Location-C-Library/archive/%{upstream_tag}/%{name}-%{upstream_tag}.tar.gz %endif BuildRequires: libtool +BuildRequires: perl-generators BuildRequires: perl(Math::BigInt) BuildRequires: gcc BuildRequires: autoconf @@ -107,7 +109,7 @@ Further sample databases can be downloaded from %if 0%{?gitcommit:1} %setup -q -n IP2Location-C-Library-%{gitcommit} %else -%setup -q -n IP2Location-C-Library-%{version} +%setup -q -n IP2Location-C-Library-%{upstream_tag} %endif # remove a warning option which break configure on older gcc versions @@ -173,6 +175,10 @@ install -p data/IPV6-COUNTRY.BIN %{buildroot}%{_datadir}/%{name}/IPV6-COUNTRY.SA %changelog +* Tue Nov 10 2020 Remi Collet - 8.3.1+1-1 +- update to 8.3.1-1 to fix library version in headers +- fix missing perl dependencies + * Mon Nov 9 2020 Remi Collet - 8.3.1-4 - move library in libs subpackage diff --git a/sources b/sources index d107074..ebc1f7b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (IP2Location-8.3.1.tar.gz) = d1a70a059e9c23b0d3ae542d4200ce718b18f3ab380e4225452ec5c461b4e4177a0ab651199c331fcabc6a1436c8b02f60d99d523753bee0619fbb58292da6a9 +SHA512 (IP2Location-8.3.1-1.tar.gz) = 795ed437f5cf51b7841f531e7e09c0a3feafce279b479bdff4cf71ad2936ad22f8ee54da388265c0dffb2fb116ac2f5fb27a2f7258af87d6503ae782a9c0ecf5