Hello community, here is the log from the commit of package GeoIP for openSUSE:Factory checked in at 2017-11-19 11:11:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/GeoIP (Old) and /work/SRC/openSUSE:Factory/.GeoIP.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "GeoIP" Sun Nov 19 11:11:14 2017 rev:32 rq:542228 version:1.6.11 Changes: -------- --- /work/SRC/openSUSE:Factory/GeoIP/GeoIP.changes 2016-06-19 10:49:38.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.GeoIP.new/GeoIP.changes 2017-11-19 11:11:14.371719175 +0100 @@ -1,0 +2,15 @@ +Thu Nov 16 10:09:53 UTC 2017 - jeng...@inai.de + +- Rectify RPM groups. + Remove pointless --with-pic since there are no static libs. + +------------------------------------------------------------------- +Thu Nov 16 09:46:12 UTC 2017 - mplus...@suse.com + +- Update to version 1.6.11: + * Fix use of a NULL pointer when opening a corrupt database with + GeoIP_open + * GeoIP_database_info now returns the full version string rather + than incorrectly truncating it. + +------------------------------------------------------------------- Old: ---- GeoIP-1.6.9.tar.gz New: ---- GeoIP-1.6.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ GeoIP.spec ++++++ --- /var/tmp/diff_new_pack.IqXCEs/_old 2017-11-19 11:11:15.039694819 +0100 +++ /var/tmp/diff_new_pack.IqXCEs/_new 2017-11-19 11:11:15.039694819 +0100 @@ -1,7 +1,7 @@ # # spec file for package GeoIP # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: GeoIP -Version: 1.6.9 +Version: 1.6.11 Release: 0 Summary: Library to find the country that any IP address originates from License: LGPL-2.1+ @@ -32,11 +32,8 @@ Source6: geoip-asn-csv-to-dat.cpp Source7: v4-to-v6-layout.pl BuildRequires: gcc-c++ -BuildRequires: pkg-config -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} +BuildRequires: pkgconfig Recommends: curl -%endif %description GeoIP is a C library that enables the user to find the country that any @@ -49,26 +46,21 @@ automically each month. %package data -Summary: Free GeoLite country-data for GeoIP +Summary: GeoLite country data for GeoIP License: CC-BY-SA-3.0 -Group: Development/Libraries/C and C++ -%if 0%{?suse_version} >= 1310 +Group: Productivity/Networking/Other BuildArch: noarch -%endif %description data This package includes GeoLite data created by MaxMind, available from -http://www.maxmind.com/ +http://www.maxmind.com %package -n lib%{name}1 Summary: Shared libraries of the GeoIP C API License: LGPL-2.1+ -Group: Development/Libraries/C and C++ +Group: System/Libraries Requires: %{name}-data -# for the data file -%if 0%{?suse_version} Recommends: GeoIP -%endif %description -n lib%{name}1 GeoIP is a C library that enables the user to find the country that any @@ -109,8 +101,7 @@ %build %configure \ - --disable-static \ - --with-pic + --disable-static sed -i -e '/-DGEOIPDATADIR/s,\$(pkgdatadir),%{_localstatedir}/lib/GeoIP,' libGeoIP/Makefile{.am,.in,} sed -i -e 's,\$(pkgdatadir),%{_localstatedir}/lib/GeoIP,' man/Makefile{.am,.in,} @@ -118,18 +109,18 @@ make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install install -d %{buildroot}%{_localstatedir}/lib/GeoIP %{buildroot}%{_prefix}/lib/geoip/ install data/* %{buildroot}%{_localstatedir}/lib/GeoIP/ # -g++ %{optflags} -I %{buildroot}%{_includedir} -L %{buildroot}%{_libdir} -o %{buildroot}%{_prefix}/lib/geoip/geoip-generator %{S:5} -lGeoIP -g++ %{optflags} -I %{buildroot}%{_includedir} -L %{buildroot}%{_libdir} -o %{buildroot}%{_prefix}/lib/geoip/geoip-generator-asn %{S:6} -lGeoIP -install -m 0755 %{S:7} %{buildroot}%{_prefix}/lib/geoip/ +g++ %{optflags} -I %{buildroot}%{_includedir} -L %{buildroot}%{_libdir} -o %{buildroot}%{_prefix}/lib/geoip/geoip-generator %{SOURCE5} -lGeoIP +g++ %{optflags} -I %{buildroot}%{_includedir} -L %{buildroot}%{_libdir} -o %{buildroot}%{_prefix}/lib/geoip/geoip-generator-asn %{SOURCE6} -lGeoIP +install -m 0755 %{SOURCE7} %{buildroot}%{_prefix}/lib/geoip/ # do not ship these rm %{buildroot}%{_libdir}/libGeoIP.la # install fetcher -install -D -m 0755 %{SOURCE3} %{buildroot}%{_sbindir}/geoip-fetch +install -Dpm 0755 %{SOURCE3} %{buildroot}%{_sbindir}/geoip-fetch %if 0%{?suse_version} < 1300 # Reset files that will be packaged as %%ghost (needed for old rpm) @@ -146,11 +137,9 @@ %endif %post -n lib%{name}1 -p /sbin/ldconfig - %postun -n lib%{name}1 -p /sbin/ldconfig %files -%defattr(-, root, root, -) %doc AUTHORS ChangeLog COPYING README.md LICENSE README.SUSE %{_bindir}/geoiplookup %{_bindir}/geoiplookup6 @@ -160,7 +149,6 @@ %{_prefix}/lib/geoip/ %files data -%defattr(-, root, root, -) %doc AUTHORS LICENSE %dir %{_localstatedir}/lib/%{name} %verify(not md5 size mtime) %{_localstatedir}/lib/%{name}/GeoIP.dat @@ -169,13 +157,11 @@ %ghost %{_localstatedir}/lib/%{name}/GeoIPv6.dat %files -n lib%{name}1 -%defattr(-, root, root, -) %doc AUTHORS ChangeLog COPYING README.md LICENSE README.SUSE %{_libdir}/libGeoIP.so.1 %{_libdir}/libGeoIP.so.%{version} %files -n lib%{name}-devel -%defattr(-, root, root, -) %doc AUTHORS ChangeLog COPYING README.md LICENSE README.SUSE %{_includedir}/GeoIP.h %{_includedir}/GeoIPCity.h ++++++ GeoIP-1.6.9.tar.gz -> GeoIP-1.6.11.tar.gz ++++++ ++++ 21064 lines of diff (skipped)