From 899dcf27507222d02f07e4425a97d42ceb52a0326c3392662454968439441b67 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 29 Dec 2015 19:13:27 +0000 Subject: [PATCH] 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 --- libdbi.changes | 5 +++++ libdbi.spec | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/libdbi.changes b/libdbi.changes index 70ea40e..6ec00f2 100644 --- a/libdbi.changes +++ b/libdbi.changes @@ -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 diff --git a/libdbi.spec b/libdbi.spec index 62fb2f9..b6737ee 100644 --- a/libdbi.spec +++ b/libdbi.spec @@ -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