From f9dfbdf7476362e1aaf755e8563434e37167407d Mon Sep 17 00:00:00 2001 From: shnavid Date: Wed, 7 Mar 2007 15:11:48 +0000 Subject: Implemented work-around against bug in bdist_rpm: http://sourceforge.net/tracker/index.php?func=detail&aid=644744&group_id=5470&atid=105470 git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@89 ef72aa8b-4018-0410-8976-d6e080ef94d8 --- src/install-rpm.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 src/install-rpm.sh (limited to 'src/install-rpm.sh') 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 -- cgit