!32 [sync] PR-27: 添加sw架构

From: @openeuler-sync-bot 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2022-12-14 09:28:13 +00:00 committed by Gitee
commit af2ce7a73e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: mutter
Version: 3.38.4
Release: 6
Release: 7
Summary: Window and compositing manager based on Clutter
License: GPLv2+
URL: https://www.gnome.org
@ -64,7 +64,11 @@ developing applications that use %{name}.
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
mkdir -p %{buildroot}/etc/ld.so.conf.d
%ifarch sw_64
echo "/usr/lib/mutter-7" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%else
echo "/usr/lib64/mutter-7" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%endif
%ldconfig_scriptlets
%files -f %{name}.lang
@ -97,6 +101,9 @@ echo "/usr/lib64/mutter-7" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%{_mandir}/man1/*.1.gz
%changelog
* Tue Dec 14 2022 wuzx<wuzx1226@qq.com> - 3.38.4-7
- Add sw64 architecture
* Tue Dec 13 2022 huajingyun <huajingyun@loongson.cn> - 3.38.4-6
- add BuildRequires for loongarch64