[librsvg2] Use --enable-vala instead of patching configure for the same effect

Kalev Lember kalev at fedoraproject.org
Sun Sep 14 10:52:01 UTC 2014


commit 227c32fc5b0e242407d851bc4023be2c4164d840
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Sun Sep 14 12:38:29 2014 +0200

    Use --enable-vala instead of patching configure for the same effect

 librsvg-vala.patch |   13 -------------
 librsvg2.spec      |   12 ++----------
 2 files changed, 2 insertions(+), 23 deletions(-)
---
diff --git a/librsvg2.spec b/librsvg2.spec
index a321cfa..8ebdc27 100644
--- a/librsvg2.spec
+++ b/librsvg2.spec
@@ -8,9 +8,6 @@ Group:          System Environment/Libraries
 #VCS:           git:git://git.gnome.org/librsvg
 Source:         http://download.gnome.org/sources/librsvg/2.40/librsvg-%{version}.tar.xz
 
-# build with vala 0.18
-Patch0: librsvg-vala.patch
-
 Requires(post):   gdk-pixbuf2
 Requires(postun): gdk-pixbuf2
 BuildRequires:  libpng-devel
@@ -28,10 +25,6 @@ BuildRequires:  libgsf-devel
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  vala-devel
 BuildRequires:  vala-tools
-# grr, librsvg does not install api docs if --disable-gtk-doc
-BuildRequires:  gtk-doc
-BuildRequires:  automake
-BuildRequires:  autoconf
 
 Provides:       librsvg3 = %{name}.%{version}-%{release}
 Obsoletes:      librsvg3 <= 2.26.3-3.fc14
@@ -63,9 +56,7 @@ This package provides extra utilities based on the librsvg library.
 
 %prep
 %setup -q -n librsvg-%{version}
-%patch0 -p1 -b .vala
 
-autoreconf -i -f
 
 %build
 GDK_PIXBUF_QUERYLOADERS=/usr/bin/gdk-pixbuf-query-loaders-%{__isa_bits}
@@ -76,7 +67,8 @@ export enable_pixbuf_loader
 %configure --disable-static  \
         --disable-gtk-doc \
         --disable-gtk-theme \
-        --enable-introspection
+        --enable-introspection \
+        --enable-vala
 make %{?_smp_mflags}
 
 %install


More information about the scm-commits mailing list