forked from pool/redis
Accepting request 1008369 from server:database
OBS-URL: https://build.opensuse.org/request/show/1008369 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/redis?expand=0&rev=83
This commit is contained in:
commit
c323d84da5
@ -29,6 +29,12 @@ Wed Sep 21 20:36:11 UTC 2022 - Michael Ströder <michael@stroeder.com>
|
||||
* Fix ACL: BITFIELD with GET and also SET / INCRBY can be executed with read-only key permission (#11086)
|
||||
* Fix missing sections for INFO ALL when also requesting a module info section (#11291)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 1 07:15:24 UTC 2022 - Stefan Schubert <schubi@intern>
|
||||
|
||||
- Migration to /usr/etc: Saving user changed configuration files
|
||||
in /etc and restoring them while an RPM update.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 18 14:36:34 UTC 2022 - Michael Ströder <michael@stroeder.com>
|
||||
|
||||
|
14
redis.spec
14
redis.spec
@ -131,6 +131,20 @@ EOF
|
||||
|
||||
%pre -f %{name}.pre
|
||||
%service_add_pre %{name}.target %{name}@.service %{name}-sentinel.target %{name}-sentinel@.service
|
||||
%if 0%{?suse_version} > 1500
|
||||
# Prepare for migration to /usr/etc; save any old .rpmsave
|
||||
for i in logrotate.d/%{name} ; do
|
||||
test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i}.rpmsave.old ||:
|
||||
done
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%posttrans
|
||||
# Migration to /usr/etc, restore just created .rpmsave
|
||||
for i in logrotate.d/%{name} ; do
|
||||
test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i} ||:
|
||||
done
|
||||
%endif
|
||||
|
||||
%post
|
||||
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
|
||||
|
Loading…
Reference in New Issue
Block a user