summaryrefslogtreecommitdiffstats
path: root/redis.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-06-19 12:12:59 +0200
committerRemi Collet <remi@php.net>2025-06-19 12:12:59 +0200
commit6326310b3ba8fcc072d95551e969a9b2dc1db3bd (patch)
tree77491406c6aa6eb410f02a7eab546c1fe6c2a5d6 /redis.spec
parentc56e7a07a863fb699f9c61a885826dcb2bd6d89b (diff)
remove limit.conf config filesHEADmaster
Diffstat (limited to 'redis.spec')
-rw-r--r--redis.spec14
1 files changed, 6 insertions, 8 deletions
diff --git a/redis.spec b/redis.spec
index 9808c28..d348e91 100644
--- a/redis.spec
+++ b/redis.spec
@@ -22,7 +22,7 @@
Name: redis
Version: %{upstream_ver}
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A persistent key-value database
# redis: RSALv2 or SSPLv1 or AGPLv3 (only AGPLv3 is OSS)
# hiredis: BSD-3-Clause
@@ -36,7 +36,6 @@ Source0: https://github.com/redis/redis/archive/refs/tags/%{version}.t
Source1: %{name}.logrotate
Source2: %{name}-sentinel.service
Source3: %{name}.service
-Source7: %{name}-limit-systemd
Source9: macros.%{name}
BuildRequires: gcc
@@ -179,6 +178,8 @@ install -d %{buildroot}%{_sharedstatedir}/%{name}
install -d %{buildroot}%{_localstatedir}/log/%{name}
install -d %{buildroot}%{_localstatedir}/run/%{name}
install -d %{buildroot}%{redis_modules_dir}
+install -d %{buildroot}%{_sysconfdir}/systemd/system/%{name}.service.d
+install -d %{buildroot}%{_sysconfdir}/systemd/system/%{name}-sentinel.service.d
# Install logrotate file.
install -pDm644 %{S:1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
@@ -192,10 +193,6 @@ mkdir -p %{buildroot}%{_unitdir}
install -pm644 %{S:3} %{buildroot}%{_unitdir}
install -pm644 %{S:2} %{buildroot}%{_unitdir}
-# Install systemd limit files (requires systemd >= 204)
-install -p -D -m 644 %{S:7} %{buildroot}%{_sysconfdir}/systemd/system/%{name}.service.d/limit.conf
-install -p -D -m 644 %{S:7} %{buildroot}%{_sysconfdir}/systemd/system/%{name}-sentinel.service.d/limit.conf
-
# Fix non-standard-executable-perm error.
chmod 755 %{buildroot}%{_bindir}/%{name}-*
@@ -307,9 +304,7 @@ fi
%{_unitdir}/%{name}.service
%{_unitdir}/%{name}-sentinel.service
%dir %{_sysconfdir}/systemd/system/%{name}.service.d
-%config(noreplace) %{_sysconfdir}/systemd/system/%{name}.service.d/limit.conf
%dir %{_sysconfdir}/systemd/system/%{name}-sentinel.service.d
-%config(noreplace) %{_sysconfdir}/systemd/system/%{name}-sentinel.service.d/limit.conf
%dir %attr(0755, redis, redis) %ghost %{_localstatedir}/run/%{name}
%files devel
@@ -319,6 +314,9 @@ fi
%changelog
+* Thu Jun 19 2025 Remi Collet <remi@remirepo.net> - 8.0.2-2
+- remove limit.conf config files
+
* Wed May 28 2025 Remi Collet <remi@remirepo.net> - 8.0.2-1
- Redis 8.0.2 Released Tue 27 May 2025 12:00:00 IST
- Update urgency: SECURITY: CVE-2025-27151