From 4dd10a9d7f1fc7e1f40d8f6851e8c519ae2f3b2c Mon Sep 17 00:00:00 2001 From: wzx Date: Thu, 27 Oct 2022 15:08:10 +0800 Subject: [PATCH] Add sw64 architecture in spec file Signed-off-by: wzx --- sssd.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sssd.spec b/sssd.spec index 09f05b8..18e9fff 100644 --- a/sssd.spec +++ b/sssd.spec @@ -1,6 +1,6 @@ Name: sssd Version: 2.6.1 -Release: 2 +Release: 3 Summary: System Security Services Daemon License: GPLv3+ and LGPLv3+ URL: https://pagure.io/SSSD/sssd/ @@ -265,7 +265,11 @@ chrpath -d $RPM_BUILD_ROOT%{_libexecdir}/sssd/proxy_child chrpath -d $RPM_BUILD_ROOT%{_libdir}/%{name}/libsss_proxy.so chrpath -d $RPM_BUILD_ROOT%{python3_sitearch}/pysss.so mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d +%ifarch sw_64 +echo "/usr/lib/sssd" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf +%else echo "/usr/lib64/sssd" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf +%endif for man in `find $RPM_BUILD_ROOT/%{_mandir}/??/man?/ -type f | sed -e "s#$RPM_BUILD_ROOT/%{_mandir}/##"` do @@ -538,6 +542,9 @@ fi %{_libdir}/%{name}/modules/libwbclient.so %changelog +* Thu Oct 27 2022 wuzx - 2.6.1-3 +- Add sw64 architecture + * Tue Sep 20 2022 zhouchenchen - 2.6.1-2 - add version check in obsoletes to avoid warning messages -- Gitee