Fix automake 1.12 error

Signed-off-by: Jonathan Dieter <jdieter@lesbg.com>
This commit is contained in:
Jonathan Dieter 2012-09-24 09:22:21 +03:00
parent ff794c7017
commit 9855df9139
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff -urb ceph-0.51/configure.ac ceph-0.51b/configure.ac
--- ceph-0.51/configure.ac 2012-08-26 01:58:14.000000000 +0300
+++ ceph-0.51b/configure.ac 2012-09-24 09:19:20.791969694 +0300
@@ -17,6 +17,9 @@
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
+# fix automake problems in 1.12
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
+
# Automake
AM_INIT_AUTOMAKE
AM_PROG_CC_C_O

View File

@ -1,6 +1,6 @@
Name: ceph
Version: 0.51
Release: 2%{?dist}
Release: 3%{?dist}
Summary: User space components of the Ceph file system
License: LGPLv2
Group: System Environment/Base
@ -9,6 +9,7 @@ URL: http://ceph.com/
Source: http://ceph.com/download/%{name}-%{version}.tar.bz2
Patch0: ceph-init-fix.patch
Patch1: ceph.logrotate.patch
Patch2: ceph-build-support-for-automake-1.12.patch
BuildRequires: fuse-devel, libtool, libtool-ltdl-devel, boost-devel,
BuildRequires: libedit-devel, fuse-devel, git, perl, gdbm, libaio-devel,
@ -86,6 +87,7 @@ Ceph RADOS cluster, or a local directory.
%setup -q
%patch0 -p1 -b .init
%patch1 -p0
%patch2 -p1
%build
./autogen.sh
@ -264,6 +266,9 @@ fi
%{_bindir}/boto_tool
%changelog
* Mon Sep 24 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.51-3
- Fix automake 1.12 error
* Tue Sep 18 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.51-2
- Use system leveldb