Building RPM

T

Thomas Guettler

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
 
T

Thomas Guettler

Am Thu, 20 Nov 2003 11:19:43 +0100 schrieb Thomas Guettler:
Hi!

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

If I do it like this the rpms get build:

# set tkinter support from "auto" to "no"
rpm -bs python-2.3.spec
cd ..../SRPMS
rpm --rebuild python2.3-2.3.2-1pydotorg.src.rpm


Problem solved,
thomas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top