On Mon, Feb 24, 2020, at 1:11 PM, Florian Weimer wrote: > Sometimes, users run into problems because they install nss_nis on > x86_64 and want to use 32-bit applications, but those do not work > correctly because nss_nis.i686 is not installed. I think we have an > opportunity here to improve the system administrator experience with > reasonable effort. > > If we add this to nss_nis.spec: > > %ifarch x86_64 > Recommends: (nss_nis(x86-32) if glibc(x86-32)) > %endif What about also adding %ifarch i686 Supplements: (glibc(x86-32) if (nss_nis(x86-64)) %endif (Untested) I'd greatly prefer to avoid hard deps where they aren't absolutely necessary. V/r, James Cassell > > then when the user installs nss_nis after glibc.i686, they will get both > packages, as expected. > > Unfortunately, it does not work if nss_nis.x86_64 is installed first. > Is there a way to fix this aspect? > > What would be a good way to abstract this into some RPM macro, so that > we can apply this to other plugins as well? > > Thanks, > Florian _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx