diff --git a/slurm.spec b/slurm.spec index 8b87725..3d1c94f 100644 --- a/slurm.spec +++ b/slurm.spec @@ -56,8 +56,11 @@ %define have_netloc 1 %endif -%define is_factory ( 0%{?is_opensuse:1} && 0%{!?sle_version:1} ) -%if %is_factory || 0%{?sle_version} >= 150000 +%if 0%{?is_opensuse} && 0%{!?sle_version:1} +%define is_factory 1 +%endif + +%if 0%{?is_factory} || 0%{?sle_version} >= 150000 %define have_hdf5 1 %define have_boolean_deps 1 %endif