Christophe Giboudeaux 2021-08-11 13:40:06 +00:00 committed by Git OBS Bridge
parent 2092968cdd
commit ca9ea77572

View File

@ -146,7 +146,7 @@ export CXXFLAGS="%{optflags} -DHAS_ONLY_OPENGL_ES"
chmod -x %{buildroot}/%{_kf5_applicationsdir}/*.desktop
# remove shebang to avoid rpmlint warning, that file is not supposed to be run directly anyway
sed -i "/#!\/usr\/bin\/env/d" %{buildroot}/%{_kf5_libdir}/krita-python-libs/krita/sceditor/highlighter.py
sed -i "/#!\/usr\/bin\/env/d" %{buildroot}%{_kf5_libdir}/krita-python-libs/krita/sceditor/highlighter.py
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig