lttng: Add distro packaging

Signed-off-by: Adam Crume <adamcrume@gmail.com>
This commit is contained in:
Adam Crume 2014-08-14 21:33:43 -07:00 committed by Sage Weil
parent edddb3fae6
commit fed22f496e
3 changed files with 9 additions and 0 deletions

View File

@ -250,6 +250,7 @@ License: LGPL-2.0
Requires: librados2 = %{version}-%{release}
Requires: librbd1 = %{version}-%{release}
Requires: libcephfs1 = %{version}-%{release}
BuildRequires: lttng-ust-devel
%description -n ceph-test
This package contains Ceph benchmarks and test tools.

1
debian/control vendored
View File

@ -32,6 +32,7 @@ Build-Depends: autoconf,
libleveldb-dev,
libnss3-dev,
libsnappy-dev,
liblttng-ust-dev,
libtool,
libudev-dev,
libxml2-dev,

7
debian/rules vendored
View File

@ -33,6 +33,13 @@ ifeq ($(DEB_HOST_ARCH), armel)
extraopts += --without-libatomic-ops
endif
ifeq ($(shell dpkg-vendor --derives-from ubuntu && echo yes),yes)
codename = $(shell lsb_release -a | sed -rn 's/Codename:\s([^\s]*)/\1/p')
ifeq ($(codename),trusty)
extraopts += --without-lttng
endif
endif
configure: configure-stamp
configure-stamp:
dh_testdir