0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-10-18 01:54:08 +00:00

docs: disable docs subpackage to fix FTBFS

Adressing following FTBFS on all older debian/ubuntu distros:

    Can't locate LinuxDocTools/Data/Latin1ToSgml.pm in @INC (you may need to install the LinuxDocTools::Data::Latin1ToSgml module)
This commit is contained in:
Jakub Ružička 2021-04-09 16:35:10 +02:00 committed by Ondrej Zajicek (work)
parent 329d6e3fbc
commit 60167856af
6 changed files with 1 additions and 1420 deletions

View File

@ -1,4 +0,0 @@
obj/doc/bird*.html
obj/doc/bird.pdf
obj/doc/prog*.html
obj/doc/prog.pdf

View File

@ -8,11 +8,9 @@ Build-Depends: bison,
libncurses5-dev, libncurses5-dev,
libreadline-dev | libreadline6-dev | libreadline5-dev, libreadline-dev | libreadline6-dev | libreadline5-dev,
libssh-gcrypt-dev, libssh-gcrypt-dev,
linuxdoc-tools-latex,
m4, m4,
opensp, opensp,
quilt, quilt,
texlive-latex-extra,
xsltproc xsltproc
Maintainer: Jakub Ružička <jakub.ruzicka@nic.cz> Maintainer: Jakub Ružička <jakub.ruzicka@nic.cz>
Uploaders: Ondřej Surý <ondrej@debian.org> Uploaders: Ondřej Surý <ondrej@debian.org>
@ -31,7 +29,6 @@ Depends: adduser,
${misc:Depends}, ${misc:Depends},
${shlibs:Depends} ${shlibs:Depends}
Conflicts: bird Conflicts: bird
Suggests: bird2-doc
Description: Internet Routing Daemon Description: Internet Routing Daemon
BIRD is an Internet routing daemon with full support for all the major BIRD is an Internet routing daemon with full support for all the major
routing protocols. It allows redistribution between protocols with a routing protocols. It allows redistribution between protocols with a
@ -41,15 +38,3 @@ Description: Internet Routing Daemon
BIRD supports IPv4 and IPv6 versions of OSPF, RIP, BGP and Babel routing BIRD supports IPv4 and IPv6 versions of OSPF, RIP, BGP and Babel routing
protocols. It also supports supplementary protocols like BFD, RPKI-Router protocols. It also supports supplementary protocols like BFD, RPKI-Router
and IPv6 router advertisements. and IPv6 router advertisements.
Package: bird2-doc
Architecture: all
Section: doc
Depends: ${misc:Depends}
Description: Internet Routing Daemon - documentation
BIRD is an Internet routing daemon with full support for all the major
routing protocols. It allows redistribution between protocols with a
powerful route filtering syntax and an easy-to-use configuration
interface.
.
This package provides the user and developer documentation.

View File

@ -1 +0,0 @@
0001-Sync-the-linuxdoc-mangled-files-with-linuxdoc-tools_.patch

View File

@ -25,7 +25,6 @@ override_dh_auto_configure:
override_dh_auto_build: override_dh_auto_build:
dh_auto_build dh_auto_build
dh_auto_build -- docs
override_dh_auto_install: override_dh_auto_install:
dh_auto_install --destdir=debian/tmp dh_auto_install --destdir=debian/tmp

View File

@ -1,9 +1,5 @@
%global _hardened_build 1 %global _hardened_build 1
%global _without_doc 1
%if "x%{?suse_version}" == "x"
# missing linuxdoc-tools and sgml-common on SUSE
%define _without_doc 1
%endif
Name: bird Name: bird
Version: {{ version }} Version: {{ version }}