diff options
| author | Boulder Sprinters <boulder-sprinters@djangoproject.com> | 2007-03-09 17:43:46 +0000 |
|---|---|---|
| committer | Boulder Sprinters <boulder-sprinters@djangoproject.com> | 2007-03-09 17:43:46 +0000 |
| commit | 0b7dd14d1f87e2ecef7aacc39fe4189667ed4fdf (patch) | |
| tree | b77497f9de324d38a9c6341e54d2742633e20055 /scripts | |
| parent | e17f75551491f5b864c1fc8a97c21d0b2bbf0bcd (diff) | |
boulder-oracle-sprint: Merged to trunk [4692].
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/rpm-install.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/rpm-install.sh b/scripts/rpm-install.sh new file mode 100644 index 0000000000..07a087c447 --- /dev/null +++ b/scripts/rpm-install.sh @@ -0,0 +1,19 @@ +#! /bin/sh +# +# this file is *inserted* into the install section of the generated +# spec file +# + +# this is, what dist.py normally does +python setup.py install --root=${RPM_BUILD_ROOT} --record="INSTALLED_FILES" + +for i in `cat INSTALLED_FILES`; do + if [ -f ${RPM_BUILD_ROOT}/$i ]; then + echo $i >>FILES + fi + if [ -d ${RPM_BUILD_ROOT}/$i ]; then + echo %dir $i >>DIRS + fi +done + +cat DIRS FILES >INSTALLED_FILES |
