Building RPM

Thomas Guettler guettli at thomas-guettler.de
Thu Nov 20 05:19:43 EST 2003


Hi!

I need to build a Python2.3.2 RPM for Suse7.3.

I looked at http://www.python.org/2.3.2/rpms.html and downloaded
python2.3-2.3.2-1pydotorg.src.rpm.

I unpacked to src.rpm like this:

 rpm2cpio ../python2.3-2.3.2-1pydotorg.src.rpm | cpio -id

Changed the spec file (removed dependencies on expat, gdbm ..
since I don't need them) and tried to build the rpms:

   rpm -ba python-2.3.spec | tee rpm-ba.out

All seems to run well, but I can't find any rpms.

The tail of rpm-ba.out:
 Processing files: python2.3-tkinter-2.3.2-1pydotorg 
 PreReq: rpmlib(VersionedDependencies) <= 3.0.3-1 python2.3 = 2.3.2-1pydotorg
 Processing files: python2.3-tools-2.3.2-1pydotorg
 Finding  Provides: (using /usr/lib/rpm/find-provides)...
 Finding  Requires: (using /usr/lib/rpm/find-requires)...
 PreReq: rpmlib(VersionedDependencies) <= 3.0.3-1 python2.3 = 2.3.2-1pydotorg
 Requires: /bin/bash /bin/sh /usr/bin/env /usr/bin/python /usr/bin/python2.3
 Processing files: python2.3-docs-2.3.2-1pydotorg
 Finding  Provides: (using /usr/lib/rpm/find-provides)...
 Finding  Requires: (using /usr/lib/rpm/find-requires)...

Any hints why there are no rpms?

  thomas





More information about the Python-list mailing list