From bac473917923abf82adcb68b17906abde33da2a4 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 27 Jun 2017 19:47:35 +0200 Subject: nx-libs.spec: Use mesa-quilt with Fedora builds, but rely on fallback mode in mesa-quilt for RHEL and SUSE. --- nx-libs.spec | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/nx-libs.spec b/nx-libs.spec index 08fe1177b..3b4212675 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -20,6 +20,19 @@ BuildRequires: libjpeg-devel BuildRequires: pkgconfig BuildRequires: imake +# ideally we build with quilt (for mesa-quilt patch appliance script), +# it seems Fedora has it... +%if 0%{?fedora} +BuildRequires: quilt +%endif + +# other distros sometimes do have quilt, sometimes don't, let's +# not differentiate here when it is available and when not. Rather +# rely on stupid patch application fallback mode in mesa-quilt... +%if 0%{?rhel} || 0%{?suse_version} +BuildRequires: patch +%endif + # suse_version 1315 is SLE-12 %if 0%{?suse_version} != 1315 && 0%{?suse_version} >= 1230 BuildRequires: gpg-offline -- cgit v1.2.3