[packages/libbson] do not treat phinx warnings as errors

glen glen at pld-linux.org
Fri Mar 23 12:05:16 CET 2018


commit 0a91ed35ddc26be414fdeaaaaa2b3b844e655770
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Mar 23 13:03:32 2018 +0200

    do not treat phinx warnings as errors
    
    were not their maintainer
    
    Warning, treated as error:
    WARNING: the taglist extension is not safe for parallel reading, doing serial read

 libbson.spec               |  2 ++
 sphinx-no-fatal-warn.patch | 22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+)
---
diff --git a/libbson.spec b/libbson.spec
index c3acad6..32aaa5a 100644
--- a/libbson.spec
+++ b/libbson.spec
@@ -7,6 +7,7 @@ Group:		Libraries
 Source0:	https://github.com/mongodb/libbson/releases/download/%{version}/%{name}-%{version}.tar.gz
 # Source0-md5:	b3c1f643d3134d493099497397ffafe5
 Patch0:		%{name}-1.5.0-rc3-Install-documentation-according-to-guidelines.patch
+Patch1:		sphinx-no-fatal-warn.patch
 URL:		https://github.com/mongodb/libbson
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -38,6 +39,7 @@ applications that use %{name}.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 # Remove pregenerated documentation
 rm -r doc/html/_static doc/html/*.{html,inv,js} doc/man/*.3
diff --git a/sphinx-no-fatal-warn.patch b/sphinx-no-fatal-warn.patch
new file mode 100644
index 0000000..f2e97e3
--- /dev/null
+++ b/sphinx-no-fatal-warn.patch
@@ -0,0 +1,22 @@
+--- libbson-1.9.3/doc/man/Makefile.am~	2018-01-10 21:46:11.000000000 +0200
++++ libbson-1.9.3/doc/man/Makefile.am	2018-03-23 13:01:20.545955400 +0200
+@@ -10,7 +10,7 @@
+ # sphinx-build "-E" is "ignore cache", "b" is build type.
+ doc/man:
+ 	-mkdir -p doc/man
+-	$(SPHINX_BUILD) -qEW -j 8 -b man $(top_srcdir)/doc doc/man
++	$(SPHINX_BUILD) -qE -j 8 -b man $(top_srcdir)/doc doc/man
+ 	rm -rf doc/man/.doctrees doc/man/.buildinfo
+ 
+ EXTRA_DIST += doc/man
+--- libbson-1.9.3/doc/html/Makefile.am~	2018-01-10 21:46:11.000000000 +0200
++++ libbson-1.9.3/doc/html/Makefile.am	2018-03-23 13:01:25.692895926 +0200
+@@ -18,7 +18,7 @@
+ # sphinx-build "-E" is "ignore cache".
+ $(SPHINX_HTML_FILES):
+ 	-mkdir -p doc/html
+-	$(SPHINX_BUILD) -j 8 -qEW $(top_srcdir)/doc doc/html
++	$(SPHINX_BUILD) -j 8 -qE $(top_srcdir)/doc doc/html
+ 	rm -rf doc/html/.doctrees doc/html/.buildinfo
+ 
+ EXTRA_DIST += doc/html
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libbson.git/commitdiff/0a91ed35ddc26be414fdeaaaaa2b3b844e655770



More information about the pld-cvs-commit mailing list