]> git.pld-linux.org Git - packages/GeoIP-db-IPASNum.git/commitdiff
- use GMT timezone, not to fail on builders having different timezone auto/ac/GeoIP-db-IPASNum-2012.09.03-1
authorElan Ruusamäe <glen@delfi.ee>
Sun, 30 Sep 2012 19:06:36 +0000 (22:06 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 30 Sep 2012 19:06:36 +0000 (22:06 +0300)
GeoIP-db-IPASNum.spec

index f5475e08ef899a2f9264e2f15fc84cd1792e2187..1f494dd88e24da095bf7c0cfa2c9b19a243c1a83 100644 (file)
@@ -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
This page took 0.145468 seconds and 4 git commands to generate.