OBS not fully FHS compliant?

In my package, i’m trying to put everything under /opt/%{name}/*, but OBS tells me that this is not allowed in FHS 2.2. If i understand http://www.pathname.com/fhs/2.2/fhs-3.12.html correctly, /opt/<package> should be perfectly fine however.

Am i missing something or is this a bug in OBS?

Thanks
-Fritz

Hello,

there was a discussion on the mailing-list about this rpmlint complaints
[opensuse-buildservice] rpmlint error /opt/… is not allowed anymore i](http://lists.opensuse.org/opensuse-buildservice/2008-11/msg00061.html)

Hope this helps

I have the same problem: package is build OK except it is installed in /opt. So it does not allow it to publish.

I had the same problem about a year ago.
I solved the problem after an advise in the #opensuse-buildservice IRC

I do not exactly remember the change but i think it was the following line in the SPEC file.

Vendor: pvb

(We install to /opt/pvb)
The line Vendor must be inserted in the header of the SPEC file.
We have it after
Packager: our name

This has nothing to do with obs, but with the policy rules, which are installed by openSUSE distro configs by default.

OBS is intendended to be used to build distro packages (so it is easy to build for SUSE, Fedora and friends at the same time) and not for building a single binary which is installed under all (which are intended to use /opt).

Vendor: pvb

(We install to /opt/pvb)
The line Vendor must be inserted in the header of the SPEC file.
We have it after

This does not work for me.