diff --git a/libpcscxx.spec.in b/libpcscxx.spec.in index ad93902..0434e91 100644 --- a/libpcscxx.spec.in +++ b/libpcscxx.spec.in @@ -9,18 +9,18 @@ BuildRequires: gnupg, subversion, automake, autoconf, doxygen, graphviz 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: pkgconfig, redhat-lsb +%if 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} BuildRequires: qt-devel +%else +BuildRequires: mscgen, qt5-qtbase-devel, qt5-qttools, qt5-qtwebkit-devel %endif %else%if 0%{?suse_version} || 0%{?sles_version} BuildRequires: pkg-config, lsb-release %if 0%{?suse_version} < 1200 || 0%{?sles_version} < 1200 -BuildRequires: libqt5-qtbase-devel, libqt5-qttools, libQt5WebKit5-devel +BuildRequires: libqt4-devel, qt4-x11-tools, libQtWebKit-devel %else -BuildRequires: libqt4-devel, qt4-x11-tools +BuildRequires: libqt5-qtbase-devel, libqt5-qttools, libQt5WebKit5-devel %endif %endif%endif