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

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

 



On Sun, Jul 30, 2017 at 11:07 AM, Florian Weimer <fweimer@xxxxxxxxxx> wrote:
> 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?
>

This is a bug. RPM isn't supposed to look for these in documentation
directories.



-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
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