summaryrefslogtreecommitdiffstats
path: root/memcached.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-07-27 10:53:18 +0200
committerRemi Collet <remi@remirepo.net>2021-07-27 10:53:18 +0200
commit36a859c29648ebf5f064a40ad59693b72745bf5b (patch)
tree0322f5ad58c491de55b660f2f366c7f719500de1 /memcached.spec
parent23309081a6e6e16776abc0b46baac7a9ebe120f5 (diff)
update to 1.6.10 (2021-07-25)
Diffstat (limited to 'memcached.spec')
-rw-r--r--memcached.spec37
1 files changed, 8 insertions, 29 deletions
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 <remi@remirepo.net> - 1.6.10-1
+- update to 1.6.10 (2021-07-25)
+
* Mon Dec 21 2020 Remi Collet <remi@remirepo.net> - 1.6.9-2
- build with --enable-sasl-pwdb