Why are my binary files going into the bin/ folder

Paul Krauss pkrauss at cmcplace.com
Thu Jan 8 20:52:32 UTC 2009

Creating a binary only rpm with 2 executables in it

I am creating the *.rpm as a non-root user by setting the %_topdir in

My BuildRoot in the *.spec is set to /opt/%{name}

My .rpm is created in the /RPMS folder and I ship it to my destination


However, when I install the rpm on the destination computer the binaries
are put in the /bin/ folder


Why aren't they going into the /opt/ folder like I wanted?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rpm.org/pipermail/rpm-list/attachments/20090108/7d2b6981/attachment.htm 

More information about the Rpm-list mailing list