Fix systemd executions/requirements

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel8
Igor Gnatenko 7 years ago
parent 95cb196f27
commit 5fd6cc84e4
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -7,7 +7,7 @@
Name: openvpn
Version: 2.4.4
Release: 1%{?prerelease:.%{prerelease}}%{?dist}
Release: 2%{?prerelease:.%{prerelease}}%{?dist}
Summary: A full-featured SSL VPN solution
URL: https://community.openvpn.net/
Source0: https://swupdate.openvpn.org/community/releases/%{name}-%{version}%{?prerelease:_%{prerelease}}.tar.xz
@ -28,19 +28,14 @@ BuildRequires: pkcs11-helper-devel >= 1.11
BuildRequires: pam-devel
# For the perl_default_filter macro
BuildRequires: perl-macros
%{?systemd_requires}
BuildRequires: systemd
BuildRequires: systemd-units
%{?systemd_requires}
BuildRequires: libselinux-devel
# For /sbin/ip.
BuildRequires: iproute
# For /sbin/ip.
Requires: iproute
Requires(pre): /usr/sbin/useradd
Requires(post): systemd-sysv
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
# Filter out the perl(Authen::PAM) dependency.
# No perl dependency is really needed at all.
@ -160,7 +155,6 @@ getent passwd openvpn &>/dev/null || \
%systemd_postun_with_restart openvpn-server@\*.service
%systemd_postun_with_restart openvpn@\*.service
%files
%{_pkgdocdir}
%exclude %{_pkgdocdir}/README.IPv6
@ -186,6 +180,9 @@ getent passwd openvpn &>/dev/null || \
%changelog
* Thu Jan 25 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.4.4-2
- Fix systemd executions/requirements
* Tue Sep 26 2017 David Sommerseth <dazo@eurephia.org> - 2.4.4-1
- Update to latest upstream release
- Includes fix for possible stack overflow if --key-method 1 is used {CVE-2017-12166}

Loading…
Cancel
Save