rpmbuild dependency discovery finding requirements that the package provides!

Allen Rongone arongone at aer.com
Mon Jun 21 20:05:44 UTC 2010


Hello,

	I'm new to the list and new to building rpms, so please forgive me if  
this has already been addressed or seems obvious to everyone else.

	I'm trying to build and rpm of python 2.6.5 to run on RHEL 5.4 and  
have it installed into the following directory: /opt/GOESR/local (our  
developers need this version for some
	government work we are doing and RHEL 5 only comes with 2.4.3) from  
the source file Python-2.6.5.tgz taking from Python.org.

	Anyway, I've made a lot of a changes to the SPEC file I found on  
Python.org's svn repository and finaly got it to build the rpms.  
However, if I try to install or verify the base rpm
	python-2.6.5-1aer_el5.x86_64.rpm it fails with:

> 	Unsatisfied dependencies for python-2.6.5-1aer_el5.x86_64:  
> libpython2.6.so.1.0()(64bit)

	I do not understand this because this shared library is actually  
provided by the package! How can it require something for which it  
provides.

	I even created a "Provides" directive with this file name and rebuilt  
the package to no avail.

	I've attached a copy of the SPEC file I'm using at the first page out  
of:  rpm -V -p python-2.6.5-1aer_el5.x86_64.rpm, which shows that this  
file is in the package.

	Can someone please explain to me how I get this dependency removed?

Thank you for any help,

Allen Rongone

-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-2.6.5.spec
Type: application/octet-stream
Size: 14915 bytes
Desc: not available
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20100621/b5082717/attachment-0001.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: python_rpm_verify.txt
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20100621/b5082717/attachment-0001.txt>


More information about the Rpm-list mailing list