Re: rpmdeps: find requires for scripts with env shebang

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

 



On 06/15/2016 11:54 AM, Stephano Cetola wrote:
> I'm working on getting rpmdeps to return a "Requires" result for scripts
> with "/usr/bin/env python" (more descriptive than the current result of
> "Requires:/usr/bin/env"). I've looked over rpmfcSCRIPT and I have some
> ideas on how to remedy the issue.
> 
> Is this something that would be of interest, or is there any way I could
> bend this project to your needs?
> 
> Cheers,
> Stephano

Well, I really don't see how you could generate an appropriate "Requires" that
matches "there is a 'python' executable somewhere in the user's PATH".  Fedora
packages are already expected to replace #!/usr/bin/env python with
#!/usr/bin/python (or even /usr/bin/python2.7 or 3.5).


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                   http://www.nwra.com
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list



[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux