aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorshnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-07-04 10:21:28 +0000
committershnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-07-04 10:21:28 +0000
commitaf5d959a1221054dce2e8fdfb4381f184f468d9b (patch)
tree7816c55667b783e62499c9126b0f3c9c0ff91294 /src
parent40a99de6a1e59c40399a0732a1eebc7391da2d71 (diff)
downloadsos-af5d959a1221054dce2e8fdfb4381f184f468d9b.tar.gz
* clean up builddir in %install as required by rpmlint
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@172 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src')
-rwxr-xr-xsrc/install-rpm.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/install-rpm.sh b/src/install-rpm.sh
index a9c9e1ef..0ec6da38 100755
--- a/src/install-rpm.sh
+++ b/src/install-rpm.sh
@@ -1,3 +1,4 @@
+rm -rf $RPM_BUILD_ROOT
python setup.py install --optimize 1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
# 'brp-compress' gzips the man pages without distutils knowing... fix this
sed -i -e 's@man/man\([[:digit:]]\)/\(.\+\.[[:digit:]]\)$@man/man\1/\2.gz@g' INSTALLED_FILES