Mailinglist Archive: opensuse-packaging (31 mails)

< Previous Next >
Re: [opensuse-packaging] Problem packaging icon file
  • From: Axel Braun <axel.braun@xxxxxx>
  • Date: Sat, 14 Sep 2019 11:34:04 +0200
  • Message-id: <92281470.XQpZjX1QIo@t520.axxite.internal>
Hallo Pascal,

Am Freitag, 13. September 2019, 20:03:08 CEST schrieben Sie:

I aggree with you "cp is not ln"... But fdupes detects when there
are identical files in your package and it hardlinks them, as shown in
the log file.

Indeed, looks I missed that!

[ 94s] + dupes -q -p -n -H -o name -r
/home/abuild/rpmbuild/BUILDROOT/gnuhealth-client-35-8.1.x86_64 [...]
[ 94s] + test -z
/home/abuild/rpmbuild/BUILDROOT/gnuhealth-client-35-8.1.x86_64/usr/share/pi
xmaps/gnuhealth.png [ 94s] + test 0 = 1
[ 94s] + ln -f
/home/abuild/rpmbuild/BUILDROOT/gnuhealth-client-35-8.1.x86_64/usr/lib/pyth
on3.7/site-packages/tryton/data/pixmaps/tryton/gnuhealth-icon.png
/home/abuild/rpmbuild/BUILDROOT/gnuhealth-client-35-8.1.x86_64/usr/share/pi
xmaps/gnuhealth.png

I think including icons in the python library path is a bad practice
and you should avoid it. However, if you really need it, I do not know
how to solve the problem (tune fdupes check? modify rpmlintrc?). I hope
this helps.

Well, all the symbols needed for the GUI are placed in the python-subtree, as
well as the icon for the desktop-file.

I moved the icon file out of the python-subtree, so fdupes can't complain any
longer. Now it builds.

Thanks
Axel


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

< Previous Next >