diff --git a/ceph.spec.in b/ceph.spec.in index d3e9cc0bd84..a8f89186b32 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -158,7 +158,9 @@ BuildRequires: gperftools-devel BuildRequires: mozilla-nss-devel BuildRequires: keyutils-devel BuildRequires: libatomic-ops-devel -%else +BuildRequires: lsb-release +%endif +%if 0%{?fedora} || 0%{?rhel} %if 0%{?_with_systemd} Requires: systemd %endif @@ -169,6 +171,7 @@ Requires(post): chkconfig Requires(preun): chkconfig Requires(preun): initscripts BuildRequires: gperftools-devel +BuildRequires: redhat-lsb-core %endif # boost %if 0%{?fedora} || 0%{?rhel} @@ -236,6 +239,12 @@ Requires: hdparm Requires: cryptsetup Requires: findutils Requires: which +%if 0%{?suse_version} +Requires: lsb-release +%endif +%if 0%{?fedora} || 0%{?rhel} +Requires: redhat-lsb-core +%endif %description base Base is the package that includes all the files shared amongst ceph servers diff --git a/debian/control b/debian/control index d4d31469db1..1d37d916cc9 100644 --- a/debian/control +++ b/debian/control @@ -84,6 +84,7 @@ Depends: binutils, gdisk, grep, logrotate, + lsb-release, parted, python, python-argparse,