Accepting request 766820 from home:dimstar:Factory

- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
  shortcut through the -mini flavors.
- Use %systemd_ordering instead of systemd_requires: in fact,
  systemd is not a hard requirement for openvpn. But in case a
  system is being installed with systemd, we want systemd to be
  there before  openvpn is being installed.

OBS-URL: https://build.opensuse.org/request/show/766820
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=148
This commit is contained in:
Reinhard Max 2020-01-29 14:48:36 +00:00 committed by Git OBS Bridge
parent 6988200f52
commit ba0faf4e78
2 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Jan 24 11:22:01 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
shortcut through the -mini flavors.
- Use %systemd_ordering instead of systemd_requires: in fact,
systemd is not a hard requirement for openvpn. But in case a
system is being installed with systemd, we want systemd to be
there before openvpn is being installed.
-------------------------------------------------------------------
Tue Jan 7 21:28:42 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -63,17 +63,13 @@ BuildRequires: xz
Requires: iproute2
Requires: pkcs11-helper >= 1.11
%if %{with_systemd}
%{?systemd_requires}
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(systemd)
%systemd_ordering
%else
PreReq: %fillup_prereq
PreReq: %insserv_prereq
%endif
%if %{with_systemd}
BuildRequires: systemd
%endif
%if %{with_systemd}
BuildRequires: pkgconfig(libsystemd)
%endif
%description
OpenVPN is a full-featured SSL VPN solution which can accommodate a wide