diff --git a/librsvg2.spec b/librsvg2.spec index 7502145..ee8fc9c 100644 --- a/librsvg2.spec +++ b/librsvg2.spec @@ -1,7 +1,7 @@ %define __libtoolize : %define libxml2_version 2.4.12 -%define gtk2_version 2.3.0 +%define gtk2_version 2.4.1-2 %define freetype_version 2.0.1 %define popt_version 1.5 %define libart_version 2.3.10 @@ -11,7 +11,7 @@ Name: librsvg2 Summary: An SVG library based on libart. Version: 2.6.4 -Release: 5 +Release: 6 License: LGPL Group: System Environment/Libraries @@ -25,6 +25,7 @@ Requires: libart_lgpl >= %{libart_version} Requires: libpng Requires: libcroco Requires: libgsf +Requires(post,postun): %{_bindir}/update-gdk-pixbuf-loaders BuildRequires: libpng-devel BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: libxml2-devel >= %{libxml2_version} @@ -87,12 +88,11 @@ rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig -mkdir -p %{_sysconfdir}/gtk-2.0 -gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders +%{_bindir}/update-gdk-pixbuf-loaders %{_host} %postun /sbin/ldconfig -gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders +%{_bindir}/update-gdk-pixbuf-loaders %{_host} %files %defattr(-, root, root) @@ -111,7 +111,11 @@ gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders %{_libdir}/pkgconfig/librsvg-2.0.pc %changelog -* Wed Jun 23 2004 Matthias Clasen 2.6.4-4 +* Thu Jun 24 2004 Matthias Clasen 2.6.4-6 +- Properly handle updating of arch-dependent config + files. (#124483) + +* Wed Jun 23 2004 Matthias Clasen 2.6.4-5 - PreReq gtk2 instead of just requiring it (#90697) * Tue Jun 15 2004 Elliot Lee