]> git.pld-linux.org Git - packages/ctdb.git/commitdiff
- added version patch to fix generating pkgconfig() Provides auto/th/ctdb-1_0_113-2
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 14 Feb 2012 19:10:58 +0000 (19:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 2

Changed files:
    ctdb-version.patch -> 1.1
    ctdb.spec -> 1.6

ctdb-version.patch [new file with mode: 0644]
ctdb.spec

diff --git a/ctdb-version.patch b/ctdb-version.patch
new file mode 100644 (file)
index 0000000..75e7d30
--- /dev/null
@@ -0,0 +1,9 @@
+--- 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
index a75d8554b34a5c6f03e7b37cf03e506ec6d69831..324a28cf26976b418b36a52f4539548d5b55e905 100644 (file)
--- a/ctdb.spec
+++ b/ctdb.spec
@@ -10,7 +10,7 @@ Summary:      A Clustered Database based on Samba's Trivial Database (TDB)
 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/
@@ -20,6 +20,7 @@ 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
@@ -59,6 +60,7 @@ wykorzystujÄ…ce CTDB.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 sh -x ./autogen.sh
This page took 0.083249 seconds and 4 git commands to generate.