diff --git a/glib.spec b/glib.spec index 88c6c1b..9cee2ce 100644 --- a/glib.spec +++ b/glib.spec @@ -6,7 +6,7 @@ %define majver %(echo %version | cut -d. -f 1-2) Name: glib Version: 2.48.1 -Release: 1mamba +Release: 2mamba Epoch: 2 Summary: A handy library of utility functions Group: System/Libraries @@ -205,6 +205,11 @@ make install DESTDIR=`pwd`/lib32 cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/ %endif +install -d -m0755 %{buildroot}%{_sysconfdir}/prelink.conf.d +cat > %{buildroot}%{_sysconfdir}/prelink.conf.d/glib.conf << _EOF +-b %{_bindir}/glib-compile-resources +_EOF + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -222,6 +227,7 @@ cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/ %files -n libglib -f %{name}20.lang %defattr(-,root,root) +%{_sysconfdir}/prelink.conf.d/glib.conf %{_bindir}/gio-querymodules %{_libdir}/libglib-2.0.so.* %{_libdir}/libgmodule-2.0.so.* @@ -329,6 +335,9 @@ cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/ %endif %changelog +* Sat Jun 25 2016 Silvan Calarco 2.48.1-2mamba +- disable prelinking glib-compile-resources + * Sat Jun 11 2016 Silvan Calarco 2.48.1-1mamba - update to 2.48.1