Update ceph.spec for ceph-0.47
PATCH 1/1 Update ceph.spec for ceph-0.47
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(-)
ceph.spec.in +7 -1
@@ -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
Signature · 7 lines
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
Quoted 3 lines · Alexandre Oliva
Add BuildRequires: libxml2-devel.
Move BuildRequires: libcurl-devel to a more proper place. Uninstall libs3, incorrectly installed inRPM_BUILD_ROOT.
We fixed the Makefile so that libs3 is no longer installed in the first place, took that part out.
Quoted 1 line
Package %{_includedir}/rados/librgw.h.
This shouldn't be installed.. I've fixed the Makefile accordingly.
An abbreviated version of the patch is now in stable.
Thanks!
sage
Quoted 58 lines
--- ceph.spec.in | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)ceph.spec.in +7
-1@@ -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.hSignature · 11 lines
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html