Changeset 5492 for django/branches/gis/scripts
- Timestamp:
- 06/18/07 11:48:27 (2 years ago)
- Files:
-
- django/branches/gis (modified) (1 prop)
- django/branches/gis/scripts/rpm-install.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/gis
- Property svnmerge-integrated changed from /django/trunk:1-4785,4796-4797,4799-4809 to /django/trunk:1-5490
django/branches/gis/scripts/rpm-install.sh
r4490 r5492 1 1 #! /bin/sh 2 2 # 3 # this file is *inserted* into the install section of the generated 4 # spec file 3 # This file becomes the install section of the generated spec file. 5 4 # 6 5 7 # this is, what dist.py normally does6 # This is what dist.py normally does. 8 7 python setup.py install --root=${RPM_BUILD_ROOT} --record="INSTALLED_FILES" 9 8 9 # Sort the filelist so that directories appear before files. This avoids 10 # duplicate filename problems on some systems. 11 touch DIRS 10 12 for i in `cat INSTALLED_FILES`; do 11 13 if [ -f ${RPM_BUILD_ROOT}/$i ]; then … … 17 19 done 18 20 19 cat DIRS FILES >INSTALLED_FILES 21 # Make sure we match foo.pyo and foo.pyc along with foo.py (but only once each) 22 sed -e "/\.py[co]$/d" -e "s/\.py$/.py*/" DIRS FILES >INSTALLED_FILES 23 24 mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man1/ 25 cp docs/man/* ${RPM_BUILD_ROOT}/%{_mandir}/man1/ 26 cat << EOF >> INSTALLED_FILES 27 %doc %{_mandir}/man1/*" 28 EOF
