]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph.spec.in: disable lttng and babeltrace explicitly 7857/head
authorKefu Chai <kchai@redhat.com>
Tue, 1 Mar 2016 05:51:09 +0000 (13:51 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 12 Mar 2016 03:07:09 +0000 (11:07 +0800)
commitf1a44907a2f83cb8080cd8ab5980a30306a33fbd
treefefc8cb1abbad9abc3d8bfcb90cc838e4cef717b
parent750701b64467a9510e6634cae90e013831ec8fe0
ceph.spec.in: disable lttng and babeltrace explicitly

before this change, we do not pacakge tracepoint probe shared libraries
on rhel7. but "configure" script enables them if lttng is detected. and
rpm complains at seeing installed but not pacakged files. as EPEL-7 now
includes lttng-ust-devel and libbabeltrace-devel, we'd better
BuildRequire them, and build with them unless disabled otherwise. so in
this change
* make "lttng" an rpm build option enabled by default
* BuildRequire lttng-ust-devel and libbabeltrace-devel if the "lttng"
 "lttng" option is enabled
* --without-lttng --without-babeltrace if the "lttng" option is disabled

Fixes: #14844
Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph.spec.in