Mailinglist Archive: opensuse-packaging (118 mails)

< Previous Next >
Re: [opensuse-packaging] Solving FHS policy, rpmlint error arch-dependent-file-in-usr-share
  • From: Rusmir Duško <nemysis@xxxxxx>
  • Date: Wed, 24 Jun 2015 21:17:21 +0200
  • Message-id: <20150624211721.6e127f3e@nemysis4now.nemysis4now>
On Wed, 24 Jun 2015 21:08:17 +0300
Roman Evstifeev <someuniquename@xxxxxxxxx> 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?

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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
References