On Mon, Feb 24, 2020, at 4:51 PM, Florian Weimer wrote:
* James Cassell:
> 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)
Does this have the same non-ideal behavior regarding late installation
of glibc.i686?
I believe the combo of the two will avoid the late install issue, and also avoid modifying
any other SPEC. Again, not tested.
> I'd greatly prefer to avoid hard deps where they aren't
absolutely
> necessary.
Recommends: isn't a hard dependency?
Recommends is weak. I was referring to another message in the thread that suggested using
Depends:
V/r,
James Cassell