Remove rpath
This commit is contained in:
parent
19295c9188
commit
abf5bcec63
@ -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 {})
|
%define chrpath_delete() (find $RPM_BUILD_ROOT/ -type f -exec file {} ';' | grep -W "ELF" | awk -F ':' '{print $1}' | xargs -i chrpath --delete {})
|
||||||
Name: mutter
|
Name: mutter
|
||||||
Version: 3.38.4
|
Version: 3.38.4
|
||||||
Release: 9
|
Release: 10
|
||||||
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
|
||||||
@ -21,6 +21,7 @@ BuildRequires: gnome-settings-daemon-devel meson
|
|||||||
BuildRequires: pkgconfig(wayland-eglstream) xorg-x11-server-Xwayland
|
BuildRequires: pkgconfig(wayland-eglstream) xorg-x11-server-Xwayland
|
||||||
BuildRequires: cvt
|
BuildRequires: cvt
|
||||||
BuildRequires: pkgconfig(sysprof-capture-4)
|
BuildRequires: pkgconfig(sysprof-capture-4)
|
||||||
|
BuildRequires: chrpath
|
||||||
%ifarch riscv64 loongarch64
|
%ifarch riscv64 loongarch64
|
||||||
BuildRequires: pkgconfig(libdrm)
|
BuildRequires: pkgconfig(libdrm)
|
||||||
%endif
|
%endif
|
||||||
@ -60,6 +61,9 @@ developing applications that use %{name}.
|
|||||||
%meson_install
|
%meson_install
|
||||||
%chrpath_delete
|
%chrpath_delete
|
||||||
|
|
||||||
|
chrpath -d %{buildroot}%{_libdir}/mutter-7/*.so.*
|
||||||
|
chrpath -d %{buildroot}%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
%delete_la_and_a
|
%delete_la_and_a
|
||||||
|
|
||||||
%find_lang %{name}
|
%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
|
%{_mandir}/man1/*.1.gz
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Feb 19 2024 hanhuihui<hanhuihui5@huawei.com> - 3.38.4-9
|
||||||
- rebuild for glib2 without sysprof and add requires sysprof-capture-4
|
- rebuild for glib2 without sysprof and add requires sysprof-capture-4
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user