From db96419056aeacf2203421012f5cfed445cc5563 Mon Sep 17 00:00:00 2001 From: wzx Date: Thu, 27 Oct 2022 14:30:43 +0800 Subject: [PATCH] Add sw64 architecture in spec file Signed-off-by: wzx (cherry picked from commit a6d1bb1a9bc07b348dfb64472a814f3b82da50dc) --- jbig2dec.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/jbig2dec.spec b/jbig2dec.spec index 9d7adcc..e9b6744 100644 --- a/jbig2dec.spec +++ b/jbig2dec.spec @@ -1,6 +1,6 @@ Name: jbig2dec Version: 0.19 -Release: 3 +Release: 4 Summary: A decoder implementation of the JBIG2 image compression format. License: AGPLv3+ @@ -46,7 +46,11 @@ make check chrpath -d %{buildroot}%{_bindir}/jbig2dec mkdir -p %{buildroot}/etc/ld.so.conf.d +%ifarch sw_64 +echo "/usr/lib" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf +%else echo "/usr/lib64" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf +%endif %ldconfig_scriptlets @@ -69,6 +73,12 @@ echo "/usr/lib64" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf %{_mandir}/man1/%{name}.1* %changelog +* Thu Oct 27 2022 wuzx - 0.19-4 +- Type:feature +- CVE:NA +- SUG:NA +- DESC:Add sw64 architecture + * Thu Mar 31 2022 liuyumeng - 0.19-3 - enable tests