diff --git a/clam.tcl b/clam.tcl deleted file mode 100644 index dd4e3e8..0000000 --- a/clam.tcl +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/tclsh -package require Expect - -proc pne {x} { - if {$x != ""} { - puts $x - } -} - -set x 0 -set L "" -set C "" -log_user 0 -spawn clamscan eicar_test_files -expect_before -re "((L|C)\[^\r\]*)\r" { - set $expect_out(2,string) $expect_out(1,string) - exp_continue -} eof { - pne $L - pne $C - pne $expect_out(buffer) - puts "*** clamscan died! ***" - exit 1 -} -expect "\n"; # newline after "Loading: ..." -expect "\n"; # newline after "Compiling: ..." -expect_before -pne $L -pne $C -puts "" -log_user 1 -expect "FOUND" { - incr x - exp_continue -} eof -if {$x ne 3} { - exit 1 -} diff --git a/clamav.changes b/clamav.changes index 1c11e08..ffa5d31 100644 --- a/clamav.changes +++ b/clamav.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 9 20:21:42 UTC 2024 - Andreas Stieger + +- fix factory submission (clam.tcl) + ------------------------------------------------------------------- Tue Sep 10 13:05:08 UTC 2024 - Reinhard Max diff --git a/clamav.spec b/clamav.spec index 3fe3549..4596482 100644 --- a/clamav.spec +++ b/clamav.spec @@ -2,6 +2,7 @@ # spec file for package clamav # # Copyright (c) 2024 SUSE LLC +# Copyright (c) 2024 Andreas Stieger # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed