(#2006490) follow the Fedora Packaging Guidelines by adding %dir

%attr(0710,%scanuser,virusgroup) to %files section, it is needed on epel7 on
  initial installation without reboot.
This commit is contained in:
Sérgio M. Basto 2021-09-22 15:06:46 +01:00
parent 91af107a63
commit 39f01d448c
2 changed files with 12 additions and 5 deletions

View File

@ -42,7 +42,7 @@
Summary: End-user tools for the Clam Antivirus scanner
Name: clamav
Version: 0.103.3
Release: 6%{?dist}
Release: 7%{?dist}
License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
URL: https://www.clamav.net/
%if %{with unrar}
@ -63,9 +63,9 @@ Source5: clamd-README
# Check the first line of the file for version or run file *cvd
# Attention file < 5.33-7 have bugs see https://bugzilla.redhat.com/show_bug.cgi?id=1539107
#http://database.clamav.net/main.cvd
Source10: main-61.cvd
Source10: main-62.cvd
#http://database.clamav.net/daily.cvd
Source11: daily-26275.cvd
Source11: daily-26299.cvd
#http://database.clamav.net/bytecode.cvd
Source12: bytecode-333.cvd
#for update
@ -593,6 +593,7 @@ test -e %freshclamlog || {
%_sbindir/clamd
%_unitdir/clamd@.service
%_tmpfilesdir/clamd.scan.conf
%dir %attr(0710,%scanuser,virusgroup) %scanstatedir
%files milter
@ -605,9 +606,15 @@ test -e %freshclamlog || {
# milterlog file is created in post
%ghost %attr(0620,root,%milteruser) %verify(not size md5 mtime) %milterlog
%_tmpfilesdir/clamav-milter.conf
%dir %attr(0710,%milteruser,%milteruser) %milterstatedir
%changelog
* Wed Sep 22 2021 Sérgio Basto <sergio@serjux.com> - 0.103.3-7
- (#2006490) follow the Fedora Packaging Guidelines by adding %%dir
%%attr(0710,%%scanuser,virusgroup) to %%files section, it is needed on epel7 on
initial installation without reboot.
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 0.103.3-6
- Rebuilt with OpenSSL 3.0.0

View File

@ -1,4 +1,4 @@
SHA512 (clamav-0.103.3-norar.tar.xz) = 3f3be128e201403a380213e270155fa4dfd4268c08da408ec185eb02dcbf36240826424af0fb746bdb3e5671d9201513b5ed74b2eab491b6b9915991a80d17ab
SHA512 (main-61.cvd) = 241a527b1ceb056fa3d72e97ad58ee0b420d613a03eb3871c1a9034efc7eb2eb109de49732c308f526a7e5078680fcebbeceec411f612161af882da571c10759
SHA512 (daily-26275.cvd) = 41bd8ea0f8c91939caeff4aebfd806a24295be84a11cc4e676737def70f0d22af4d2967bcbb8bb267ff85bd9785681104097897da435ccc76ea3f6ffd0c2df0a
SHA512 (main-62.cvd) = b52e5d9ecacbd9b11c3b0cc460388746fccb353a7520522ed15ee25f645a432bed5be7e6b38512f134f085eb9be76a1e26c19de8b09491d4ec46da8c5afc318e
SHA512 (daily-26299.cvd) = 127525f78df687fa2524f7b49db1a406e45ee6d5c074453f107cdd2e187fac9fb039a92188ad563f4cee4b7a7f51f51d98df5a410e55daa3f2c388a4fe71808b
SHA512 (bytecode-333.cvd) = 895c41266b9bc332f3a00c9267907251ad32abe3a5bff7584285e087430fe0dd7343e4ac0245308f3734d971d6ecb5656fd9ce6caf0fa24f9da7a41a96bc4d07