Re: Need help with requires

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

 



On 10/12/2010 11:47 AM, Paul Howarth wrote:
> On Tue, 12 Oct 2010 11:29:56 -0600
> Orion Poplawski<orion@xxxxxxxxxxxxx>  wrote:
>
>> 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.
>
> Doesn't just removing the exec bit of the permissions of the script do
> what you need?
>

Yes, it does.  Thank you.

-- 
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