Remove 32-bit version recommandation, it doesn't work properly and makes problems during build

This commit is contained in:
Filip Januš 2020-12-21 09:19:46 +01:00
parent 9521fcabff
commit 9cea9c1f02

View File

@ -15,21 +15,6 @@ BuildRequires: libtirpc-devel
BuildRequires: autoconf, automake, libtool
BuildRequires: systemd
# hacked Provides, normally comes from built files
%if %{__isa_bits} == 64
Provides: libnss_nis.so.2()(64bit)
%else
Provides: libnss_nis.so.2
%endif
# recommend 32bit lib on 64bit arch
%if %{__isa_bits} == 64
Recommends: (libnss_nis.so.2 if glibc(x86-32))
%endif
# I'd recommend an explicit conflict with different versions of the package
# to ensure that 64bit and 32bit packages are equal and compatible
Conflicts: %{name} < %{version}-%{release}
@ -75,6 +60,10 @@ make check
%license COPYING
%changelog
* Mon Dec 21 2020 Filip Januš <fjanus@redhat.com> - 3.1-8
- recommandation of 32 bit-version doesn't work properly
- remove recommandation of 32 bit-version
* Tue Sep 22 2020 Filip Januš <fjanus@redhat.com> - 3.1-7
- improve recommandation of 32 bit-version
- resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1803161