summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--memcached.spec52
1 files changed, 36 insertions, 16 deletions
diff --git a/memcached.spec b/memcached.spec
index b8f3835..5082520 100644
--- a/memcached.spec
+++ b/memcached.spec
@@ -12,19 +12,22 @@
%global groupname memcached
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
-%global with_systemd 1
+%global with_systemd 1
%else
-%global with_systemd 0
+%global with_systemd 0
%endif
-
%global with_extstore 1
-
-%global with_sasl 1
-
-%if 0%{?fedora} >= 29
-%global with_selinux 1
+%global with_sasl 1
+%global with_seccomp 0
+%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
+%global with_tls 1
%else
-%global with_selinux 0
+%global with_tls 0
+%endif
+%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
+%global with_selinux 1
+%else
+%global with_selinux 0
%endif
%global selinuxtype targeted
%global selinuxmoduletype contrib
@@ -36,12 +39,11 @@
%global with_tests %{?_with_tests:1}%{!?_with_tests:0}
Name: memcached
-Version: 1.5.11
+Version: 1.5.13
Release: 1%{?dist}
Epoch: 0
Summary: High Performance, Distributed Memory Object Cache
-Group: System Environment/Daemons
License: BSD
URL: https://www.memcached.org/
Source0: https://www.memcached.org/files/%{name}-%{version}.tar.gz
@@ -68,6 +70,12 @@ BuildRequires: perl(Test::More), perl(Test::Harness)
%if %{with_sasl}
BuildRequires: cyrus-sasl-devel
%endif
+%if %{with_seccomp}
+BuildRequires: libseccomp-devel
+%endif
+%if %{with_tls}
+BuildRequires: openssl-devel >= 1.1
+%endif
%if %{with_systemd}
%{?systemd_requires}
@@ -92,7 +100,6 @@ Requires: (%{name}-selinux if selinux-policy-targeted)
%if %{with_selinux}
%package selinux
Summary: Selinux policy module
-Group: System Environment/Base
License: GPLv2
BuildRequires: selinux-policy
%{?selinux_requires}
@@ -112,9 +119,8 @@ web applications by alleviating database load.
%package devel
-Summary: Files needed for development using memcached protocol
-Group: Development/Libraries
-Requires: %{name} = %{epoch}:%{version}-%{release}
+Summary: Files needed for development using memcached protocol
+Requires: %{name} = %{epoch}:%{version}-%{release}
%description devel
Install memcached-devel if you are developing C/C++ applications that require
@@ -134,9 +140,16 @@ access to the memcached binary include files.
--enable-extstore \
%endif
%if %{with_sasl}
- --enable-sasl
+ --enable-sasl \
+%endif
+%if %{with_seccomp}
+ --enable-seccomp \
+%endif
+%if %{with_tls}
+ --enable-tls \
%endif
+
sed -i 's/-Werror / /' Makefile
make %{?_smp_mflags}
@@ -330,6 +343,13 @@ fi
%changelog
+* Tue Apr 16 2019 Remi Collet <remi@remirepo.net> - 0:1.5.13-1
+- Update to 1.5.13
+- enable TLS experimental support (Fedora and EL-8)
+
+* Mon Nov 5 2018 Remi Collet <remi@remirepo.net> - 0:1.5.12-1
+- Update to 1.5.12
+
* Mon Oct 15 2018 Remi Collet <remi@remirepo.net> - 0:1.5.11-1
- Update to 1.5.11