move gst-register from post core to post tools
authorChristian Schaller <uraeus@gnome.org>
Sun, 8 Dec 2002 15:49:40 +0000 (15:49 +0000)
committerChristian Schaller <uraeus@gnome.org>
Sun, 8 Dec 2002 15:49:40 +0000 (15:49 +0000)
Original commit message from CVS:
move gst-register from post core to post tools

gstreamer.spec.in

index 59166426129ac08fa4a4b3d3f0d84ae6ae09934c..b9e2ebf19366155c5b0b4cf769ee33a0b0870f93 100644 (file)
@@ -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