diff --git a/nodejs-common.spec b/nodejs-common.spec index 4f25348..af4c368 100644 --- a/nodejs-common.spec +++ b/nodejs-common.spec @@ -61,20 +61,20 @@ Requires: nodejs10 # GENERAL SUPPORT ARCHES # SLE-12 variants -%if 0%{suse_version} < 1500 +%if 0%{?suse_version} < 1500 Requires: nodejs%{NODEJS_LTS} %endif # TW -%if 0%{suse_version} > 1500 +%if 0%{?suse_version} > 1500 Requires: nodejs%{NODEJS_CURRENT} %endif # SLE-15 variants, variation based on SP -%if 0%{sle_version} >= 150000 && 0%{sle_version} < 150200 +%if 0%{?sle_version} >= 150000 && 0%{?sle_version} < 150200 Requires: nodejs10 %endif -%if 0%{sle_version} >= 150200 +%if 0%{?sle_version} >= 150200 Requires: nodejs%{NODEJS_LTS} %endif