summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-04-02 09:35:06 +0200
committerThomas Haller <thaller@redhat.com>2020-04-02 09:36:37 +0200
commit68b38a09d13ac3d6ddfe99e0f46a69e68cfd7303 (patch)
treef5b2da0d4121caa4a50b04405ec6641a60b55c58 /contrib
parent571786c211feeae0b9fcce8d1e6d67f8cbcb527d (diff)
contrib/rpm: avoid bare words in spec file
error: bare words are no longer supported, please use "...": "x" != x error: ^ error: /root/nm-build/NetworkManager/contrib/fedora/rpm/NetworkManager.20200402-030113.Hk7EGs/SPECS/NetworkManager.spec:32: bad %if condition: "x" != x ERROR: rpmbuild FAILED
Diffstat (limited to 'contrib')
-rw-r--r--contrib/fedora/rpm/NetworkManager.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec
index c706ce1b79..e9a003e139 100644
--- a/contrib/fedora/rpm/NetworkManager.spec
+++ b/contrib/fedora/rpm/NetworkManager.spec
@@ -29,10 +29,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