mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-12 11:30:19 +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
(cherry picked from commit 68b38a09d1)
This commit is contained in:
parent
b033ab8449
commit
045194760e
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