From feba49b9aaf6af240e5ebe03077e90df63328e64 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Thu, 21 Mar 2019 20:53:18 +0100 Subject: OBS: use appropriate dependencies for Suse. The Qt5 and libelf development packages differs between Fedora and Suse. Signed-off-by: Pavel Pisa --- qtmips.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/qtmips.spec b/qtmips.spec index 411fdd3..21dedfd 100644 --- a/qtmips.spec +++ b/qtmips.spec @@ -26,12 +26,18 @@ Url: https://github.com/cvut/QtMips/ Source: qtmips-%{version}.tar.gz +%if 0%{?suse_version} +BuildRequires: libqt5-qtbase-devel +BuildRequires: libelf-devel +%endif +%if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?scientificlinux_version} BuildRequires: gcc-c++ BuildRequires: qt5-qtbase-devel >= 5.3 BuildRequires: elfutils-libelf-devel - Requires: qt5-qtbase +%endif + # Qt devel packages %define qmake /usr/bin/qmake-qt5 -- cgit v1.2.3