From: Elan Ruusamäe Date: Sun, 30 Sep 2012 19:11:55 +0000 (+0300) Subject: - use GMT timezone, not to fail on builders having different timezone X-Git-Tag: auto/ac/GeoIP-db-City-2012.10.03-1~1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=4b1137ff198dfd6125320deaf8850ed3a5e3f44f;p=packages%2FGeoIP-db-City.git - use GMT timezone, not to fail on builders having different timezone --- diff --git a/GeoIP-db-City.spec b/GeoIP-db-City.spec index 00827a7..8ed8845 100644 --- a/GeoIP-db-City.spec +++ b/GeoIP-db-City.spec @@ -37,7 +37,7 @@ cp -p %{SOURCE1} . gunzip GeoLiteCity.dat.gz -ver=$(stat -c '%y' GeoLiteCity.dat | awk '{print $1}' | tr - .) +ver=$(TZ=GMT stat -c '%y' GeoLiteCity.dat | awk '{print $1}' | tr - .) if [ "$ver" != %{version} ]; then exit 1 fi