3 # Copied from: http://trac.edgewall.org/ticket/1141
5 # this file is *inserted* into the install section of the generated
9 # this is, what dist.py normally does
10 .
/setup.py
install --root=${RPM_BUILD_ROOT} --record="INSTALLED_FILES"
12 # catch compressed man pages
13 sed -i -e 's@\(.\+/man/man[[:digit:]]/.\+\.[[:digit:]]\)$@\1*@' "INSTALLED_FILES"
15 # catch any compiled python files (.pyc, .pyo), but don't list them twice
16 sed -i -e 's@\(.\+\)\.py$@\1.py*@' \