From 4b1137ff198dfd6125320deaf8850ed3a5e3f44f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 30 Sep 2012 22:11:55 +0300 Subject: [PATCH] - use GMT timezone, not to fail on builders having different timezone --- GeoIP-db-City.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.44.0