From de792c8fd5bd7f79d4063e50266e1cf4346308bf Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Thu, 22 Apr 2021 22:47:29 +0200 Subject: [PATCH] fix BR for EPEL7 --- p7zip.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/p7zip.spec b/p7zip.spec index 95433a6..7ca41d6 100644 --- a/p7zip.spec +++ b/p7zip.spec @@ -38,7 +38,11 @@ BuildRequires: gcc-c++ BuildRequires: cmake %if %{with gui} # for 7zG GUI +%if 0%{?rhel} && 0%{?rhel} <= 7 +BuildRequires: wxGTK-devel +%else BuildRequires: wxGTK3-devel +%endif BuildRequires: kde-filesystem %endif %ifarch %{ix86}