loonycyborg wrote:
"scons prefix=%{buildroot} install". Why doesn't it work?
It's not, what I want to do, I have a prefix set, it's /usr, where the files shell be installed to, when the package is installed.
During the creation of an rpm-package, the system has to install the packages into a fake root-Filesystem, the so called RPM_BUILD_ROOT.
So you have to do two differnt things, tell scons, where the files will go, when the package is installed, that is in my rpm-spec-File a line
Code:
scons configure prefix=/usr
and then telling the installation-routine, where the fake root-Directory is.
Using autotools that's
Code:
./configure --prefix=/usr
...
make DESTDIR=%{buildroot} install
I think scons should have a similar possibility, as I read
here that is not yet the case and has to be done in some kind of workarround.
Oliver