aboutsummaryrefslogtreecommitdiff
path: root/nx-libs.spec
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2017-06-30 20:59:27 +0200
committerMihai Moldovan <ionic@ionic.de>2017-06-30 20:59:27 +0200
commit4c7641a1fe27b537ed1ad1e59411aa98d9633ac9 (patch)
treed0f0bae206d0019ebf788e0e14befd34f63f800e /nx-libs.spec
parent05450d0e887cfb5e169f746ede20ee1051df12d5 (diff)
parent79fcce3ee7956a9372cf8db0f755294f56754f0b (diff)
downloadnx-libs-4c7641a1fe27b537ed1ad1e59411aa98d9633ac9.tar.gz
nx-libs-4c7641a1fe27b537ed1ad1e59411aa98d9633ac9.tar.bz2
nx-libs-4c7641a1fe27b537ed1ad1e59411aa98d9633ac9.zip
Merge branch 'sunweaver-pr/mese-quilt-without-quilt' into 3.6.x
Attributes GH PR #470: https://github.com/ArcticaProject/nx-libs/pull/470 Fixes: ArcticaProject/nx-libs#444 Fixes: ArcticaProject/nx-libs#457
Diffstat (limited to 'nx-libs.spec')
-rw-r--r--nx-libs.spec13
1 files changed, 13 insertions, 0 deletions
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