Projects
Kolab:3.4
clamav
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
clamav.spec
Changed
@@ -1,5 +1,6 @@ #global prerelease rc1 +%if 0%{?opensuse_bs} < 1 ## Fedora Extras specific customization below... %bcond_without fedora %bcond_with upstart @@ -10,6 +11,7 @@ %bcond_without noarch %bcond_without bytecode ## +%endif %global _hardened_build 1 @@ -41,15 +43,6 @@ Requires(preun): /bin/systemctl\ Requires(postun): /bin/systemctl\ %nil} -%{!?systemd_install:%global systemd_install()\ -%post %1\ -%systemd_post %2 \ -%preun %1\ -%systemd_preun %2 \ -%postun %1\ -%systemd_postun_with_restart %2 \ -%nil} - Summary: End-user tools for the Clam Antivirus scanner Name: clamav @@ -85,7 +78,13 @@ Requires: data(clamav) BuildRequires: zlib-devel bzip2-devel gmp-devel curl-devel BuildRequires: ncurses-devel openssl-devel libxml2-devel -BuildRequires: %_includedir/tcpd.h + +%if 0%{?suse_version} +BuildRequires: tcpd-devel +%else +BuildRequires: tcp_wrappers-devel +%endif + %{?with_bytecode:BuildRequires: bc tcl groff graphviz} %if %{have_ocaml} %{?with_bytecode:BuildRequires: ocaml} @@ -144,7 +143,9 @@ Requires(pre): /etc/cron.d Requires(postun): /etc/cron.d Requires(post): %__chown %__chmod +%if 0%{?opensuse_bs} < 1 Requires(post): group(%username) +%endif %package server Summary: Clam Antivirus scanner server @@ -251,12 +252,14 @@ Source320: clamav-milter.sysv Provides: init(clamav-milter) = sysvinit Requires: clamav-milter = %version-%release -Requires(post): user(%milteruser) clamav-milter -Requires(preun): user(%milteruser) clamav-milter +%if 0%{?opensuse_bs} < 1 +Requires(post): user(%milteruser) +Requires(preun): user(%milteruser) +%endif Requires(pre): %_initrddir Requires(postun): %_initrddir initscripts -Requires(post): chkconfig -Requires(preun): chkconfig initscripts +Requires(post): chkconfig clamav-milter +Requires(preun): chkconfig initscripts clamav-milter Provides: clamav-milter-sysv = %version-%release Obsoletes: clamav-milter-sysv < %version-%release %{?noarch}
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.