From 5f60e89662942e69e05018a96e38a43bc6730ace Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Fri, 31 Jul 2015 07:05:04 +0000 Subject: [PATCH] repair rpm build --- bootstrap.sh | 2 +- libxml-cxx.spec.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index bcd67ce..aeaad17 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -745,7 +745,7 @@ BuildRequires: pkgconfig, redhat-lsb$( if testtag AX_REQUIRE_QT || testtag AX_CHECK_QT; then echo -n ", qt5-qtwebkit-devel"; fi) -%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} +%if ! ( 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} ) $(if testtag AX_USE_DOXYGEN; then echo -n "BuildRequires: mscgen"; fi) $(if testtag AX_REQUIRE_QT || testtag AX_CHECK_QT; then echo -n "BuildRequires: qt5-qtbase-devel, qt5-qttools, qt5-qtwebkit-devel"; fi) %else diff --git a/libxml-cxx.spec.in b/libxml-cxx.spec.in index e8b470e..ea7a313 100644 --- a/libxml-cxx.spec.in +++ b/libxml-cxx.spec.in @@ -9,7 +9,7 @@ BuildRequires: gnupg, subversion, automake, autoconf, doxygen, graphviz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} BuildRequires: pkgconfig, redhat-lsb, cppunit-devel -%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} +%if ! ( 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} ) BuildRequires: mscgen %else