[gobject-introspection] Enable g-ir-doctool

Colin Walters walters at fedoraproject.org
Tue Mar 5 15:33:24 UTC 2013


commit b6342e6928162a47edbc78852004e25985a13794
Author: Colin Walters <walters at verbum.org>
Date:   Tue Mar 5 10:18:36 2013 -0500

    Enable g-ir-doctool
    
    - Resolves: #903782

 gobject-introspection.spec |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/gobject-introspection.spec b/gobject-introspection.spec
index bf7eba9..0bc1873 100644
--- a/gobject-introspection.spec
+++ b/gobject-introspection.spec
@@ -1,6 +1,6 @@
 Name:           gobject-introspection
 Version:        1.35.8
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Introspection system for GObject-based libraries
 
 Group:      Development/Libraries
@@ -29,6 +29,8 @@ BuildRequires:  freetype-devel
 BuildRequires:  gnome-common
 BuildRequires:  intltool
 BuildRequires:  gtk-doc
+# For doctool
+BuildRequires:  python-mako
 
 %description
 GObject Introspection can scan C header and source files in order to
@@ -42,6 +44,8 @@ Group: Development/Libraries
 Requires: %name = %{version}-%{release}
 # Not always, but whatever, it's a tiny dep to pull in
 Requires: libtool
+# For g-ir-doctool
+Requires: python-mako
 Obsoletes: gir-repository-devel
 
 %description devel
@@ -51,8 +55,8 @@ Libraries and headers for gobject-introspection
 %setup -q
 
 %build
-(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;)
-%configure --enable-gtk-doc
+(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;)
+%configure --enable-gtk-doc --enable-doctool
 
 make V=1 %{?_smp_mflags}
 
@@ -90,6 +94,10 @@ find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
 %{_datadir}/gtk-doc/html/gi/*
 
 %changelog
+* Tue Mar 05 2013 Colin Walters <walters at verbum.org> - 1.35.8-2
+- Enable g-ir-doctool
+- Resolves: #903782
+
 * Tue Feb 19 2013 Richard Hughes <rhughes at redhat.com> - 1.35.8-1
 - Update to 1.35.8
 


More information about the scm-commits mailing list