aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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