mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Replace %{_libdir} macro in BuildRequires
The %{_libdir} macro is architecture dependend and therefore does not correctly work across different platforms. In the past the SRPM was created on a platform with /usr/lib64. Recent SRPMs have /usr/lib, which breaks dnf builddep. Depend on krb5-server directly rather than a file in krb5-server package: $ rpm -qf /usr/lib64/krb5/plugins/kdb/db2.so krb5-server-1.16.1-25.fc29.x86_64 Fixes: https://pagure.io/freeipa/issue/8056 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: François Cami <fcami@redhat.com> Reviewed-By: Robbie Harwood <rharwood@redhat.com>
This commit is contained in:
parent
253779afc4
commit
51836c0594
@ -264,7 +264,7 @@ BuildRequires: python3-yubico
|
|||||||
%if ! %{ONLY_CLIENT}
|
%if ! %{ONLY_CLIENT}
|
||||||
BuildRequires: libcmocka-devel
|
BuildRequires: libcmocka-devel
|
||||||
# Required by ipa_kdb_tests
|
# Required by ipa_kdb_tests
|
||||||
BuildRequires: %{_libdir}/krb5/plugins/kdb/db2.so
|
BuildRequires: krb5-server >= %{krb5_version}
|
||||||
# ONLY_CLIENT
|
# ONLY_CLIENT
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user