[opensuse-packaging] Solving FHS policy, rpmlint error arch-dependent-file-in-usr-share
Hi. I am trying to build a package "Carla" I got rpmlint error "arch-dependent-file-in-usr-share": [ 489s] Carla.x86_64: E: arch-dependent-file-in-usr-share (Badness: 590) /usr/share/carla/resources/zynaddsubfx-ui [ 489s] This package installs an ELF binary in the /usr/share hierarchy, which is [ 489s] reserved for architecture-independent files. I have couple of questions: 1) Is it possible or allowed to fix this by creating a symlink (to binary) under /usr/share hierarchy? 2) Is such a violation of FHS acceptable in official openSUSE repositories? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Wed, 24 Jun 2015 20:08, Roman Evstifeev wrote:
Hi. I am trying to build a package "Carla"
I got rpmlint error "arch-dependent-file-in-usr-share":
[ 489s] Carla.x86_64: E: arch-dependent-file-in-usr-share (Badness: 590) /usr/share/carla/resources/zynaddsubfx-ui [ 489s] This package installs an ELF binary in the /usr/share hierarchy, which is [ 489s] reserved for architecture-independent files.
I have couple of questions: 1) Is it possible or allowed to fix this by creating a symlink (to binary) under /usr/share hierarchy?
2) Is such a violation of FHS acceptable in official openSUSE repositories?
Well, how about placing the binary in /usr/lib/carla/ for 32bit and /usr/lib64/carla/ for 64bit ? I'm unsure on the policy about placing the link to the binary into /usr/share/carla/ , technically it should be OK. - Yamaban. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Wed, 24 Jun 2015 21:08:17 +0300
Roman Evstifeev
Hi. I am trying to build a package "Carla"
I got rpmlint error "arch-dependent-file-in-usr-share":
[ 489s] Carla.x86_64: E: arch-dependent-file-in-usr-share (Badness: 590) /usr/share/carla/resources/zynaddsubfx-ui [ 489s] This package installs an ELF binary in the /usr/share hierarchy, which is [ 489s] reserved for architecture-independent files.
I have couple of questions: 1) Is it possible or allowed to fix this by creating a symlink (to binary) under /usr/share hierarchy?
2) Is such a violation of FHS acceptable in official openSUSE repositories?
I have more RPM with this problem, and use only %{buildroot}%{_libexecdir}/%{name} and %files ... %{_libexecdir}/%{name} Please look games/twind -- Rusmir Dusko openSUSE Games maintainer https://build.opensuse.org/project/users/games -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Roman Evstifeev
-
Rusmir Duško
-
Yamaban