Mercurial > genshi > mirror
view examples/trac/scripts/rpm-install.sh @ 60:2cb5b54d87ff trunk
Migrate attachment templates to Markup.
author | cmlenz |
---|---|
date | Wed, 05 Jul 2006 21:32:27 +0000 |
parents | 93b4dcbafd7b |
children |
line wrap: on
line source
#! /bin/sh # # 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"