admin/ohpc-filesystem: sles splits elf binary dependency scanning; add setting
for _elflib_exclude_path
@@ -59,6 +59,7 @@ install -p -m 755 %{SOURCE3} $RPM_BUILD_ROOT/usr/lib/rpm
%{__cat} <<EOF > %{buildroot}//usr/lib/rpm/fileattrs/ohpc.attr
%%__ohpc_provides /usr/lib/rpm/ohpc-find-provides
%%__ohpc_requires /usr/lib/rpm/ohpc-find-requires %%{buildroot} %{OHPC_HOME}
+
%%__ohpc_path ^%{OHPC_HOME}
%%__elf_exclude_path ^%{OHPC_HOME}
@@ -66,6 +67,12 @@ install -p -m 755 %{SOURCE3} $RPM_BUILD_ROOT/usr/lib/rpm
%%__ohpc_flags magic_and_path
EOF
+%if 0%{?sles_version} || 0%{?suse_version}
+%{__cat} <<EOF >> %{buildroot}//usr/lib/rpm/fileattrs/ohpc.attr
+%%__elflib_exclude_path ^%{OHPC_HOME}
+EOF
+%endif
+
%files
%dir /opt/ohpc/
