RPM dependency generator picks up shbang lines in /usr/share/doc

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

 



highlight-3.36-3.fc27 suddenly has a Requires: /bin/lua:

$ rpm -qp --requires
https://kojipkgs.fedoraproject.org//packages/highlight/3.39/1.fc27/x86_64/highlight-3.39-1.fc27.x86_64.rpm
/bin/lua
config(highlight) = 3.39-1.fc27
libc.so.6()(64bit)
…

I have verified that this comes from the
/usr/share/doc/highlight/examples/json/theme2json.lua file installed by
the package.

The immediate result is that highlight is uninstallable because nothing
provides /bin/lua.  We could patch the example file to use
#!/usr/bin/lua instead, but IMHO it's not reasonable that a mere example
in the documentation introduces a hard dependency.

Is this the expected behavior?  Shall I file a bug against rpm?

Thanks,
Florian
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux