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.
This commit is contained in:
Kalev Lember 2017-03-20 11:06:22 +01:00
parent 13e91f1191
commit 801e4a1ba0

View File

@ -133,16 +133,16 @@ chmod 644 $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/*
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%transfiletriggerin -- %{_libdir}/gio/modules %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 %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 %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 %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 %files -f glib20.lang
%license COPYING %license COPYING