diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-06-27 19:47:35 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-06-30 20:57:10 +0200 |
commit | bac473917923abf82adcb68b17906abde33da2a4 (patch) | |
tree | 17aa0dd652ba753d8b53b7ad0ee121e7fd622df7 | |
parent | 05450d0e887cfb5e169f746ede20ee1051df12d5 (diff) | |
download | nx-libs-bac473917923abf82adcb68b17906abde33da2a4.tar.gz nx-libs-bac473917923abf82adcb68b17906abde33da2a4.tar.bz2 nx-libs-bac473917923abf82adcb68b17906abde33da2a4.zip |
nx-libs.spec: Use mesa-quilt with Fedora builds, but rely on fallback mode in mesa-quilt for RHEL and SUSE.
-rw-r--r-- | nx-libs.spec | 13 |
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 |