commit 4b1137ff198dfd6125320deaf8850ed3a5e3f44f
Author: Elan Ruusamäe <[email protected]>
Date:   Sun Sep 30 22:11:55 2012 +0300

    - 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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/GeoIP-db-City.git/commitdiff/4b1137ff198dfd6125320deaf8850ed3a5e3f44f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to