diff --git a/muffin.spec b/muffin.spec index 354c50ffe51023f073e48f0793a08693430831fd..d5f238f27d028b2197d4991c4c678aecb83949de 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