commit d8054da6e3694668f4c8dfe8a0ec3ac40a739e2e
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Wed Aug 7 01:17:16 2019 +0200
Patch unit file to depend on systemd-resolved.service (#5325)
Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
wireguard.spec | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/wireguard.spec b/wireguard.spec
index f9eb5b2..f63178a 100644
--- a/wireguard.spec
+++ b/wireguard.spec
@@ -1,7 +1,7 @@
Name: wireguard
Summary: Fast, modern, secure VPN tunnel
Version: 0.0.20190702
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2
URL:
https://www.wireguard.com/
@@ -32,7 +32,8 @@ alike, fit for many different circumstances. It runs over UDP.
find contrib/ -type f -name ".gitignore" -exec rm "{}" \;
# Do not use /usr/bin/env
sed -i '1s@/usr/bin/env bash@/bin/bash@'
contrib/examples/ncat-client-server/client-quick.sh
-
+# Make the unit file depend on systemd-resolved.service
+sed -i 's(a)network-online.target nss-lookup.target(a)network-online.target
nss-lookup.target systemd-resolved.service@' src/tools/systemd/wg-quick@.service
%build
%set_build_flags
@@ -74,7 +75,10 @@ sed -i '1s@/usr/bin/env bash@/bin/bash@'
contrib/examples/ncat-client-server/cli
%changelog
-* Fri Jul 05 19:32:04 CEST 2019 Robert-André Mauchin <zebob.m(a)gmail.com> -
0.0.20190702-1
+* Tue Aug 06 23:01:56 CEST 2019 Robert-André Mauchin <zebob.m(a)gmail.com> -
0.0.20190702-2
+- Patch unit file to depend on systemd-resolved.service (#5325)
+
+* Fri Jul 05 19:32:04 CEST 2019 Robert-André Mauchin <zebob.m(a)gmail.com> -
0.0.20190702-2
- Release 0.0.20190702
* Fri May 31 20:14:05 CEST 2019 Robert-André Mauchin <zebob.m(a)gmail.com> -
0.0.20190531-1