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
This commit is contained in:
Thomas Haller 2020-04-02 09:35:06 +02:00
parent 571786c211
commit 68b38a09d1

View file

@ -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