Projects
Kolab:Winterfell
erlang
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 4
View file
erlang.spec
Changed
@@ -1,3 +1,9 @@ +%if 0%{?suse_version} < 1 && 0%{?fedora} < 1 && 0%{?rhel} < 7 +%global with_systemd 0 +%else +%global with_systemd 1 +%endif + %global need_bootstrap_set 0 %{!?need_bootstrap: %global need_bootstrap %{need_bootstrap_set}} @@ -145,15 +151,26 @@ %endif %endif -%if 0%{?el7}%{?fedora} -# for <systemd/sd-daemon.h> -BuildRequires: systemd-devel -BuildRequires: systemd -Requires(post): systemd -Requires(preun):systemd -Requires(postun):systemd -Requires: systemd +%if 0%{?with_systemd} +%if 0%{?suse_version} +Requires(post): systemd +Requires(postun): systemd +Requires(preun): systemd +%else +BuildRequires: systemd-devel +Requires(post): systemd-units +Requires(postun): systemd-units +Requires(preun): coreutils +Requires(preun): systemd-units +%endif +%else +Requires(post): chkconfig +Requires(post): initscripts +Requires(postun): initscripts +Requires(preun): chkconfig +Requires(preun): initscripts %endif + BuildRequires: autoconf BuildRequires: automake #BuildRequires: erlang-rpm-macros
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
.