[packages/dbus-glib] - disable apidocs (does not build) - rel 3

baggins baggins at pld-linux.org
Mon Nov 12 11:13:50 CET 2012


commit 68c4ac96a4b7d99471acd7b7b32b7a90d7450266
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Nov 12 11:13:30 2012 +0100

    - disable apidocs (does not build)
    - rel 3

 dbus-glib.spec | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/dbus-glib.spec b/dbus-glib.spec
index 7a9dbe9..5c88b73 100644
--- a/dbus-glib.spec
+++ b/dbus-glib.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_without	apidocs         # disable gtk-doc
+%bcond_with	apidocs         # disable gtk-doc
 %bcond_without	static_libs	# don't build static library
 
 %define		dbus_version	1.2.16
@@ -10,7 +10,7 @@ Summary:	GLib-based library for using D-BUS
 Summary(pl.UTF-8):	Biblioteka do używania D-BUS oparta o GLib
 Name:		dbus-glib
 Version:	0.100
-Release:	2
+Release:	3
 License:	AFL v2.1 or GPL v2
 Group:		Libraries
 Source0:	http://dbus.freedesktop.org/releases/dbus-glib/%{name}-%{version}.tar.gz
@@ -94,13 +94,8 @@ Ten pakiet dostarcza bashowe uzupełnianie poleceń dla dbus-send.
 %setup -q
 %patch0 -p1
 
-%if %{without apidocs}
-echo 'EXTRA_DIST=' > gtk-doc.make
-echo 'AC_DEFUN([GTK_DOC_CHECK],[])' >> acinclude.m4
-%endif
-
 %build
-%{?with_apidocs:%{__gtkdocize}}
+%{__gtkdocize}
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dbus-glib.git/commitdiff/68c4ac96a4b7d99471acd7b7b32b7a90d7450266



More information about the pld-cvs-commit mailing list