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