[Numpy-discussion] cvs checkins for rpms

Jochen Küpper jochen at jochen-kuepper.de
Mon Jan 21 21:42:02 EST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 22 Jan 2002 00:26:33 -0500 Jochen Küpper wrote:


Jochen> ,----[python setup.py bdist_rpm]
[...]
Jochen> | + setup.py install --root=/var/tmp/Numeric-buildroot
Jochen> | /var/tmp/rpm-tmp.35738: setup.py: command not found
Jochen> | error: Bad exit status from /var/tmp/rpm-tmp.35738 (%install)
Jochen> `----

Looking at my own message I realize that the following patch is all
that is needed. '.' shouldn't be in your path, it definitely won't be
in mine.

Index: rpm_install.sh
===================================================================
RCS file: /cvsroot/numpy/Numerical/rpm_install.sh,v
retrieving revision 1.1
diff -u -r1.1 rpm_install.sh
- --- rpm_install.sh      2002/01/22 04:39:53     1.1
+++ rpm_install.sh      2002/01/22 05:39:50
@@ -1,4 +1,4 @@
- -setup.py install --root=$RPM_BUILD_ROOT
+./setup.py install --root=$RPM_BUILD_ROOT
 
 cat >INSTALLED_FILES <<EOF
 %doc Demo

Greetings,
Jochen
- -- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: 44BCCD8E
        Sex, drugs and rock-n-roll
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt and GnuPG <http://www.gnupg.org/>

iD8DBQE8TPuQiJ/aUUS8zY4RApgcAJ4mlgsdCbJoiXnF4s4IyENE1m+D2ACfXdGU
dtpO/3TQEiV+kjY79ZmDUPE=
=/wKD
-----END PGP SIGNATURE-----





More information about the NumPy-Discussion mailing list