diff --git a/gstreamer.spec.in b/gstreamer.spec.in index 5916642612..b9e2ebf193 100644 --- a/gstreamer.spec.in +++ b/gstreamer.spec.in @@ -131,7 +131,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %post /sbin/ldconfig -%{_bindir}/gst-register --gst-mask=0 > /dev/null 2> /dev/null %post devel # adding devhelp links to work around different base not working @@ -139,6 +138,9 @@ mkdir -p %{_datadir}/devhelp/books ln -sf %{_datadir}/gtk-doc/html/gstreamer %{_datadir}/devhelp/books ln -sf %{_datadir}/gtk-doc/html/gstreamer-libs %{_datadir}/devhelp/books +%post tools +%{_bindir}/gst-register --gst-mask=0 > /dev/null 2> /dev/null + %postun /sbin/ldconfig