From e1cb7e51041c4e646ac9b9b32a525ec0bbd46149 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Sat, 6 Jun 2015 13:44:20 +0200 Subject: [PATCH] ceph.spec.in: move specific BuildRequires to where they belong Move distro-specific BuildRequires out of "common" section and into the appropriate %if statement in the "specific" section. Also remove a duplicated "Requires: gdisk". Signed-off-by: Nathan Cutler Reviewed-by: Loic Dachary --- ceph.spec.in | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index df7317b96d76d..3f20fd2f318d4 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -56,11 +56,6 @@ Requires: systemd %endif BuildRequires: gcc-c++ BuildRequires: boost-devel -%if 0%{defined suse_version} -BuildRequires: libbz2-devel -%else -BuildRequires: bzip2-devel -%endif BuildRequires: cryptsetup BuildRequires: gdbm BuildRequires: hdparm @@ -125,7 +120,7 @@ BuildRequires: keyutils-devel BuildRequires: libatomic-ops-devel BuildRequires: fdupes %else -Requires: gdisk +BuildRequires: bzip2-devel BuildRequires: nss-devel BuildRequires: keyutils-libs-devel BuildRequires: libatomic_ops-devel -- 2.39.5