[libmemcached] temporary hack: fix LIBMEMCACHED_VERSION_HEX value

Remi Collet remi at fedoraproject.org
Fri Oct 19 06:15:20 UTC 2012


commit 91e4a6dea62565486d75b3c0bc6e805ac325a988
Author: Remi Collet <remi at fedoraproject.org>
Date:   Fri Oct 19 08:15:12 2012 +0200

    temporary hack: fix LIBMEMCACHED_VERSION_HEX value

 libmemcached.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/libmemcached.spec b/libmemcached.spec
index 154144e..4a34cde 100644
--- a/libmemcached.spec
+++ b/libmemcached.spec
@@ -4,7 +4,7 @@
 Name:      libmemcached
 Summary:   Client library and command line tools for memcached server
 Version:   1.0.12
-Release:   1%{?dist}
+Release:   2%{?dist}
 License:   BSD
 Group:     System Environment/Libraries
 URL:       http://libmemcached.org/
@@ -92,6 +92,10 @@ rm -f libmemcached/csl/{parser,scanner}.cc
 sed -i -e s/ax_cv_sasl/ac_enable_sasl/ configure
 %endif
 
+# Temporary uggly hack: fix version macro
+sed -e '/LIBMEMCACHED_VERSION_HEX/s/@PANDORA_HEX_VERSION@/@HEX_VERSION@/' \
+    -i libmemcached-*/configure.h.in
+
 
 %build
 # option --with-memcached=false to disable server binary check (as we don't run test)
@@ -181,6 +185,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Fri Oct 19 2012 Remi Collet <remi at fedoraproject.org> - 1.0.12-2
+- temporary hack: fix LIBMEMCACHED_VERSION_HEX value
+
 * Thu Oct 11 2012 Remi Collet <remi at fedoraproject.org> - 1.0.12-1
 - update to 1.0.12
 - add aclocal/ax_lib_libmemcached.m4


More information about the scm-commits mailing list