SPECS: nautilus.spec - gtkdocize have to be run even when building without ...

megabajt megabajt at pld-linux.org
Mon Mar 30 15:28:32 CEST 2009


Author: megabajt                     Date: Mon Mar 30 13:28:32 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- gtkdocize have to be run even when building without apidocs (fixes lp#351549)

---- Files affected:
SPECS:
   nautilus.spec (1.212 -> 1.213) 

---- Diffs:

================================================================
Index: SPECS/nautilus.spec
diff -u SPECS/nautilus.spec:1.212 SPECS/nautilus.spec:1.213
--- SPECS/nautilus.spec:1.212	Mon Mar 16 20:03:07 2009
+++ SPECS/nautilus.spec	Mon Mar 30 15:28:26 2009
@@ -27,7 +27,7 @@
 BuildRequires:	glib2-devel >= 1:2.20.0
 BuildRequires:	gnome-desktop-devel >= 2.26.0
 BuildRequires:	gtk+2-devel >= 2:2.16.0
-%{?with_apidocs:BuildRequires:	gtk-doc >= 1.8}
+BuildRequires:	gtk-doc >= 1.8
 BuildRequires:	intltool >= 0.40.1
 %{?with_beagle:BuildRequires:	libbeagle-devel >= 0.3.0}
 BuildRequires:	libexif-devel >= 1:0.6.13
@@ -131,7 +131,7 @@
 rm -f po/io.po
 
 %build
-%{?with_apidocs:%{__gtkdocize}}
+%{__gtkdocize}
 %{__glib_gettextize}
 %{__intltoolize}
 %{__libtoolize}
@@ -159,6 +159,8 @@
 # kill it - use banner instead
 install %{SOURCE1} .
 
+%{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}}
+
 %find_lang %{name} --with-gnome --all-name
 
 %clean
@@ -226,6 +228,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.213  2009/03/30 13:28:26  megabajt
+- gtkdocize have to be run even when building without apidocs (fixes lp#351549)
+
 Revision 1.212  2009/03/16 19:03:07  megabajt
 - updated to 2.26.0; merged changes from DEVEL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nautilus.spec?r1=1.212&r2=1.213&f=u



More information about the pld-cvs-commit mailing list