forked from pool/wpa_supplicant
Accepting request 1000701 from home:schubi2
Migration to /usr/etc: Saving user changed configuration files in /etc and restoring them while an RPM update. OBS-URL: https://build.opensuse.org/request/show/1000701 OBS-URL: https://build.opensuse.org/package/show/hardware/wpa_supplicant?expand=0&rev=139
This commit is contained in:
parent
20be233a72
commit
cb5a5701e1
@ -1,9 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 1 13:52:19 UTC 2022 - Stefan Schubert <schubi@suse.com>
|
||||||
|
|
||||||
|
- Migration to /usr/etc: Saving user changed configuration files
|
||||||
|
in /etc and restoring them while an RPM update.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 5 11:29:50 UTC 2022 - Clemens Famulla-Conrad <cfamullaconrad@suse.com>
|
Tue Jul 5 11:29:50 UTC 2022 - Clemens Famulla-Conrad <cfamullaconrad@suse.com>
|
||||||
|
|
||||||
- Add dbus-Fix-property-DebugShowKeys-and-DebugTimestamp.patch
|
- Add dbus-Fix-property-DebugShowKeys-and-DebugTimestamp.patch
|
||||||
(bsc#1201219)
|
(bsc#1201219)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 21 10:11:36 UTC 2022 - Stefan Schubert <schubi@suse.com>
|
||||||
|
|
||||||
|
- Removed %config flag for files in /usr directory.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 21 07:29:22 UTC 2022 - Stefan Schubert <schubi@suse.com>
|
Tue Jun 21 07:29:22 UTC 2022 - Stefan Schubert <schubi@suse.com>
|
||||||
|
|
||||||
|
@ -116,6 +116,20 @@ ln -s wpa_supplicant.service %{buildroot}%{_unitdir}/dbus-fi.w1.wpa_supplicant1.
|
|||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre wpa_supplicant.service
|
%service_add_pre wpa_supplicant.service
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
# Prepare for migration to /usr/etc; save any old .rpmsave
|
||||||
|
for i in logrotate.d/wpa_supplicant ; 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/wpa_supplicant ; do
|
||||||
|
test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i} ||:
|
||||||
|
done
|
||||||
|
%endif
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%service_add_post wpa_supplicant.service
|
%service_add_post wpa_supplicant.service
|
||||||
|
Loading…
x
Reference in New Issue
Block a user