mirror of
https://github.com/ceph/ceph
synced 2025-01-11 21:50:26 +00:00
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:
parent
a8500ce981
commit
e1cb7e5104
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user