From e2c2d4f17a1b5dddd3a241f6dc71bea6b0790eeb Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Jan 24 2014 23:00:43 +0000 Subject: import GeoIP-1.5.0-9.el7.src.rpm --- diff --git a/SPECS/GeoIP.spec b/SPECS/GeoIP.spec index 914e66b..aa6e1bd 100644 --- a/SPECS/GeoIP.spec +++ b/SPECS/GeoIP.spec @@ -3,7 +3,7 @@ Name: GeoIP Version: 1.5.0 -Release: 6%{?dist} +Release: 9%{?dist} Summary: Library for country/city/organization to IP address or hostname mapping Group: Development/Libraries License: LGPLv2+ and GPLv2+ @@ -22,7 +22,7 @@ Provides: geoip = %{version}-%{release} %description GeoIP is a C library that enables the user to find the country that any IP address or hostname originates from. It uses a file based database that is -updated at install time if possible, and can optionally be updated on a weekly +accurate as of June 2007 and can optionally be updated on a weekly basis by installing the GeoIP-update package. This database simply contains IP blocks as keys, and countries as values. This database should be more complete and accurate than using reverse DNS lookups. @@ -91,7 +91,7 @@ rm -f %{buildroot}%{_libdir}/*.la sed -i \ -e 's/YOUR_LICENSE_KEY_HERE$/000000000000/' \ -e 's/YOUR_USER_ID_HERE$/999999/' \ - -e 's/106$/506 533 517/' \ + -e 's/106$/506 533/' \ %{buildroot}%{_sysconfdir}/GeoIP.conf # make the default GeoIP.dat a symlink to GeoIP-initial.dat, @@ -105,10 +105,7 @@ chmod 644 %{buildroot}%{_datadir}/GeoIP/GeoLite{ASNum,City,Country}.dat %clean rm -rf %{buildroot} -%post -/sbin/ldconfig -geoipupdate > /dev/null && \ - ln -sf GeoLiteCountry.dat %{_datadir}/GeoIP/GeoIP.dat +%post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -149,6 +146,16 @@ geoipupdate > /dev/null && \ %{_libdir}/libGeoIPUpdate.so %changelog +* Fri Jan 24 2014 Daniel Mach - 1.5.0-9 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 1.5.0-8 +- Mass rebuild 2013-12-27 + +* Wed Nov 13 2013 Jan Safranek - 1.5.0-7 +- Don't download the database in %post (#1029807) +- Don't download GeoLiteASNum as it's no longer provided. + * Mon Jun 10 2013 Paul Howarth - 1.5.0-6 - Update sub-package requires main package for geoipupdate script