summaryrefslogtreecommitdiff
path: root/ceph.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'ceph.spec.in')
-rw-r--r--ceph.spec.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/ceph.spec.in b/ceph.spec.in
index b3dd3f03b2f..80e6dc784ca 100644
--- a/ceph.spec.in
+++ b/ceph.spec.in
@@ -37,6 +37,8 @@ BuildRequires: gdbm
BuildRequires: pkgconfig
BuildRequires: python
BuildRequires: libaio-devel
+BuildRequires: libcurl-devel
+BuildRequires: libxml2-devel
#################################################################################
# specific
@@ -55,7 +57,6 @@ Requires(post): chkconfig
Requires(preun):chkconfig
Requires(preun):initscripts
%endif
-BuildRequires: libcurl-devel
%if 0%{with tcmalloc}
# use isa so this will not be satisfied by
# google-perftools-devel.i686 on a x86_64 box
@@ -232,6 +233,9 @@ make -j$(getconf _NPROCESSORS_ONLN)
%install
make DESTDIR=$RPM_BUILD_ROOT install
+rmdir $RPM_BUILD_ROOT/bin
+rmdir $RPM_BUILD_ROOT/lib
+rmdir $RPM_BUILD_ROOT/include
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
install -D src/init-ceph $RPM_BUILD_ROOT%{_initrddir}/ceph