From f67e1ba339694633276b9bafdeb7dc4bc1a3d3f40f0fb669d49d304f406f2d6b Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Tue, 17 Mar 2009 11:42:17 +0000 Subject: [PATCH] fix build for mandriva OBS-URL: https://build.opensuse.org/package/show/Education/gnucap?expand=0&rev=3 --- gnucap.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnucap.spec b/gnucap.spec index e175faf..7d093b1 100644 --- a/gnucap.spec +++ b/gnucap.spec @@ -19,11 +19,16 @@ Patch1: gnucap-0.35-gcc43.patch Patch2: gnucap-0.34-debian.patch BuildRequires: gcc-c++ libpng-devel readline-devel BuildRequires: ncurses-devel +%if 0%{?suse_version} %if 0%{?suse_version} > 1020 BuildRequires: texlive-devel texlive-latex %else BuildRequires: te_latex tetex %endif +%endif +%if 0%{?mandriva_version} +BuildRequires: tetex-latex tetex +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description