]> git.pld-linux.org Git - packages/libbson.git/commitdiff
do not treat phinx warnings as errors auto/th/libbson-1.9.3-1
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 23 Mar 2018 11:03:32 +0000 (13:03 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Fri, 23 Mar 2018 11:03:32 +0000 (13:03 +0200)
were not their maintainer

Warning, treated as error:
WARNING: the taglist extension is not safe for parallel reading, doing serial read

libbson.spec
sphinx-no-fatal-warn.patch [new file with mode: 0644]

index c3acad6bc2d068a6b2050aab245a9638a920cbfa..32aaa5ac9832b1bfcba9d0f67c09bf7fb538ad92 100644 (file)
@@ -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 (file)
index 0000000..f2e97e3
--- /dev/null
@@ -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
This page took 0.108047 seconds and 4 git commands to generate.