Avoid build error if %python3_fix_shebang_path is not defined

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/fence-agents?expand=0&rev=200
This commit is contained in:
Peter Varkoly 2024-08-29 10:00:31 +00:00 committed by Git OBS Bridge
parent b9e5680913
commit df28cb81e5

View File

@ -202,7 +202,9 @@ rm -f %{buildroot}/%{_libdir}/%{name}/*.*a
rm -f %{buildroot}/%{_libdir}/fence-virt/*.*a
#%fdupes %buildroot%{_sbindir}
#%fdupes %buildroot%{_datadir}/cluster
%if %{defined python3_fix_shebang_path}
%python3_fix_shebang_path %{buildroot}/%{_sbindir}/*
%endif
%check
make check