Bug ID 965294
Summary LO 5.1.x installs two sets of appdata files
Classification openSUSE
Product openSUSE Tumbleweed
Version 2015*
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component LibreOffice
Assignee bnc-team-screening@forge.provo.novell.com
Reporter dimstar@opensuse.org
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Since the upgrade to LO 5.1, there are now two sets of Appdata files installed.

The results in zypper being confused about some applications, e.g:

> zypper verify
Loading repository data...
Reading installed packages...

The following 5 applications are going to be REMOVED:
  "LibreOffice Base" "LibreOffice Calc" "LibreOffice Draw" "LibreOffice
Impress" "LibreOffice Writer"


The problem boils down to (on the example of libreoffice-writer, the others are
analog):

> rpm -ql libreoffice-writer | grep appdata
/usr/share/appdata/libreoffice-writer.appdata.xml
/usr/share/appdata/writer.appdata.xml

Where /usr/share/appdata/libreoffice-writer.appdata.xml specifies to belong to
an app with a .desktop file called <id>libreoffice-writer.desktop</id>

This .desktop file does not exist in our package - hence the 'application' was
filtered out from the AppStream metadata (invalid info found)

There are various solutions:

a) use only the upstream provided appdata.xml file and .desktop file (which I
think would be the cleanest solution from a packaging PoV)
b) use only the downstream provided appdata.xml file and the renamed desktop
files.

In any case: the files have to be aligned


You are receiving this mail because: