[PATCH] Update ceph.spec for ceph-0.47

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add BuildRequires: libxml2-devel.
Move BuildRequires: libcurl-devel to a more proper place.
Uninstall libs3, incorrectly installed in RPM_BUILD_ROOT.
Package %{_includedir}/rados/librgw.h.
---
 ceph.spec.in |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ceph.spec.in b/ceph.spec.in
index b3dd3f0..1dbd645 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,10 @@ make -j$(getconf _NPROCESSORS_ONLN)
 
 %install
 make DESTDIR=$RPM_BUILD_ROOT install
+make DESTDIR=$RPM_BUILD_ROOT -C src/libs3 uninstall
+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
@@ -365,6 +370,7 @@ fi
 %dir %{_includedir}/rados
 %{_includedir}/rados/librados.h
 %{_includedir}/rados/librados.hpp
+%{_includedir}/rados/librgw.h
 %{_includedir}/rados/buffer.h
 %{_includedir}/rados/page.h
 %{_includedir}/rados/crc32c.h
-- 
1.7.7.6

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist      Red Hat Brazil Compiler Engineer
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux