mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 10:40:08 +01:00
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:
parent
571786c211
commit
68b38a09d1
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue