]> git.proxmox.com Git - zfsonlinux.git/blob - zfs-patches/0027-Fix-libaio-devel-requirement-for-Debian-based-distri.patch
bump version to 0.7.11-pve1~bpo1
[zfsonlinux.git] / zfs-patches / 0027-Fix-libaio-devel-requirement-for-Debian-based-distri.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: LOLi <loli10K@users.noreply.github.com>
3 Date: Sun, 26 Aug 2018 21:43:27 +0200
4 Subject: [PATCH] Fix libaio-devel requirement for Debian-based distributions
5
6 BuildRequires tags for "-devel" packages in the RPM spec file do not
7 work when building on Debian-based distributions.
8
9 Fix this issue by making this requirement conditional to RPM-based
10 distributions.
11
12 Reviewed-by: George Melikov <mail@gmelikov.ru>
13 Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
14 Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
15 Closes #7829
16 Closes #7831
17
18 Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
19 ---
20 rpm/generic/zfs.spec.in | 2 ++
21 1 file changed, 2 insertions(+)
22
23 diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in
24 index 16c5780b..22565725 100644
25 --- a/rpm/generic/zfs.spec.in
26 +++ b/rpm/generic/zfs.spec.in
27 @@ -197,7 +197,9 @@ Requires: sudo
28 Requires: sysstat
29 Requires: rng-tools
30 Requires: libaio
31 +%if 0%{?rhel}%{?fedora}%{?suse_version}
32 BuildRequires: libaio-devel
33 +%endif
34 AutoReqProv: no
35
36 %description test