rpmdeps: find requires for scripts with env shebang
orion at cora.nwra.com
Wed Jun 15 19:50:43 UTC 2016
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?
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).
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion at nwra.com
Boulder, CO 80301 http://www.nwra.com
More information about the Rpm-list