From 36a859c29648ebf5f064a40ad59693b72745bf5b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 27 Jul 2021 10:53:18 +0200 Subject: update to 1.6.10 (2021-07-25) --- memcached.spec | 37 ++++++++----------------------------- 1 file changed, 8 insertions(+), 29 deletions(-) (limited to 'memcached.spec') diff --git a/memcached.spec b/memcached.spec index 39519fb..16542d7 100644 --- a/memcached.spec +++ b/memcached.spec @@ -25,18 +25,19 @@ %else %bcond_with selinux %endif +# disable testing as it is unreliable on build systems +%bcond_with tests + %global selinuxtype targeted %global selinuxmoduletype contrib %global selinuxmodulename memcached %global selinuxmodulever 1.0.2 %global selinuxmoduledir %{selinuxmodulename}-selinux-%{selinuxmodulever} -# disable testing as it is unreliable on build systems -%bcond_with tests Name: memcached -Version: 1.6.9 -Release: 2%{?dist} +Version: 1.6.10 +Release: 1%{?dist} Epoch: 0 Summary: High Performance, Distributed Memory Object Cache @@ -47,8 +48,6 @@ Source1: memcached.sysconfig # SELinux policy sources: https://pagure.io/memcached-selinux/tree/master Source2: https://releases.pagure.org/memcached-selinux/memcached-selinux-1.0.2.tar.gz -# custom init script -Source4: memcached.sysv # custom unit file Source3: memcached.service @@ -239,38 +238,15 @@ exit 0 %post -%if 0%{?systemd_post:1} %systemd_post %{name}.service -%else -if [ $1 = 1 ]; then - # Initial installation - /sbin/chkconfig --add %{name} -fi -%endif %preun -%if 0%{?systemd_preun:1} %systemd_preun %{name}.service -%else -if [ "$1" = 0 ] ; then - # Package removal, not upgrade - /sbin/service %{name} stop > /dev/null 2>&1 - /sbin/chkconfig --del %{name} -fi -exit 0 -%endif %postun -%if 0%{?systemd_postun_with_restart:1} %systemd_postun_with_restart %{name}.service -%else -if [ "$1" -ge 1 ]; then - /sbin/service %{name} condrestart > /dev/null 2>&1 -fi -exit 0 -%endif %files @@ -300,6 +276,9 @@ exit 0 %changelog +* Tue Jul 27 2021 Remi Collet - 1.6.10-1 +- update to 1.6.10 (2021-07-25) + * Mon Dec 21 2020 Remi Collet - 1.6.9-2 - build with --enable-sasl-pwdb -- cgit