From 801e4a1ba04ba8ce75c047e21a8df11ab59bf8b3 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 20 Mar 2017 11:06:22 +0100 Subject: [PATCH] Don't use full path for triggers rpm already sets a sufficiently narrow PATH for all scripts and there's no need to further confine them. --- glib2.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/glib2.spec b/glib2.spec index 9531ff6..5847e12 100644 --- a/glib2.spec +++ b/glib2.spec @@ -133,16 +133,16 @@ chmod 644 $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/* %postun -p /sbin/ldconfig %transfiletriggerin -- %{_libdir}/gio/modules -/bin/gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules &> /dev/null || : +gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules &> /dev/null || : %transfiletriggerpostun -- %{_libdir}/gio/modules -/bin/gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules &> /dev/null || : +gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules &> /dev/null || : %transfiletriggerin -- %{_datadir}/glib-2.0/schemas -/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : +glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %transfiletriggerpostun -- %{_datadir}/glib-2.0/schemas -/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : +glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %files -f glib20.lang %license COPYING