packages: GeoIP-db-IPASNum/GeoIP-db-IPASNum.spec - up to 2010.12.04
glen
glen at pld-linux.org
Sun Dec 5 14:12:03 CET 2010
Author: glen Date: Sun Dec 5 13:12:03 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 2010.12.04
---- Files affected:
packages/GeoIP-db-IPASNum:
GeoIP-db-IPASNum.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: packages/GeoIP-db-IPASNum/GeoIP-db-IPASNum.spec
diff -u packages/GeoIP-db-IPASNum/GeoIP-db-IPASNum.spec:1.5 packages/GeoIP-db-IPASNum/GeoIP-db-IPASNum.spec:1.6
--- packages/GeoIP-db-IPASNum/GeoIP-db-IPASNum.spec:1.5 Wed May 6 12:30:18 2009
+++ packages/GeoIP-db-IPASNum/GeoIP-db-IPASNum.spec Sun Dec 5 14:11:58 2010
@@ -3,12 +3,12 @@
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: 2009.03.21
+Version: 2010.12.04
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: 54ff84b55e7f873c919fc6a19fb0e7bd
+# Source0-md5: 2cc667b6dd97c0d8166f1997ba3aa868
Source1: http://www.maxmind.com/download/geoip/database/LICENSE.txt
# Source1-md5: a1381bd1aa0a0c91dc31b3f1e847cf4a
URL: http://www.maxmind.com/app/asnum
@@ -43,17 +43,21 @@
przez MaxWind, dostępne z <http://www.maxwind.com/>.
%prep
-%setup -q -c -T
-cp %{SOURCE0} .
-cp %{SOURCE1} .
+%setup -qcT
+cp -a %{SOURCE0} .
+cp -a %{SOURCE1} .
gunzip GeoIPASNum.dat.gz
+ver=$(stat -c '%y' GeoIPASNum.dat | awk '{print $1}' | tr - .)
+if [ "$ver" != %{version} ]; then
+ exit 1
+fi
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/GeoIP
-
-install GeoIPASNum.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP
+cp -a GeoIPASNum.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP
%clean
rm -rf $RPM_BUILD_ROOT
@@ -69,6 +73,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2010/12/05 13:11:58 glen
+- up to 2010.12.04
+
Revision 1.5 2009/05/06 10:30:18 amateja
- updated to 2009.03.21
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/GeoIP-db-IPASNum/GeoIP-db-IPASNum.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list