Skip to content

Commit

Permalink
On centos-7 build host python is 2.75 but lcov requires python3 so by…
Browse files Browse the repository at this point in the history
…te compile manually

Ticket: ENT-12140
Changelog: squashme
  • Loading branch information
craigcomstock committed Aug 23, 2024
1 parent 2e8a4a5 commit ed73853
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deps-packaging/lcov/cfbuild-lcov.spec
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ exit 0
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr CFG_DIR=/etc

# Manually invoke the python byte compile macro for each path that needs byte
# compilation.
%py_byte_compile %{__python3} %{buildroot}%{_datadir}/support-scripts/spreadsheet.py
%clean
rm -rf $RPM_BUILD_ROOT

Expand Down

0 comments on commit ed73853

Please sign in to comment.