diff --git a/deps-packaging/lcov/cfbuild-lcov.spec b/deps-packaging/lcov/cfbuild-lcov.spec index 8abb3f504..77ae597be 100644 --- a/deps-packaging/lcov/cfbuild-lcov.spec +++ b/deps-packaging/lcov/cfbuild-lcov.spec @@ -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