Cross-arch dependencies for plugins (NSS and others)

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

 



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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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