From caed650189f8cb5c7c9133038e790a28c3c28cf4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 31 Oct 2018 01:31:44 +0200 Subject: [PATCH] updated to 20181023 --- xtables-geoip.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xtables-geoip.spec b/xtables-geoip.spec index e70ade8..bd42789 100644 --- a/xtables-geoip.spec +++ b/xtables-geoip.spec @@ -1,7 +1,7 @@ Summary: GeoIP database files for xt_geoip Summary(pl.UTF-8): Pliki baz danych GeoIP dla xt_geoip Name: xtables-geoip -Version: 20181024 +Version: 20181023 Release: 1 License: GPL, Open Data License Group: Networking/Admin @@ -36,7 +36,8 @@ xtables-addons. %prep %setup -qc -ver=$(ls -d GeoLite2-Country-CSV_* | head -1 | %{__sed} 's/^GeoLite2-Country-CSV_//') +ver=$(echo GeoLite2-Country-CSV_*) +ver=${ver#GeoLite2-Country-CSV_} if [ "$ver" != %{version} ]; then exit 1 fi -- 2.44.0