diff --git a/transfig.spec b/transfig.spec index dba3125..4094f15 100644 --- a/transfig.spec +++ b/transfig.spec @@ -29,7 +29,12 @@ BuildRequires: texlive-pdftex BuildRequires: texlive-times BuildRequires: tex(times.sty) %endif +%if 0%{?suse_version} > 1120 +BuildRequires: libpng12-compat-devel +BuildRequires: libpng12-devel +%else BuildRequires: libpng-devel +%endif BuildRequires: xorg-x11 BuildRequires: xorg-x11-devel Url: http://www.xfig.org/