File: rpm-install.sh

package info (click to toggle)
python-socksipychain 2.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 224 kB
  • sloc: python: 937; makefile: 54; sh: 15
file content (8 lines) | stat: -rwxr-xr-x 324 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
# This is a replacement for the default disttools RPM build method
# which gets the file lists right, including the byte-compiled files.
python setup.py install --root=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f \
  |sed -e "s|^$RPM_BUILD_ROOT/*|/|" \
       -e 's|/[^/]*$||' \
  |uniq >INSTALLED_FILES
cat INSTALLED_FILES