From b409d8408a1d20da73380cad50434018993d6cd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 18 Sep 2012 12:37:51 +0000 Subject: [PATCH] other dependency for fedora; refs #12 --- libxml-cxx.spec.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libxml-cxx.spec.in b/libxml-cxx.spec.in index 5e80f2a..5a0ffbc 100644 --- a/libxml-cxx.spec.in +++ b/libxml-cxx.spec.in @@ -6,8 +6,13 @@ License: LGPL Group: Development/Libraries/C++ URL: https://dev.marc.waeckerlin.org/projects/@PACKAGENAME@ Source0: %{name}-%{version}.tar.gz -BuildRequires: subversion libcppunit-devel gcc-c++ doxygen graphviz texlive automake autoconf libtool make +BuildRequires: subversion gcc-c++ doxygen graphviz texlive automake autoconf libtool make 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} +BuildRequires: libcppunit-devel +%endif %description