diff --git a/librsvg2.spec b/librsvg2.spec index 5b72fd3..4d430ce 100644 --- a/librsvg2.spec +++ b/librsvg2.spec @@ -1,7 +1,7 @@ Name: librsvg2 Summary: An SVG library based on cairo Version: 2.40.9 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPLv2+ Group: System Environment/Libraries @@ -21,8 +21,8 @@ BuildRequires: pkgconfig(pangocairo) BuildRequires: vala-devel BuildRequires: vala-tools -Requires(post): gdk-pixbuf2%{?_isa} -Requires(postun): gdk-pixbuf2%{?_isa} +# for file triggers +Requires: gdk-pixbuf2%{?_isa} >= 2.31.5-2.fc24 Provides: librsvg3 = %{name}.%{version}-%{release} Obsoletes: librsvg3 <= 2.26.3-3.fc14 @@ -76,13 +76,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/mozilla/ rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders rm -f $RPM_BUILD_ROOT%{_datadir}/pixmaps/svg-viewer.svg -%post -/sbin/ldconfig -gdk-pixbuf-query-loaders-%{__isa_bits} --update-cache || : +%post -p /sbin/ldconfig -%postun -/sbin/ldconfig -gdk-pixbuf-query-loaders-%{__isa_bits} --update-cache || : +%postun -p /sbin/ldconfig %files @@ -109,6 +105,9 @@ gdk-pixbuf-query-loaders-%{__isa_bits} --update-cache || : %changelog +* Wed Aug 5 2015 Matthias Clasen - 2.40.9-3 +- Rely on gdk-pixbuf2 file triggers + * Wed Jun 17 2015 Fedora Release Engineering - 2.40.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild