[Fedora-packaging] Need help with requires

Orion Poplawski orion at cora.nwra.com
Tue Oct 12 17:29:56 UTC 2010


plplot-tk packages some examples:

/usr/share/plplot5.9.7/examples/tk/tk01
/usr/share/plplot5.9.7/examples/tk/tk01.in
/usr/share/plplot5.9.7/examples/tk/xtk01.c

tk01 is a script to run the compiled xtk01.c and has:

#!/usr/share/plplot5.9.7/examples/tk/xtk01 -f

This generates a requires of /usr/share/plplot5.9.7/examples/tk/xtk01 which is 
not present in the package.

I'd like to just get rid of the requires all together, but not sure how. 
Should this be considered a bug at all in rpm, where it should limit script 
interpreter dependencies to {/usr}/bin or some such?

Should I change it to something like (this doesn't work):

#!/bin/sh -c /usr/share/plplot5.9.7/examples/tk/xtk01 -f

Add a comment:

#Remove this line

at the top?

I can't use the filtering because this is an arch package with binaries.

-- 
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 packaging mailing list