diff options
author | Sage Weil <sage@newdream.net> | 2012-05-23 16:41:14 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2012-05-23 16:41:14 -0700 |
commit | fbae60315d7d4d2f507ddde8a4de9a173255e080 (patch) | |
tree | 9905e90625fef6a89840d3edf4b5fc6aab2690ea /ceph.spec.in | |
parent | 09192d65972d093fa3d5b46bd1c25f72aaef22c3 (diff) | |
parent | bf2028fc514575abdf144df753cf01f497670728 (diff) | |
download | ceph-fbae60315d7d4d2f507ddde8a4de9a173255e080.tar.gz |
Merge branch 'stable'
Diffstat (limited to 'ceph.spec.in')
-rw-r--r-- | ceph.spec.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ceph.spec.in b/ceph.spec.in index fa72c2d9087..59b05afda8d 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -35,6 +35,8 @@ BuildRequires: gdbm BuildRequires: pkgconfig BuildRequires: python BuildRequires: libaio-devel +BuildRequires: libcurl-devel +BuildRequires: libxml2-devel ################################################################################# # specific @@ -53,7 +55,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 @@ -212,6 +213,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 |