Add sw64 architecture
Signed-off-by: Wu Zixuan <wuzx1226@qq.com> (cherry picked from commit c68d7bf135815fd82c9bf7b6dd9921f4582b0035)
This commit is contained in:
parent
5519379962
commit
4de7e6236b
@ -1,6 +1,6 @@
|
|||||||
Name: mutter
|
Name: mutter
|
||||||
Version: 3.38.4
|
Version: 3.38.4
|
||||||
Release: 6
|
Release: 7
|
||||||
Summary: Window and compositing manager based on Clutter
|
Summary: Window and compositing manager based on Clutter
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://www.gnome.org
|
URL: https://www.gnome.org
|
||||||
@ -64,7 +64,11 @@ developing applications that use %{name}.
|
|||||||
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
||||||
|
|
||||||
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
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
|
echo "/usr/lib64/mutter-7" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
%endif
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%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
|
%{_mandir}/man1/*.1.gz
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Dec 13 2022 huajingyun <huajingyun@loongson.cn> - 3.38.4-6
|
||||||
- add BuildRequires for loongarch64
|
- add BuildRequires for loongarch64
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user