Make sure that Obsoletes sysv and upstart for Epel upgrade and update
This commit is contained in:
parent
252e9b4a1c
commit
e817c70f8e
20
clamav.spec
20
clamav.spec
@ -70,7 +70,7 @@ Requires(postun): /bin/systemctl\
|
|||||||
Summary: End-user tools for the Clam Antivirus scanner
|
Summary: End-user tools for the Clam Antivirus scanner
|
||||||
Name: clamav
|
Name: clamav
|
||||||
Version: 0.99.2
|
Version: 0.99.2
|
||||||
Release: 15%{?dist}
|
Release: 16%{?dist}
|
||||||
License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
|
License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
URL: http://www.clamav.net
|
URL: http://www.clamav.net
|
||||||
@ -264,6 +264,9 @@ Requires: data(clamav)
|
|||||||
Requires: clamav-filesystem = %version-%release
|
Requires: clamav-filesystem = %version-%release
|
||||||
Requires: clamav-lib = %version-%release
|
Requires: clamav-lib = %version-%release
|
||||||
Requires: coreutils
|
Requires: coreutils
|
||||||
|
%if ! %{with sysv}
|
||||||
|
Obsoletes: server-sysvinit < %version-%release
|
||||||
|
%endif
|
||||||
|
|
||||||
%description server
|
%description server
|
||||||
ATTENTION: most users do not need this package; the main package has
|
ATTENTION: most users do not need this package; the main package has
|
||||||
@ -312,6 +315,12 @@ Provides: group(%scanuser) = 49
|
|||||||
Requires: clamav-server = %version-%release
|
Requires: clamav-server = %version-%release
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
Requires(pre): group(virusgroup)
|
Requires(pre): group(virusgroup)
|
||||||
|
%if ! %{with sysv}
|
||||||
|
Obsoletes: scanner-sysvinit < %version-%release
|
||||||
|
%endif
|
||||||
|
%if ! %{with upstart}
|
||||||
|
Obsoletes: scanner-upstart < %version-%release
|
||||||
|
%endif
|
||||||
%{?noarch}
|
%{?noarch}
|
||||||
|
|
||||||
%description scanner
|
%description scanner
|
||||||
@ -381,6 +390,12 @@ Provides: clamav-milter-core = %version-%release
|
|||||||
Obsoletes: clamav-milter-core < %version-%release
|
Obsoletes: clamav-milter-core < %version-%release
|
||||||
Provides: clamav-milter-sendmail = %version-%release
|
Provides: clamav-milter-sendmail = %version-%release
|
||||||
Obsoletes: clamav-milter-sendmail < %version-%release
|
Obsoletes: clamav-milter-sendmail < %version-%release
|
||||||
|
%if ! %{with sysv}
|
||||||
|
Obsoletes: milter-sysvinit < %version-%release
|
||||||
|
%endif
|
||||||
|
%if ! %{with upstart}
|
||||||
|
Obsoletes: milter-upstart < %version-%release
|
||||||
|
%endif
|
||||||
|
|
||||||
%description milter
|
%description milter
|
||||||
This package contains files which are needed to run the clamav-milter.
|
This package contains files which are needed to run the clamav-milter.
|
||||||
@ -919,6 +934,9 @@ test "$1" != "0" || /sbin/initctl -q stop clamav-milter || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 09 2018 Sérgio Basto <sergio@serjux.com> - 0.99.2-16
|
||||||
|
- Make sure that Obsoletes sysv and upstart for Epel upgrade and update
|
||||||
|
|
||||||
* Mon Jan 08 2018 Sérgio Basto <sergio@serjux.com> - 0.99.2-15
|
* Mon Jan 08 2018 Sérgio Basto <sergio@serjux.com> - 0.99.2-15
|
||||||
- Fix rundir path (#1126595)
|
- Fix rundir path (#1126595)
|
||||||
- Update main.cvd, daily.cvd and bytecode.cvd
|
- Update main.cvd, daily.cvd and bytecode.cvd
|
||||||
|
Loading…
Reference in New Issue
Block a user