diff --git a/ceph-build-support-for-automake-1.12.patch b/ceph-build-support-for-automake-1.12.patch new file mode 100644 index 0000000..2158b30 --- /dev/null +++ b/ceph-build-support-for-automake-1.12.patch @@ -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 diff --git a/ceph.spec b/ceph.spec index f40fc80..46b7196 100644 --- a/ceph.spec +++ b/ceph.spec @@ -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 - 0.51-3 +- Fix automake 1.12 error + * Tue Sep 18 2012 Jonathan Dieter - 0.51-2 - Use system leveldb