From f17241ff99e7be97470c66eb1bb5f2b459454ff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=88=E9=9D=92=E5=B1=B1?= Date: Fri, 24 Mar 2023 08:33:07 +0000 Subject: [PATCH] add library path file to /etc/ld.so.conf.d MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 丈青山 --- muffin.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/muffin.spec b/muffin.spec index 354c50f..d5f238f 100644 --- a/muffin.spec +++ b/muffin.spec @@ -1,6 +1,6 @@ Name: muffin Version: 5.6.3 -Release: 2 +Release: 3 Summary: Window and compositing manager based on Clutter License: GPLv2+ URL: https://github.com/linuxmint/%{name} @@ -69,6 +69,8 @@ utilities for testing Metacity/Muffin themes. %meson_install chrpath -d %{buildroot}%{_libdir}/muffin/libmuffin-* chrpath -d %{buildroot}%{_libdir}/libmuffin.so.* +mkdir -p %{buildroot}/etc/ld.so.conf.d +echo "%{_libdir}/muffin" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf rm -rf %{buildroot}%{_bindir}/ rm -rf %{buildroot}%{_mandir}/man1/ @@ -88,6 +90,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libexecdir}/muffin-restart-helper %exclude %{_libdir}/muffin/*.gir %{_datadir}/glib-2.0/schemas/org.cinnamon.muffin.*.xml +%config(noreplace) /etc/ld.so.conf.d/* %files devel %{_includedir}/muffin/ @@ -96,6 +99,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/pkgconfig/* %changelog +* Fri Mar 24 2023 lin zhang - 5.6.3-3 +- add library path file to /etc/ld.so.conf.d + * Mon Mar 13 2023 lin zhang - 5.6.3-2 - remove rpath -- Gitee