Accepting request 602799 from network
OBS-URL: https://build.opensuse.org/request/show/602799 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/keepalived?expand=0&rev=22
This commit is contained in:
commit
75f321adaf
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 30 14:41:46 UTC 2018 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Only Require insserv on distributions without systemd.
|
||||||
|
- Fix systemd related requires/buildRequires
|
||||||
|
- Do not run scriptlets that use insserv when using systemd
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 22 10:07:17 UTC 2018 - dmueller@suse.com
|
Thu Feb 22 10:07:17 UTC 2018 - dmueller@suse.com
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ Name: keepalived
|
|||||||
Version: 1.4.1
|
Version: 1.4.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A keepalive facility for Linux
|
Summary: A keepalive facility for Linux
|
||||||
License: GPL-2.0+
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Networking/Routing
|
Group: Productivity/Networking/Routing
|
||||||
Url: http://www.keepalived.org/
|
Url: http://www.keepalived.org/
|
||||||
Source: http://www.keepalived.org/software/%{name}-%{version}.tar.gz
|
Source: http://www.keepalived.org/software/%{name}-%{version}.tar.gz
|
||||||
@ -72,11 +72,12 @@ BuildRequires: popt-devel
|
|||||||
BuildRequires: cyrus-sasl-devel
|
BuildRequires: cyrus-sasl-devel
|
||||||
%endif
|
%endif
|
||||||
Requires(pre): pwdutils
|
Requires(pre): pwdutils
|
||||||
Requires(pre): %insserv_prereq
|
|
||||||
Requires(pre): %fillup_prereq
|
Requires(pre): %fillup_prereq
|
||||||
%if %{with systemd}
|
%if %{with systemd}
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd-rpm-macros
|
||||||
Requires: systemd
|
%{?systemd_requires}
|
||||||
|
%else
|
||||||
|
Requires(pre): %insserv_prereq
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -168,9 +169,10 @@ getent passwd %{name} >/dev/null || \
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%stop_on_removal %{name}
|
|
||||||
%if %{with systemd}
|
%if %{with systemd}
|
||||||
%service_del_preun %{name}.service
|
%service_del_preun %{name}.service
|
||||||
|
%else
|
||||||
|
%stop_on_removal %{name}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -180,10 +182,11 @@ getent passwd %{name} >/dev/null || \
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%insserv_cleanup
|
|
||||||
%restart_on_update %{name}
|
|
||||||
%if %{with systemd}
|
%if %{with systemd}
|
||||||
%service_del_postun %{name}.service
|
%service_del_postun %{name}.service
|
||||||
|
%else
|
||||||
|
%insserv_cleanup
|
||||||
|
%restart_on_update %{name}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user