diff options
author | Sage Weil <sage@newdream.net> | 2011-10-07 11:10:46 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-10-07 11:10:46 -0700 |
commit | 5a2369424002d1831dd7664a6e73b2d526b6a576 (patch) | |
tree | a54850cd898bc144f0a02ac39a3574071d8dae3e /ceph.spec.in | |
parent | 6e29c2826066a7723ed05b60b8ac0433a04c3c13 (diff) | |
download | ceph-5a2369424002d1831dd7664a6e73b2d526b6a576.tar.gz |
ceph.spec.in: build on suse
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'ceph.spec.in')
-rw-r--r-- | ceph.spec.in | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/ceph.spec.in b/ceph.spec.in index 986aab36200..702fbc24326 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -21,10 +21,16 @@ Group: System Environment/Base URL: http://ceph.newdream.net/ Source: http://ceph.newdream.net/download/%{name}-%{version}.tar.gz -BuildRequires: fuse-devel, libtool, libtool-ltdl-devel, boost-devel, +BuildRequires: gcc-c++, +BuildRequires: fuse-devel, libtool, boost-devel, +%if %{defined suse_version} +BuildRequires: mozilla-nss-devel, libatomic-ops-devel, keyutils-devel, libtool, +%else +BuildRequires: nss-devel, libatomic_ops-devel, keyutils-libs-devel, +BuildRequires: libtool-ltdl-devel, +%endif BuildRequires: libedit-devel, fuse-devel, git, perl, gdbm, -BuildRequires: nss-devel, libatomic_ops-devel -BuildRequires: pkgconfig, python, keyutils-libs-devel +BuildRequires: pkgconfig, python %if %{with tcmalloc} # use isa so this will not be satisfied by # google-perftools-devel.i686 on a x86_64 box @@ -32,8 +38,14 @@ BuildRequires: pkgconfig, python, keyutils-libs-devel BuildRequires: google-perftools-devel%{?_isa} %endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires(post): chkconfig, binutils, libedit +%if %{defined suse_version} +Requires(post): aaa_base +Requires(preun): aaa_base +%else +Requires(post): chkconfig Requires(preun): chkconfig +%endif +Requires(post): binutils, libedit Requires(preun): initscripts %description |