From db5ace2fb9375f84d327eeff0e9af0baf8b760a97a547c0216ab9488d45364b4 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Sun, 7 Jul 2019 14:57:15 +0000 Subject: [PATCH] - Fix test for Factory OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=96 --- slurm.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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