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