]> git.pld-linux.org Git - packages/GeoIP-db-IPASNum.git/blobdiff - GeoIP-db-IPASNum.spec
- up to 2012.10.01
[packages/GeoIP-db-IPASNum.git] / GeoIP-db-IPASNum.spec
index bc2e64746eb0fd7ad28abc489a48c3469033ed7f..8bcfb9609a7fc71d6caaaa5af1a5e9abecfc71a8 100644 (file)
@@ -2,12 +2,12 @@ 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:       2010.12.04
+Version:       2012.10.01
 Release:       1
 License:       OPEN DATA LICENSE (see LICENSE.txt)
 Group:         Applications/Databases
 Source0:       http://www.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
-# Source0-md5: 2cc667b6dd97c0d8166f1997ba3aa868
+# Source0-md5: f826d54ccc02df6b2dc3db96756d2eb7
 Source1:       http://www.maxmind.com/download/geoip/database/LICENSE.txt
 # Source1-md5: a1381bd1aa0a0c91dc31b3f1e847cf4a
 URL:           http://www.maxmind.com/app/asnum
@@ -31,12 +31,12 @@ przez MaxWind, dostępne z <http://www.maxwind.com/>.
 
 %prep
 %setup -qcT
-cp -a %{SOURCE0} .
-cp -a %{SOURCE1} .
+cp -p %{SOURCE0} .
+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
@@ -44,7 +44,7 @@ fi
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/GeoIP
-cp -a GeoIPASNum.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP
+cp -p GeoIPASNum.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.237854 seconds and 4 git commands to generate.