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

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sun, 2017-07-30 at 17:07 +0200, Florian Weimer 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/x8
> 6_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 expected 😉 But if you think it is wrong, you are welcomed t
o open a bug.

I can't find guidelines about this now, but we have something about
removal of executable flag on documentation so no dependencies are
generated or something similar..
> 
> Thanks,
> Florian
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

- -- 
- -Igor Gnatenko
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEhLFO09aHZVqO+CM6aVcUvRu8X0wFAll9+QcACgkQaVcUvRu8
X0xDSw//UHhhTq0kbg4H/Nx9ddEupL0vU3fk/R7SAvhx14Ehe2U7qi+qjnGVr6es
TzyU1gabtgtJhDvpiNM1vkicCeLgK7g5vcaKvwqRB2kBIWB6PRfOy38lUzk4lMsV
lAEUKF8J9uGE99nwPwV1fkhJ9QIf6nKLYURa43YbFvyeYrHxZf6h67kTUGUsWjNr
W0zkMHA+cDNf6RBGo99QkNH1t4KM7LSztVqSB7x6BFGdcYWan4DzDpwvBu4HGH4C
/cIiBS4bHrCKB7r3ZIvpjtKLmeuNzlpfK1tSY2Qx4hqmUa2L+54dDH1E2g5Hm8/J
RcV7NZku+ojM3/r5r0b4ofo0+4PKtHyCTCxLohNa/EsF6Rsdq8O3EfOqqbqJIwI1
LAvZxWUsRF7Y06babB6HDAEisboPJd9+zxGs77hqg0zyCDBna+O3JQ7xBzBbWHjR
o6AWkOnxgE7c+5vsOcsAGuOI5D/IrMQVqgD5vrxeAwljP5WSkCTPY9QTmuWU6Xok
/E4RNHIO63lx+tH9+kpP7irVfuPBTWY3wwXt/E/D1RD1JgvctEgbTXYmvGabuh/U
ZQrym7fWvc1YjPxCAw8p+EN0JDb3edCf3wTWvord9rDXiUYAggBJmyTmiE+YBCjI
5pLoaYPTzHio95rIlVR6ZMpcNnElw3MxO7A38akalvZYi3zW/Y0=
=xQ+m
-----END PGP SIGNATURE-----
_______________________________________________
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