diff --git a/libxml-cxx.spec.in b/libxml-cxx.spec.in index 5a0ffbc..4bc58e3 100644 --- a/libxml-cxx.spec.in +++ b/libxml-cxx.spec.in @@ -10,9 +10,9 @@ BuildRequires: subversion gcc-c++ doxygen graphviz texlive automake autoconf lib BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} BuildRequires: cppunit-devel -%elseif 0%{?suse_version} || 0%{?sles_version} +%else%if 0%{?suse_version} || 0%{?sles_version} BuildRequires: libcppunit-devel -%endif +%endif%endif %description