From d4e85c8b43e5e3a702cac0be321cb285a39ff55c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 2 Dec 2012 17:05:33 +0100 Subject: memcached: test build without sasl --- memcached.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/memcached.spec b/memcached.spec index 319d2eb..6151da0 100644 --- a/memcached.spec +++ b/memcached.spec @@ -7,9 +7,11 @@ %global with_systemd 0 %endif +%global with_sasl 0 + Name: memcached Version: 1.4.15 -Release: 2%{?dist} +Release: 2%{?dist}.1 Epoch: 0 Summary: High Performance, Distributed Memory Object Cache @@ -31,7 +33,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libevent-devel BuildRequires: perl(Test::More), perl(Test::Harness) +%if %{with_sasl} BuildRequires: cyrus-sasl-devel +%endif %if %{with_systemd} Requires(post): systemd @@ -73,7 +77,11 @@ memcached binary include files. %build -%configure --enable-sasl +%configure \ +%if %{with_sasl} + --enable-sasl +%endif + sed -i 's/-Werror/ /' Makefile make %{?_smp_mflags} @@ -227,6 +235,9 @@ fi %{_includedir}/memcached/* %changelog +* Sun Dec 2 2012 Remi Collet - 0:1.4.15-2.1 +- build test without SASL + * Mon Nov 26 2012 Remi Collet - 0:1.4.15-2 - enable SASL support -- cgit