[libmemcached] update to 0.49 with soname bump
Remi Collet
remi at fedoraproject.org
Thu Jun 2 08:54:59 UTC 2011
commit 4b34a8d898fb308bb8d58ff3c59e8f4299a7d1ae
Author: remi <fedora at famillecollet.com>
Date: Thu Jun 2 10:54:43 2011 +0200
update to 0.49 with soname bump
.gitignore | 8 ++------
libmemcached.spec | 33 +++++++++++++++++++++++++--------
sources | 2 +-
3 files changed, 28 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f583c50..7aee47a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,2 @@
-libmemcached-0.42.tar.gz
-libmemcached-0.43.tar.gz
-/libmemcached-0.44.tar.gz
-/libmemcached-0.44-exhsieh.tar.gz
-/libmemcached-0.46-exhsieh.tar.gz
-/libmemcached-0.47-exhsieh.tar.gz
+*~
+/libmemcached-0.49-exhsieh.tar.gz
diff --git a/libmemcached.spec b/libmemcached.spec
index 044965b..491f77e 100644
--- a/libmemcached.spec
+++ b/libmemcached.spec
@@ -1,6 +1,8 @@
+%global with_tests %{?_with_tests:1}%{!?_with_tests:0}
+
Name: libmemcached
Summary: Client library and command line tools for memcached server
-Version: 0.47
+Version: 0.49
Release: 1%{?dist}
License: BSD
Group: System Environment/Libraries
@@ -15,6 +17,9 @@ Source0: libmemcached-%{version}-exhsieh.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cyrus-sasl-devel
+%if %{with_tests}
+BuildRequires: memcached
+%endif
%if 0%{?fedora} >= 12
BuildRequires: systemtap-sdt-devel
%endif
@@ -61,7 +66,11 @@ you will need to install %{name}-devel.
%build
# option --with-memcached=false to disable server binary check (as we don't run test)
-%configure --with-memcached=false
+%configure \
+%if ! %{with_tests}
+ --with-memcached=false
+%endif
+
%{__make} %{_smp_mflags}
@@ -71,11 +80,14 @@ you will need to install %{name}-devel.
%check
-# For documentation only:
+%if %{with_tests}
# test suite cannot run in mock (same port use for memcache servers on all arch)
# All tests completed successfully
# diff output.res output.cmp fails but result depend on server version
-#%{__make} test
+%{__make} test
+%else
+echo 'Test suite disabled (missing "--with tests" option)'
+%endif
%clean
@@ -96,10 +108,10 @@ you will need to install %{name}-devel.
%exclude %{_libdir}/libmemcachedprotocol.la
%exclude %{_libdir}/libmemcachedutil.la
%exclude %{_libdir}/libhashkit.la
-%{_libdir}/libhashkit.so.0*
-%{_libdir}/libmemcached.so.6*
+%{_libdir}/libhashkit.so.1*
+%{_libdir}/libmemcached.so.7*
%{_libdir}/libmemcachedprotocol.so.0*
-%{_libdir}/libmemcachedutil.so.1*
+%{_libdir}/libmemcachedutil.so.2*
%{_mandir}/man1/mem*
@@ -114,11 +126,16 @@ you will need to install %{name}-devel.
%{_libdir}/libmemcachedutil.so
%{_libdir}/pkgconfig/libmemcached.pc
%{_mandir}/man3/libmemcached*
-%{_mandir}/man3/memcached_*
+%{_mandir}/man3/libhashkit*
+%{_mandir}/man3/memcached*
%{_mandir}/man3/hashkit*
%changelog
+* Thu Jun 02 2011 Remi Collet <Fedora at famillecollet.com> - 0.49-1
+- update to 0.49
+- add build option : --with tests
+
* Mon Feb 28 2011 Remi Collet <Fedora at famillecollet.com> - 0.47-1
- update to 0.47
- remove patch merged upstream
diff --git a/sources b/sources
index d03ef73..21b1669 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1b5e7cbd8dee19d0bea4bdc410f391b3 libmemcached-0.47-exhsieh.tar.gz
+1de27e5d92da31fdc8246629ec92a2c3 libmemcached-0.49-exhsieh.tar.gz
More information about the scm-commits
mailing list