From c27a11b2ce6d20ab3ef324922f37d5dc935b09d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Fri, 19 Apr 2013 12:27:12 +0000 Subject: [PATCH] compile problem in fedora: change requirements; refs #5 --- mrw-c++.spec.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mrw-c++.spec.in b/mrw-c++.spec.in index 4813152..082ff47 100644 --- a/mrw-c++.spec.in +++ b/mrw-c++.spec.in @@ -10,9 +10,12 @@ ## # rpmbuild -bb --clean @PACKAGENAME@.spec -BuildRequires: boost-devel ghostscript-library -BuildRequires: gcc-c++ doxygen graphviz -BuildRequires: texlive-bin-latex cppunit-devel unixODBC-devel libxml2-devel freefont +BuildRequires: boost-devel subversion gcc-c++ doxygen graphviz texlive automake autoconf libtool make +%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} +BuildRequires: cppunit-devel +%else%if 0%{?suse_version} || 0%{?sles_version} +BuildRequires: libcppunit-devel +%endif%endif Summary: MRW's C++ Class Library, facilities for modern C++ programming Name: @PACKAGENAME@ Version: @MAJOR@.@MINOR@.@LEAST@