summaryrefslogtreecommitdiff
path: root/ceph.spec.in
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>2012-05-22 05:17:47 -0300
committerSage Weil <sage@newdream.net>2012-05-23 10:55:49 -0700
commita330c64cb032e12a7eec967d140d2b44a890faab (patch)
tree5b5140b1c91f0cd442f80c9da4e2fb0d0308aa6b /ceph.spec.in
parent244992df6cccf1272a1b1a8444db9417baa9371d (diff)
downloadceph-a330c64cb032e12a7eec967d140d2b44a890faab.tar.gz
Update ceph.spec for ceph-0.47
Add BuildRequires: libxml2-devel. Move BuildRequires: libcurl-devel to a more proper place. [libs3 and librgw.h bits of patch dropped -sw] Signed-off-by: Alexandre Oliva <oliva@lsd.ic.unicamp.br> Signed-off-by: Sage Weil <sage@newdream.net>
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