Automatic python requires

Orion Poplawski orion at cora.nwra.com
Tue Apr 29 23:03:18 UTC 2008


Roland McGrath wrote:
> I assumed that sort of thing too.  But AFAICT there are no magic deps
> related to python. 


<http://fedoraproject.org/wiki/Packaging/Python#head-1447b7837f1b8d740aa7e4b7b580db265a15ba25>

In the past (FC3 and earlier) it was mandatory to add the line

Requires:       python-abi = %(%{__python} -c "import sys ; print 
sys.version[:3]")

to the spec file to require a specific version of the python-abi. This 
is not needed anymore in FC4 and later because rpm adds a automatic 
dependency on python(abi) now on its own.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com




More information about the fedora-devel-list mailing list