]> git.pld-linux.org Git - packages/GeoIP-db-City.git/commitdiff
- up to 2010.12.04 auto/th/GeoIP-db-City-2010_12_04-1
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 5 Dec 2010 13:07:29 +0000 (13:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    GeoIP-db-City.spec -> 1.19

GeoIP-db-City.spec

index 7b80602cc5cbe9674dbace0d12bd91e869ceae54..843aad883eb62bec78593bc6c8731d384a18cd6a 100644 (file)
@@ -2,12 +2,12 @@ Summary:      GeoLite City - City database for GeoIP
 Summary(pl.UTF-8):     GeoLite City - baza danych miast dla GeoIP
 Name:          GeoIP-db-City
 # Updated every month:
-Version:       2010.11.02
+Version:       2010.12.04
 Release:       1
 License:       OPEN DATA LICENSE (see LICENSE.txt)
 Group:         Applications/Databases
 Source0:       http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
-# Source0-md5: 58520d2741de06bb2b36797f7d224d76
+# Source0-md5: 05a5a51695b815d5effe79a7be5cc76f
 Source1:       http://www.maxmind.com/download/geoip/database/LICENSE.txt
 # Source1-md5: a1381bd1aa0a0c91dc31b3f1e847cf4a
 URL:           http://www.maxmind.com/app/geolitecity
@@ -37,6 +37,11 @@ cp -a %{SOURCE1} .
 
 gunzip GeoLiteCity.dat.gz
 
+ver=$(stat -c '%y' GeoLiteCity.dat | awk '{print $1}' | tr - .)
+if [ "$ver" != %{version} ]; then
+       exit 1
+fi
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/GeoIP
This page took 0.074093 seconds and 4 git commands to generate.