Backport 3ae242fa5f - Add time-sync.target as wants

This commit is contained in:
Fabio Alessandro Locati 2022-12-26 11:10:17 +01:00
parent 4652f6cee5
commit 2690f0f2ef
No known key found for this signature in database
GPG Key ID: 6C87B5F613A3F7F8

View File

@ -36,7 +36,7 @@ Conflicts: nebula < 1.0
%prep
%goprep
# https://github.com/slackhq/nebula/pull/791
sed -i 's/\(Wants=.*\)$/\1 nss-lookup.target/' dist/fedora/nebula.service
sed -i 's/\(Wants=.*\)$/\1 nss-lookup.target time-sync.target/' dist/fedora/nebula.service
%generate_buildrequires
%go_generate_buildrequires