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 <ncutler@suse.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
This commit is contained in:
Nathan Cutler 2015-06-06 13:44:20 +02:00
parent a8500ce981
commit e1cb7e5104

View File

@ -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