diff --git a/openscap.spec b/openscap.spec index e11b7bf..131608a 100644 --- a/openscap.spec +++ b/openscap.spec @@ -152,7 +152,7 @@ ctest -V %{?_smp_mflags} find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' # fix python shebangs -pathfix.py -i %{__python3} -p -n $RPM_BUILD_ROOT%{_bindir}/scap-as-rpm +%{__python3} %{_rpmconfigdir}/redhat/pathfix.py -i %{__python3} -p -n $RPM_BUILD_ROOT%{_bindir}/scap-as-rpm %ldconfig_scriptlets