packages: poppler/poppler.spec - without_apidocs doesn't build the docs, so...

jajcus jajcus at pld-linux.org
Wed Apr 6 12:56:24 CEST 2011


Author: jajcus                       Date: Wed Apr  6 10:56:24 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- without_apidocs doesn't build the docs, sometimes, don't fail when they are missing

---- Files affected:
packages/poppler:
   poppler.spec (1.129 -> 1.130) 

---- Diffs:

================================================================
Index: packages/poppler/poppler.spec
diff -u packages/poppler/poppler.spec:1.129 packages/poppler/poppler.spec:1.130
--- packages/poppler/poppler.spec:1.129	Wed Apr  6 12:51:41 2011
+++ packages/poppler/poppler.spec	Wed Apr  6 12:56:19 2011
@@ -316,7 +316,7 @@
 
 %if %{without apidocs}
 # why it still installs them, brr
-%{__rm} -r $RPM_BUILD_ROOT%{_gtkdocdir}/poppler
+%{__rm} -rf $RPM_BUILD_ROOT%{_gtkdocdir}/poppler || :
 %endif
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
@@ -449,6 +449,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.130  2011/04/06 10:56:19  jajcus
+- without_apidocs doesn't build the docs, sometimes, don't fail when they are missing
+
 Revision 1.129  2011/04/06 10:51:41  jajcus
 - move typelib and gir files to the glib subpackages
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/poppler/poppler.spec?r1=1.129&r2=1.130&f=u



More information about the pld-cvs-commit mailing list