]> git.pld-linux.org Git - packages/GeoIP-db-Country.git/blobdiff - GeoIP-db-Country.spec
- release 2 (by relup.sh)
[packages/GeoIP-db-Country.git] / GeoIP-db-Country.spec
index f6612c7687bd99b90b3dccc3dccb431ba5196140..d54f8384d47ff8c130190ac8d9bcb8cd987e8e47 100644 (file)
@@ -2,16 +2,16 @@ Summary:      GeoLite Country - Country database for GeoIP
 Summary(pl.UTF-8):     GeoLite Country - baza danych krajów dla GeoIP
 Name:          GeoIP-db-Country
 # Updated every month:
-Version:       2011.01.03
-Release:       1
+Version:       2013.10.01
+Release:       2
 License:       OPEN DATA LICENSE (see LICENSE.txt)
 Group:         Applications/Databases
 Source0:       http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
-# Source0-md5: 560eaeef02761b866d106cda42929d4c
+# Source0-md5: 4aecef560aa6dacfe7e59dad8a12914b
 Source1:       http://www.maxmind.com/download/geoip/database/LICENSE.txt
 # Source1-md5: a1381bd1aa0a0c91dc31b3f1e847cf4a
 URL:           http://www.maxmind.com/app/geolitecountry
-Requires:      GeoIP-libs
+Requires:      GeoIP-libs >= 1.4.5-2
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -33,12 +33,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 GeoIP.dat.gz
 
-ver=$(stat -c '%y' GeoIP.dat | awk '{print $1}' | tr - .)
+ver=$(TZ=GMT stat -c '%y' GeoIP.dat | awk '{print $1}' | tr - .)
 if [ "$ver" != %{version} ]; then
        exit 1
 fi
@@ -46,7 +46,7 @@ fi
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/GeoIP
-cp -a GeoIP.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP
+cp -p GeoIP.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.026159 seconds and 4 git commands to generate.