Merge pull request #7823 from SUSE/wip-14906

packaging: add lsb-release dependency for SUSE and Debian

Reviewed-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
This commit is contained in:
branto1 2016-03-01 16:35:21 +01:00
commit cc7f9ec63c
2 changed files with 11 additions and 1 deletions

View File

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

1
debian/control vendored
View File

@ -84,6 +84,7 @@ Depends: binutils,
gdisk,
grep,
logrotate,
lsb-release,
parted,
python,
python-argparse,