aboutsummaryrefslogtreecommitdiffstats
path: root/src/install-rpm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/install-rpm.sh')
-rwxr-xr-xsrc/install-rpm.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/install-rpm.sh b/src/install-rpm.sh
new file mode 100755
index 00000000..a9c9e1ef
--- /dev/null
+++ b/src/install-rpm.sh
@@ -0,0 +1,3 @@
+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