Accepting request 351214 from home:lrupp:branches:server:database

- disable building of documentation on old distributions

OBS-URL: https://build.opensuse.org/request/show/351214
OBS-URL: https://build.opensuse.org/package/show/server:database/libdbi?expand=0&rev=13
This commit is contained in:
Jan Engelhardt 2015-12-29 19:13:27 +00:00 committed by Git OBS Bridge
parent 12c9639c89
commit 899dcf2750
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 29 17:25:50 UTC 2015 - lars@linux-schulserver.de
- disable building of documentation on old distributions
-------------------------------------------------------------------
Tue Nov 11 13:37:08 UTC 2014 - jengelh@inai.de

View File

@ -15,6 +15,13 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# SLE-11 does not have texlive-collection-fontsrecommended:
%if 0%{?suse_version} >= 1130
%define build_doc 1
%else
%define build_doc 0
%endif
Name: libdbi
%define lname libdbi3
@ -36,7 +43,6 @@ BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: xz
%define build_doc 1
%if %build_doc
# Only needed when doc is not already prebuilt
BuildRequires: docbook-dsssl-stylesheets