]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
packaging: Adding btrfs build require
authorErwan Velu <erwan@redhat.com>
Mon, 22 Feb 2016 13:58:26 +0000 (14:58 +0100)
committerErwan Velu <erwan@redhat.com>
Mon, 7 Mar 2016 19:27:06 +0000 (20:27 +0100)
When doing a 'make check', 'qa/workunits/ceph-helpers.sh' does expect the 'btrfs'
command to be available. If not, that make many tests failing.

Signed-off-by: Erwan Velu <erwan@redhat.com>
ceph.spec.in
debian/control

index 08d77451a1ebd640331f1a399b23abc94ecc6dd3..ad534090672f4dccd80d2471759d67332e0a053c 100644 (file)
@@ -157,6 +157,9 @@ BuildRequires:      libbz2-devel
 %if 0%{with tcmalloc}
 BuildRequires: gperftools-devel
 %endif
+%if 0%{with tests}
+BuildRequires:  btrfsprogs
+%endif
 BuildRequires: mozilla-nss-devel
 BuildRequires: keyutils-devel
 BuildRequires: libatomic-ops-devel
@@ -166,6 +169,9 @@ BuildRequires:  lsb-release
 %if 0%{?_with_systemd}
 Requires:      systemd
 %endif
+%if 0%{with tests}
+BuildRequires: btrfs-progs
+%endif
 BuildRequires: nss-devel
 BuildRequires: keyutils-libs-devel
 BuildRequires: libatomic_ops-devel
index 10671829ebfece3b84711fca05eaf01c12a6076a..899a9356c6f61d0bfd33a88599cc7e938dcd203d 100644 (file)
@@ -10,6 +10,7 @@ Uploaders: Ken Dreyer <kdreyer@redhat.com>,
 Build-Depends: autoconf,
                automake,
                autotools-dev,
+               btrfs-tools,
               cmake,
                cpio,
               cryptsetup-bin | cryptsetup,