diff --git a/nginx.changes b/nginx.changes index 416b94d..200a751 100644 --- a/nginx.changes +++ b/nginx.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 15 16:51:56 UTC 2018 - crrodriguez@opensuse.org + +- Do not require insserv on systemd-only releases. + ------------------------------------------------------------------- Mon May 7 10:25:46 UTC 2018 - achernikov@suse.com diff --git a/nginx.spec b/nginx.spec index 21d1be5..e06c0e5 100644 --- a/nginx.spec +++ b/nginx.spec @@ -120,8 +120,6 @@ BuildRequires: pkgconfig BuildRequires: vim BuildRequires: zlib-devel %requires_eq perl -Requires(pre): %fillup_prereq -Requires(pre): %insserv_prereq Requires(pre): pwdutils Recommends: logrotate Recommends: vim-plugin-nginx @@ -142,6 +140,9 @@ BuildRequires: libatomic-ops-devel %if %{with systemd} BuildRequires: pkgconfig(systemd) %{?systemd_requires} +%else +Requires(pre): %fillup_prereq +Requires(pre): %insserv_prereq %endif %description