Accepting request 850262 from home:fbui:branches:devel:languages:erlang

- %insserv_prereq is only requires when !have_systemd

OBS-URL: https://build.opensuse.org/request/show/850262
OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-server?expand=0&rev=155
This commit is contained in:
Dirk Mueller 2020-12-08 08:19:12 +00:00 committed by Git OBS Bridge
parent 47c25a88d5
commit b6aef7ebe3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 23 15:38:36 UTC 2020 - Franck Bui <fbui@suse.com>
- %insserv_prereq is only requires when !have_systemd
-------------------------------------------------------------------
Tue Oct 20 09:30:39 UTC 2020 - Gabriele Santomaggio <g.santomaggio@gmail.com>

View File

@ -72,7 +72,6 @@ Provides: AMQP-server
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires(pre): shadow
Requires(pre): %fillup_prereq
Requires(pre): %insserv_prereq
Requires: rabbitmq-server-plugins
%if 0%{?suse_version} > 1140
BuildRequires: pkgconfig(systemd)
@ -82,6 +81,7 @@ Requires: socat
%else
Requires: %fillup_prereq
Requires: %insserv_prereq
Requires(pre): %insserv_prereq
%endif
# Do not use noarch since the Erlang packaging does not really allow that
#BuildArch: noarch