https://git.altlinux.org/srpms/L/LibreOffice.git?p=LibreOffice.git;a=blob;f=libreoffice.spec;h=256b2e429fd52350cbe83881cab68d673cdce1b6;hb=24.8.0.3-alt1#l554 > # Hack out "Education" category from Math > sed -i 's/Education;//' %buildroot%lodir/share/xdg/math.desktop Но: > # cat /usr/share/applications/LibreOffice-math.desktop | grep Education > Categories=Office;Education;Science;Math;X-Red-Hat-Base; LibreOffice-24.8.0.3-alt1.x86_64 ALT Workstation, обновленный до sisyphus В -still удаляется.
Пакет LibreOffice слит в libreoffice (https://packages.altlinux.org/tasks/398440/). Причина сохранилась: в libreoffice.spec:799 хак `subst 's/Education;//' %buildroot%lodir/share/xdg/math.desktop` правит копию в share/xdg, а /usr/share/applications/libreoffice-math.desktop создаётся скриптом bin/distro-install-desktop-integration (add_wrapper lomath …) отдельно, поэтому в установленном файле Education остаётся. Править нужно %buildroot%_desktopdir/libreoffice-math.desktop (либо оба файла). Перевешиваю на libreoffice.