From 64b9f7f60a17bef693085117ada8e63bfd1fc27903678aa7acc7cb3e42f9e78d Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Wed, 29 Sep 2021 07:35:03 +0000 Subject: [PATCH] macro fixed OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=189 --- slurm.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/slurm.spec b/slurm.spec index caa009e..8a8a3c5 100644 --- a/slurm.spec +++ b/slurm.spec @@ -122,6 +122,10 @@ ExclusiveArch: do_not_build %define libslurm libslurm%{so_version} %{!?_rundir:%define _rundir /var/run} +%if !0%{?_pam_moduledir:1} +%define _pam_moduledir /%_lib +%endif + Name: %{pname}%{?upgrade:%{_ver}} Version: %{ver} Release: 0