diff --git a/mutter.spec b/mutter.spec index 2c63f023714dee3ab2d3c907716f56478dfbb1a6..e6e9b0cfd4b0a61179f818d6ec0be222653f572a 100644 --- a/mutter.spec +++ b/mutter.spec @@ -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 - 3.38.4-10 +- Remove rpath + * Mon Feb 19 2024 hanhuihui - 3.38.4-9 - rebuild for glib2 without sysprof and add requires sysprof-capture-4