X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=GeoIP-db-IPASNum.spec;h=d5639cb4b614c53173603f68e9caca7625a0f80a;hb=7182d3f3f992e9f89de75985cca96c0cd41ec90e;hp=98ef1b64b77391708b80e1d39504e3141afeee60;hpb=1fb9111f38946871b502bd2d0a00df805016325f;p=packages%2FGeoIP-db-IPASNum.git diff --git a/GeoIP-db-IPASNum.spec b/GeoIP-db-IPASNum.spec index 98ef1b6..d5639cb 100644 --- a/GeoIP-db-IPASNum.spec +++ b/GeoIP-db-IPASNum.spec @@ -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: 2015.06.14 +Version: 2017.03.25 Release: 1 License: CC 3.0 BY-SA Group: Applications/Databases -Source0: http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz -# Source0-md5: dc026c32b87ed17503faa96977e6dac9 +Source0: http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz?/GeoIPASNum-%{version}.dat.gz +# Source0-md5: 79996fa8923ba25c753bc3d3dff4aaf9 URL: http://dev.maxmind.com/geoip/legacy/geolite/ Requires: GeoIP-libs BuildArch: noarch @@ -25,12 +25,11 @@ Ten pakiet zawiera bazę danych tłumaczeń adresów IPv4 na numery AS dla GeoIP. Informacja licencyjna: ten produkt zawiera dane GeoLite stworzone -przez MaxWind, dostępne z . +przez MaxMind, dostępne z . %prep %setup -qcT -cp -p %{SOURCE0} . - +cp -p %{SOURCE0} GeoIPASNum.dat.gz gunzip GeoIPASNum.dat.gz ver=$(TZ=GMT stat -c '%y' GeoIPASNum.dat | awk '{print $1}' | tr - .)