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
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