Andreas Haupt venit, vidit, dixit 2026-02-15 09:30:08: > Dear all, > > I'm wondering how to package lesspipe for Fedora/EPEL best. Review request > is here: > > https://bugzilla.redhat.com/show_bug.cgi?id=2417806 > > lesspipe itself is an indepedent development from the built-in preprocessor > for less. It comes with with a rich feature set which enhances the less user > experience. Features are described here: > > https://lesspipe.org/docs.html > > Unfortunately, as it uses the same concept like less' built-in preprocessor, > it conflicts with its lesspipe.sh script. Therefore I just moved stuff into > /usr/libexec/lesspipe in order to avoid naming conflicts. This works well, > but Christian Le pointed out in the review, it might cause user trouble in > some cases.
Which problems? It's not clear to me from the review. Users of less and LESSOPEN should be technically versed enough to set LESSOPEN in the environment of all process which they want to use it. That being said, the "less" package in Fedora already ships "lesspipe.sh" from an external source (not the builtin) and puts that and things like "lessecho" (which are for internal less usage only) into /usr/bin. I don't think this is a good choice; less could use some restructuring. > How are similar cases handled in other packages? Any pointers would be very > helpful and appreciated. Either separate conflicting subpackages, or separate non-conflicting install paths so that users can choose by setting LESSOPEN accordingly. A good first step might be to get a clear picture of what "less" installs and whether that should be done differently. Cheers Michael -- _______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
