From 1219dceeee1e74bfe0fbf2e9310ad8833ee195bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Thu, 30 Jul 2015 13:12:29 +0000 Subject: [PATCH] packages for centos --- libpcscxx.spec.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libpcscxx.spec.in b/libpcscxx.spec.in index 72af874..5976dfa 100644 --- a/libpcscxx.spec.in +++ b/libpcscxx.spec.in @@ -10,12 +10,14 @@ BuildRequires: p11-kit-devel 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, qt5-qtbase-devel, qt5-qttools, qt5-qtwebkit-devel +%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} +BuildRequires: mscgen, qt5-qtbase-devel, qt5-qttools +%else +BuildRequires: qtbase5-devel, qtbase5-devel-tools +%endif %else%if 0%{?suse_version} || 0%{?sles_version} BuildRequires: pkg-config, lsb-release, libqt5-qtbase-devel, libqt5-qttools, libQt5WebKit5-devel %endif%endif -%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} -BuildRequires: mscgen -%endif %description @README@