From 5eadbbce7e2ad04422608319ac3ef6774c558f22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Thu, 2 Apr 2020 13:09:18 +0200 Subject: [PATCH] Fix string quoting for rpm >= 4.16 --- NetworkManager.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NetworkManager.spec b/NetworkManager.spec index 42323e0..c3a0568 100644 --- a/NetworkManager.spec +++ b/NetworkManager.spec @@ -21,10 +21,10 @@ %global _hardened_build 1 -%if "x%{?snapshot}" != x +%if "x%{?snapshot}" != "x" %global snapshot_dot .%{snapshot} %endif -%if "x%{?git_sha}" != x +%if "x%{?git_sha}" != "x" %global git_sha_dot .%{git_sha} %endif