commit 06e308f4e8558830aaebeaf3a7755771e9b81fb1
Author: Elan Ruusamäe <g...@delfi.ee>
Date:   Sun Sep 30 22:06:36 2012 +0300

    - use GMT timezone, not to fail on builders having different timezone

 GeoIP-db-IPASNum.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/GeoIP-db-IPASNum.spec b/GeoIP-db-IPASNum.spec
index f5475e0..1f494dd 100644
--- a/GeoIP-db-IPASNum.spec
+++ b/GeoIP-db-IPASNum.spec
@@ -2,7 +2,7 @@ Summary:        GeoLite IPASNum - IP to AS number translation 
database for GeoIP
 Summary(pl.UTF-8):     GeoLite IPASNum - baza danych tłumaczeń adresów IP na 
numery AS dla GeoIP
 Name:          GeoIP-db-IPASNum
 # Updated every month:
-Version:       2012.09.04
+Version:       2012.09.03
 Release:       1
 License:       OPEN DATA LICENSE (see LICENSE.txt)
 Group:         Applications/Databases
@@ -36,7 +36,7 @@ cp -p %{SOURCE1} .
 
 gunzip GeoIPASNum.dat.gz
 
-ver=$(stat -c '%y' GeoIPASNum.dat | awk '{print $1}' | tr - .)
+ver=$(TZ=GMT stat -c '%y' GeoIPASNum.dat | awk '{print $1}' | tr - .)
 if [ "$ver" != %{version} ]; then
        exit 1
 fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/GeoIP-db-IPASNum.git/commitdiff/06e308f4e8558830aaebeaf3a7755771e9b81fb1

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to