<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>35292</bug_id>
          
          <creation_ts>2018-08-24 11:55:14 +0300</creation_ts>
          <short_desc>Education is not hacked out properly from math.desktop</short_desc>
          <delta_ts>2019-02-20 02:45:17 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>LibreOffice-integrated</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan A. Melnikov">iv</reporter>
          <assigned_to name="Fr. Br. George">george</assigned_to>
          <cc>george</cc>
    
    <cc>grenka</cc>
    
    <cc>kotopesutility</cc>
    
    <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>173588</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2018-08-24 11:55:14 +0300</bug_when>
    <thetext>Заметил, что LibreOffice Math присутствует в меню в категории Education, несмотря на явную попытку в спеке её оттуда убрать:

 sed -i &apos;s/Education;//&apos; %buildroot%lodir/share/xdg/math.desktop

Дело в том, что sed -i разъединяет хардлики, поэтому получается как-то так:

$ diff -U0 /usr/lib64/LibreOffice/share/xdg/math.desktop /usr/share/applications/math.desktop
--- /usr/lib64/LibreOffice/share/xdg/math.desktop       2018-06-06 20:53:05.000000000 +0400
+++ /usr/share/applications/math.desktop        2018-06-06 20:53:05.000000000 +0400
@@ -24 +24 @@
-Categories=Office;Spreadsheet;Science;Math;X-Red-Hat-Base;X-MandrivaLinux-Office-Other;
+Categories=Office;Spreadsheet;Education;Science;Math;X-Red-Hat-Base;X-MandrivaLinux-Office-Other;

Предлагаю этот sed, если он правда нужен, перенести примерно на 7 строчек вверх, чтобы хардлинк создавался на уже исправленный файл.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>178759</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2019-02-20 02:45:17 +0300</bug_when>
    <thetext>LibreOffice-6.2.1.1-alt1 -&gt; sisyphus:

Mon Feb 18 2019 Fr. Br. George &lt;george@altlinux.ru&gt; 6.2.1.1-alt1
- Update to 6.2.1.1 (Closes: #36107, #35504, #35420, #35292)
- Move KDE-depended library to -kde5 package (Closes: #36100)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>