--- /dev/null
+--- ctdb-1.0.113/configure.ac.orig 2010-01-12 21:12:08.000000000 +0100
++++ ctdb-1.0.113/configure.ac 2012-02-14 19:43:00.127559003 +0100
+@@ -1,5 +1,5 @@
+ AC_PREREQ(2.50)
+-AC_INIT(ctdb, m4_esyscmd([grep 'Version:' ./packaging/RPM/ctdb.spec 2>/dev/null | head -1 | sed -e 's/[ \t]*Version:[ \t]*\([^ \t]*\)[ \t]*.*/\1/' | tr -d '\n']))
++AC_INIT(ctdb, m4_esyscmd([grep 'Version:' ./packaging/RPM/ctdb.spec.in 2>/dev/null | head -1 | sed -e 's/[ \t]*Version:[ \t]*\([^ \t]*\)[ \t]*.*/\1/' | tr -d '\n']))
+ AC_DEFUN([AC_CHECK_LIB_EXT], [
+ AC_CHECK_LIB([$1],[$3],[$4],[$5],[$7])
+ ac_cv_lib_ext_$1_$3=$ac_cv_lib_$1_$3
Summary(pl.UTF-8): Klastrowa baza danych oparta na bazie danych Trivial Database z Samby (TDB)
Name: ctdb
Version: 1.0.113
-Release: 1
+Release: 2
License: GPL v3+
Group: Daemons
URL: http://ctdb.samba.org/
# git-archive --format=tar --prefix=%{name}-%{version}/ %{name}-%{version} | bzip2 > %{name}-%{version}.tar.bz2
Source0: %{name}-%{version}.tar.bz2
# Source0-md5: ce3eda943bf81c7c9e513ec715f4a785
+Patch0: %{name}-version.patch
BuildRequires: autoconf >= 2.50
BuildRequires: net-tools
BuildRequires: popt-devel
%prep
%setup -q
+%patch0 -p1
%build
sh -x ./autogen.sh