diff --git a/gimp.changes b/gimp.changes index 47017ef..2275e28 100644 --- a/gimp.changes +++ b/gimp.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon May 14 13:05:34 UTC 2012 - vuntz@opensuse.org + +- Correctly version librsvg-devel BuildRequires: 2.36.0 is needed. + We don't version the BuildRequires on 12.1 and earlier to avoid + useless unresolvables; it will just result in file-svg plugin not + being built when librsvg is not recent enough there. + ------------------------------------------------------------------- Thu May 3 14:52:22 UTC 2012 - badshah400@gmail.com diff --git a/gimp.spec b/gimp.spec index 2cf3440..63723dc 100644 --- a/gimp.spec +++ b/gimp.spec @@ -44,7 +44,13 @@ BuildRequires: liblcms-devel >= 1.16 BuildRequires: libmng-devel BuildRequires: libpng-devel >= 1.2.37 BuildRequires: libpoppler-glib-devel >= 0.12.4 -BuildRequires: librsvg-devel >= 2.34.2 +%if 0%{?suse_version} < 1220 +# best-effort attempt to use librsvg (file-svg plugin will be built +# if recent-enough version of librsvg is there) +BuildRequires: librsvg-devel +%else +BuildRequires: librsvg-devel >= 2.36.0 +%endif BuildRequires: libtiff-devel BuildRequires: libwebkit-devel >= 1.6.1 BuildRequires: libwmf-devel >= 0.2.8