packages: GeoIP-db-City/GeoIP-db-City.spec - up to 2010.12.04

glen glen at pld-linux.org
Sun Dec 5 14:07:34 CET 2010


Author: glen                         Date: Sun Dec  5 13:07:34 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2010.12.04

---- Files affected:
packages/GeoIP-db-City:
   GeoIP-db-City.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: packages/GeoIP-db-City/GeoIP-db-City.spec
diff -u packages/GeoIP-db-City/GeoIP-db-City.spec:1.18 packages/GeoIP-db-City/GeoIP-db-City.spec:1.19
--- packages/GeoIP-db-City/GeoIP-db-City.spec:1.18	Thu Nov  4 11:23:33 2010
+++ packages/GeoIP-db-City/GeoIP-db-City.spec	Sun Dec  5 14:07:29 2010
@@ -3,12 +3,12 @@
 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
@@ -38,6 +38,11 @@
 
 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
@@ -59,6 +64,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2010/12/05 13:07:29  glen
+- up to 2010.12.04
+
 Revision 1.18  2010/11/04 10:23:33  charles
 - up to 2010.11.02
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/GeoIP-db-City/GeoIP-db-City.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list