Add sw64 architecture in spec file

Signed-off-by: wzx <wuzx1226@qq.com>
(cherry picked from commit a6d1bb1a9bc07b348dfb64472a814f3b82da50dc)
This commit is contained in:
wzx 2022-10-27 14:30:43 +08:00 committed by openeuler-sync-bot
parent 47ac0362fb
commit db96419056

View File

@ -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<wuzx1226@qq.com> - 0.19-4
- Type:feature
- CVE:NA
- SUG:NA
- DESC:Add sw64 architecture
* Thu Mar 31 2022 liuyumeng <liuyumeng5@h-partners.com> - 0.19-3
- enable tests