Mailinglist Archive: opensuse-packaging (31 mails)

< Previous Next >
[opensuse-packaging] Problem packaging icon file
  • From: Axel Braun <axel.braun@xxxxxx>
  • Date: Fri, 13 Sep 2019 19:30:04 +0200
  • Message-id: <7417584.2iZ3k4ng26@t520.axxite.internal>

I'm currently building a python 3 program, that will create a desktop file
entry. The samepackaging sequence as for the python 2.7 does - surprisingly -
not work.

What I do:
# menu-entry
desktop-file-install --dir %{buildroot}%{_datadir}/applications %
%suse_update_desktop_file %{name}

mkdir -p %{buildroot}%{_datadir}/pixmaps
cp tryton/data/pixmaps/tryton/gnuhealth-icon.png %{buildroot}%{_datadir}/

That works *but* the rpm check moans about:

gnuhealth-client.noarch: E: hardlink-across-partition (Badness: 10000) /usr/
lib/python3.6/site-packages/tryton/data/pixmaps/tryton/gnuhealth-icon.png /
[ 12s] Your package contains two files that are apparently hardlinked and
that are
[ 12s] likely on different partitions. Installation of such an RPM will fail
due to
[ 12s] RPM being unable to unpack the hardlink. do not hardlink across the
first two
[ 12s] levels of a path, e.g. between /srv/ftp and /srv/www or /etc and /

This is kinda strange - cp is not ln, no?
Any ideas?


To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >