diff --git a/libdbi.spec b/libdbi.spec index b6737ee..4ce5f04 100644 --- a/libdbi.spec +++ b/libdbi.spec @@ -15,13 +15,6 @@ # 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 @@ -43,6 +36,12 @@ BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: xz +%if 0%{?suse_version} >= 1130 +# SLE_11 does not have texlive-collection-fontsrecommended +%define build_doc 1 +%else +%define build_doc 0 +%endif %if %build_doc # Only needed when doc is not already prebuilt BuildRequires: docbook-dsssl-stylesheets