From 130d9a1b0a3188f8c0285bad8ae2c3458cd9c571 Mon Sep 17 00:00:00 2001 From: Guillaume Chazarain Date: Mon, 22 Nov 2010 20:47:18 +0100 Subject: [PATCH] Try to do without the install-rpm.sh hack --- install-rpm.sh | 19 ------------------- setup.cfg | 1 - 2 files changed, 20 deletions(-) delete mode 100755 install-rpm.sh diff --git a/install-rpm.sh b/install-rpm.sh deleted file mode 100755 index ba8b955..0000000 --- a/install-rpm.sh +++ /dev/null @@ -1,19 +0,0 @@ -#! /bin/sh -# -# Copied from: http://trac.edgewall.org/ticket/1141 -# -# this file is *inserted* into the install section of the generated -# spec file -# - -# this is, what dist.py normally does -./setup.py install --root=${RPM_BUILD_ROOT} --record="INSTALLED_FILES" - -# catch compressed man pages -sed -i -e 's@\(.\+/man/man[[:digit:]]/.\+\.[[:digit:]]\)$@\1*@' "INSTALLED_FILES" - -# catch any compiled python files (.pyc, .pyo), but don't list them twice -sed -i -e 's@\(.\+\)\.py$@\1.py*@' \ - -e '/.\+\.pyc$/d' \ - "INSTALLED_FILES" - diff --git a/setup.cfg b/setup.cfg index e3e152e..bc763cc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,4 +1,3 @@ [bdist_rpm] -install_script = install-rpm.sh doc_files = COPYING NEWS README -- 2.11.4.GIT