Skip to content

Commit

Permalink
Merge pull request #2005 from jan-cerny/fix_rawhide_pathfix
Browse files Browse the repository at this point in the history
Fix pathfix usage in spec
  • Loading branch information
evgenyz authored Aug 29, 2023
2 parents aa6c6fe + 4071bb5 commit ed91feb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openscap.spec
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,11 @@ ctest -V %{?_smp_mflags}
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'

# fix python shebangs
%if 0%{?fedora}
%{__python3} %{_rpmconfigdir}/redhat/pathfix.py -i %{__python3} -p -n $RPM_BUILD_ROOT%{_bindir}/scap-as-rpm
%else
pathfix.py -i %{__python3} -p -n $RPM_BUILD_ROOT%{_bindir}/scap-as-rpm
%endif

%ldconfig_scriptlets

Expand Down

0 comments on commit ed91feb

Please sign in to comment.