packages: libgta/libgta.spec - fix build without apidocs

lisu lisu at pld-linux.org
Thu Feb 2 11:27:23 CET 2012


Author: lisu                         Date: Thu Feb  2 10:27:23 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix build without apidocs

---- Files affected:
packages/libgta:
   libgta.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/libgta/libgta.spec
diff -u packages/libgta/libgta.spec:1.1 packages/libgta/libgta.spec:1.2
--- packages/libgta/libgta.spec:1.1	Sat Jan 28 19:51:47 2012
+++ packages/libgta/libgta.spec	Thu Feb  2 11:27:17 2012
@@ -106,7 +106,7 @@
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 mv $RPM_BUILD_ROOT%{_docdir}/%{name}/example-*.c* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 # packaged in -apidocs
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}/reference
+%{?with_apidocs:%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}/reference}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -143,5 +143,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2012/02/02 10:27:17  lisu
+- fix build without apidocs
+
 Revision 1.1  2012/01/28 18:51:47  qboosh
 - new
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libgta/libgta.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list