[packages/clamav-database] Rel 3
arekm
arekm at pld-linux.org
Wed May 20 21:08:19 CEST 2026
commit cda2eb8bcfd9dba4484f7f3c5d0de27e009c7fb3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed May 20 21:08:03 2026 +0200
Rel 3
clamav-database.spec | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/clamav-database.spec b/clamav-database.spec
index ad07b9d..676352b 100644
--- a/clamav-database.spec
+++ b/clamav-database.spec
@@ -1,9 +1,9 @@
%define main_version 57
-%define daily_version 2146
+%define daily_version 21466
%define bytecode_version 275
-%define safebrowsing_version 4450
+%define safebrowsing_version 44501
%define database_version 20160318
-%define rel 2
+%define rel 3
Summary: Virus databases for clamav
Summary(hu.UTF-8): Vírus adatbázis clamav-hoz
Summary(pl.UTF-8): Bazy wirusów dla clamava
@@ -40,10 +40,10 @@ Bazy wirusów dla clamava (aktualizowane %{database_version}).
cp -a %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} .
%build
-main_version=$(file main.cvd | awk -F, '/version/{print $2}' | awk '{print $NF}')
-daily_version=$(file daily.cvd | awk -F, '/version/{print $2}' | awk '{print $NF}')
-bytecode_version=$(file bytecode.cvd | awk -F, '/version/{print $2}' | awk '{print $NF}')
-safebrowsing_version=$(file safebrowsing.cvd | awk -F, '/version/{print $2}' | awk '{print $NF}')
+main_version=$(file main.cvd | grep -oE 'version [0-9]+' | awk '{print $2}')
+daily_version=$(file daily.cvd | grep -oE 'version [0-9]+' | awk '{print $2}')
+bytecode_version=$(file bytecode.cvd | grep -oE 'version [0-9]+' | awk '{print $2}')
+safebrowsing_version=$(file safebrowsing.cvd | grep -oE 'version [0-9]+' | awk '{print $2}')
if [ "$main_version" != %{main_version} ]; then
: Update %%define main_version $main_version, and retry
exit 1
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/clamav-database.git/commitdiff/cda2eb8bcfd9dba4484f7f3c5d0de27e009c7fb3
More information about the pld-cvs-commit
mailing list