!51 Remove rpath

From: @jxy_git 
Reviewed-by: @open-bot, @yangzhao_kl 
Signed-off-by: @yangzhao_kl, @open-bot
This commit is contained in:
openeuler-ci-bot 2024-06-21 02:07:20 +00:00 committed by Gitee
commit 4cbb9abc1e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%define chrpath_delete() (find $RPM_BUILD_ROOT/ -type f -exec file {} ';' | grep -W "ELF" | awk -F ':' '{print $1}' | xargs -i chrpath --delete {})
Name: mutter
Version: 3.38.4
Release: 9
Release: 10
Summary: Window and compositing manager based on Clutter
License: GPLv2+
URL: https://www.gnome.org
@ -21,6 +21,7 @@ BuildRequires: gnome-settings-daemon-devel meson
BuildRequires: pkgconfig(wayland-eglstream) xorg-x11-server-Xwayland
BuildRequires: cvt
BuildRequires: pkgconfig(sysprof-capture-4)
BuildRequires: chrpath
%ifarch riscv64 loongarch64
BuildRequires: pkgconfig(libdrm)
%endif
@ -60,6 +61,9 @@ developing applications that use %{name}.
%meson_install
%chrpath_delete
chrpath -d %{buildroot}%{_libdir}/mutter-7/*.so.*
chrpath -d %{buildroot}%{_libdir}/lib*.so.*
%delete_la_and_a
%find_lang %{name}
@ -104,6 +108,9 @@ echo "/usr/lib64/mutter-7" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%{_mandir}/man1/*.1.gz
%changelog
* Thu Jun 20 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 3.38.4-10
- Remove rpath
* Mon Feb 19 2024 hanhuihui<hanhuihui5@huawei.com> - 3.38.4-9
- rebuild for glib2 without sysprof and add requires sysprof-capture-4