From 6ee829576e50d1d781b663aa9156b699976a19c5 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Sep 25 2020 06:10:54 +0000 Subject: update version to 8.1.2 (soname: 2) --- diff --git a/IP2Location.spec b/IP2Location.spec index 4126d1c..f05d7a5 100644 --- a/IP2Location.spec +++ b/IP2Location.spec @@ -1,7 +1,8 @@ -%define version 8.0.9 +%define version 8.1.2 +%define soname 2 # enable the following for intermediate builds -%define gitcommit 6e49424dfc998856fa790df498bf77520e72ca28 +#define gitcommit 6e49424dfc998856fa790df498bf77520e72ca28 %if 0%{?gitcommit:1} %global shortcommit %(c=%{gitcommit}; echo ${c:0:7}) @@ -12,15 +13,13 @@ Name: IP2Location Summary: C library for mapping IP address to geolocation information Version: %{version} -Release: 10%{?gittag}%{?dist} +Release: 11%{?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 -Patch0: IP2Location-8.0.9-adebc0ef.patch -Patch1: IP2Location-8.0.9-rpmlint.patch %endif BuildRequires: libtool BuildRequires: perl(Math::BigInt) @@ -94,8 +93,6 @@ Further sample databases can be downloaded from %setup -q -n IP2Location-C-Library-%{gitcommit} %else %setup -q -n IP2Location-C-Library-%{version} -%patch0 -p1 -%patch1 -p1 %endif # remove a warning option which break configure on older gcc versions @@ -141,8 +138,8 @@ install -p data/IPV6-COUNTRY.BIN %{buildroot}%{_datadir}/%{name}/IPV6-COUNTRY.SA %doc AUTHORS ChangeLog README.md NEWS -%{_libdir}/libIP2Location.so.1 -%{_libdir}/libIP2Location.so.1.0.0 +%{_libdir}/libIP2Location.so.%{soname} +%{_libdir}/libIP2Location.so.%{soname}.0.0 %{_datadir}/%{name}/tools/ @@ -161,6 +158,9 @@ install -p data/IPV6-COUNTRY.BIN %{buildroot}%{_datadir}/%{name}/IPV6-COUNTRY.SA %changelog +* Fri Sep 25 2020 Peter Bieringer - 8.1.2-11 +- update version to 8.1.2 (soname: 2) + * Thu Sep 24 2020 Peter Bieringer - 8.0.9-10 - add additional Obsoletes/Provides/BuildRequires