Created attachment 1666196[details]
macros-glibc.patch
Relevant Fedora devel thread:
Cross-arch dependencies for plugins (NSS and others)
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/3HZSIWSPEEC6KL6OBWSIPPYHU3CUL5YK/
I want to put this into a macro so that we can easily make adjustments if there are other situations similar to x86-64 vs x86-32.
I'm attaching a patch that seems to get the job done. Its use looks like this in the glibc spec file:
%package -n nss_db
Summary: Name Service Switch (NSS) module using hash-indexed files
Requires: %{name}%{_isa} = %{version}-%{release}
%{_glibc_nss_dependencies nss_db}
Comment 1Stephen Gallagher
2020-02-27 15:26:56 UTC
CCing Michal Zidek as the SSSD maintainer since this will apply to the sssd-nss subpackage.
I have to wonder why you didn't just commit this if you think it would be useful. As far as I can tell you are one of the maintainers of the redhat-rpm-config package.
The only comment I'd make is that if this isn't some internal thing that other macros depend upon but instead something you expect packagers to use directly, the macro name shouldn't be prefixed with an underscore.