forked from pool/mariadb
Accepting request 559491 from server:database
OBS-URL: https://build.opensuse.org/request/show/559491 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb?expand=0&rev=63
This commit is contained in:
commit
eda03bd147
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 21 12:42:28 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
- Do not manually delete
|
||||
%{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-something:
|
||||
The file is listed as ghost and thus properly owned by the
|
||||
package.
|
||||
- Use %tmpfiles_create which can cope with transactional updates.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 30 07:53:14 UTC 2017 - kstreitova@suse.com
|
||||
|
||||
|
@ -673,15 +673,12 @@ getent passwd mysql | cut -d: -f7 | grep '\b/bin/false\b' &>/dev/null || usermod
|
||||
|
||||
%post
|
||||
%service_add_post mysql.service
|
||||
# Use %%tmpfiles_create when 13.2 is oldest in support scope
|
||||
%{_bindir}/systemd-tmpfiles --create %{_tmpfilesdir}/mysql.conf || :
|
||||
%tmpfiles_create %{_tmpfilesdir}/mysql.conf
|
||||
|
||||
# SLE11 Migration support
|
||||
for i in protected tmp; do
|
||||
rmdir "$datadir"/.$i 2>/dev/null || :
|
||||
done
|
||||
# Remove any messages that could've been in place about the upgrade
|
||||
rm -f %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-something
|
||||
|
||||
# During package rename (migration maria->mysql-community-server),
|
||||
# there might be config file move and we get rpmsave that we should keep
|
||||
@ -735,8 +732,6 @@ exit 0
|
||||
|
||||
%postun
|
||||
%service_del_postun mysql.service
|
||||
# Remove the /var/adm updatemsg that was hand-created and thus not on filelist
|
||||
rm -f %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-something
|
||||
|
||||
%post -n libmysqld%{soname} -p /sbin/ldconfig
|
||||
%postun -n libmysqld%{soname} -p /sbin/ldconfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user