https://bugzilla.redhat.com/show_bug.cgi?id=1754964 --- Comment #7 from Neal Gompa <ngompa13@xxxxxxxxx> --- (In reply to Neal Gompa from comment #6) > (In reply to Miro Hrončok from comment #5) > > (In reply to Neal Gompa from comment #4) > > > > ln -s brz.1 %{buildroot}%{_mandir}/man1/bzr.1 > > > > > > This doesn't do *exactly* the thing you expect. Do something like this: > > > > > > > # Link bzr(1) to brz(1) > > > > echo ".so man1/brz.1" > %{buildroot}%{_mandir}/man1/bzr.1 > > > > > > This ensures man-db does the correct thing for references. > > > > Could you please describe the difference? It sound interesting, I've always > > just linked the manual page (I remember it was broken before due to the way > > the Builrtoot Policy handled compression, but that works fine now). > > > > > > If you do a "man 1 bzr" with this, man's cached references will pull brz(1). > It also allows manpage indexers to Do The Right Thing(TM) and re-point > references. > > For example: https://www.mankier.com/1/pkg-config will actually redirect to > https://www.mankier.com/1/pkgconf instead of just being a copy. > > There's a few other benefits, mostly related to the web of man page > dependencies and how they're handled by man page parsers. > > I don't know why this isn't documented or made into a macro, but it probably > should be. It's a very useful trick! > To note, I discovered this trick a while ago and used it in the pkgconf package: https://src.fedoraproject.org/rpms/pkgconf/c/d7c5865721f8c1fa8e8a67fa663416ac1ec0f215 -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx