[gtksourceview2] disable deprecations

Matthias Clasen mclasen at fedoraproject.org
Wed Jul 20 05:09:14 UTC 2011


commit 65e99b89e7d4ffbcdb7cf5769d81570370b6a134
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Wed Jul 20 01:08:27 2011 -0400

    disable deprecations

 gtksourceview2.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview2.spec b/gtksourceview2.spec
index b0f59cd..4499fe6 100644
--- a/gtksourceview2.spec
+++ b/gtksourceview2.spec
@@ -47,12 +47,12 @@ applications which use GtkSourceView 2.x.
 %patch0 -p1 -b .cflags
 
 %build
-%configure --disable-gtk-doc --disable-static
+%configure --disable-gtk-doc --disable-static --disable-deprecations
 
 make %{?_smp_mflags}
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT AM_CFLAGS="-UG_DISABLE_DEPRECATED"
+make install DESTDIR=$RPM_BUILD_ROOT
 
 # remove unwanted files
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la


More information about the scm-commits mailing list