summaryrefslogtreecommitdiffstats
path: root/rpm
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-08-05 12:16:54 (GMT)
committerSteven Knight <knight@baldmt.com>2003-08-05 12:16:54 (GMT)
commit2e861a0422e5330249e360b5098b3ad00d26b5e9 (patch)
tree2445339c40ccd04c4813b6cf16dbddfad1c7f01b /rpm
parent3af5f2686768cb67ab051bc2b585445814dd55ed (diff)
downloadSCons-2e861a0422e5330249e360b5098b3ad00d26b5e9.zip
SCons-2e861a0422e5330249e360b5098b3ad00d26b5e9.tar.gz
SCons-2e861a0422e5330249e360b5098b3ad00d26b5e9.tar.bz2
Make how we build our .rpm packages not depend on the default installation locations from the distutils being used.
Diffstat (limited to 'rpm')
-rw-r--r--rpm/scons.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm/scons.spec.in b/rpm/scons.spec.in
index a276af7..d5a4201 100644
--- a/rpm/scons.spec.in
+++ b/rpm/scons.spec.in
@@ -40,7 +40,7 @@ defined Builder and/or Scanner objects.
python setup.py build
%install
-python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
+python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES --install-lib=/usr/lib/scons --install-scripts=/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/man/man1
gzip -c scons.1 > $RPM_BUILD_ROOT/usr/man/man1/scons.1.gz
gzip -c sconsign.1 > $RPM_BUILD_ROOT/usr/man/man1/sconsign.1.gz