Error: "prg" is not allowed anymore in FHS 2.2

Hi,

I’m building an tool in the buildservice. Everything seems ok in the most repositorys, only in opensuse 11.1 the building process failed with the following statement

I: File is compiled without RPM_OPT_FLAGS
W: prg no-rpm-opt-flags <cmdline>:prg_test.c,prg.c
… running 03-check-binary-kernel-log
… running 04-check-filelist
… checking filelist
prg: “/usr/local/bin/prg_test” is not allowed anymore in FHS 2.2

I’ve seen that the tool is created successfully in the tmp dir.

Now i’m interested what that means and where there is the Error?

Hi
You need to have a read here;
<http://www.pathname.com/fhs/2.2/&gt;

Basically it means /usr/local/bin is not allowed anymore. I think you
need to use /opt instead.

It can be overridden, but I think your should look at trying to get it
running in the correct location.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 (i586) Kernel 2.6.27.19-3.2-pae
up 17:52, 1 user, load average: 0.56, 0.28, 0.15
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

Thank you, that was the problem, Now the buildingprocess will run clean.