summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--IP2Location.spec24
1 files changed, 16 insertions, 8 deletions
diff --git a/IP2Location.spec b/IP2Location.spec
index 87e021e..c0400e1 100644
--- a/IP2Location.spec
+++ b/IP2Location.spec
@@ -7,10 +7,11 @@
#
# Please, preserve the changelog entries
#
-%define version 8.0.9
+%define version 8.1.3
+%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})
@@ -28,8 +29,6 @@ URL: http://www.ip2location.com/
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)
@@ -103,8 +102,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
@@ -160,8 +157,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/
@@ -180,6 +177,17 @@ install -p data/IPV6-COUNTRY.BIN %{buildroot}%{_datadir}/%{name}/IPV6-COUNTRY.SA
%changelog
+* Tue Oct 6 2020 Remi Collet <remi@remirepo.net> - 8.1.3-0
+- sync with Fedora and rename to IP2location
+- rebuild for #remirepo with release = 0
+ to manage update from old version
+
+* Fri Sep 25 2020 Peter Bieringer <pb@bieringer.de> - 8.1.3-11
+- update version to 8.1.3
+
+* Fri Sep 25 2020 Peter Bieringer <pb@bieringer.de> - 8.1.2-11
+- update version to 8.1.2 (soname: 2)
+
* Thu Sep 24 2020 Remi Collet <remi@remirepo.net> - 8.0.9-0
- sync with Fedora and rename to IP2location
- rebuild for #remirepo with release = 0