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@