Need help with requires

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx
Boulder, CO 80301              http://www.cora.nwra.com
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux