1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-22 02:50:32 +03:00

0.8.1-alt3

- Fixed compatibility upgrade trigger condition
This commit is contained in:
Evgeny Sinelnikov 2020-10-07 06:33:05 +04:00
parent b426ab5b36
commit d967c0786d

View File

@ -2,7 +2,7 @@
Name: gpupdate
Version: 0.8.1
Release: alt2
Release: alt3
Summary: GPT applier
License: GPLv3+
@ -80,7 +80,7 @@ install -Dm0644 doc/gpupdate.1 %buildroot/%_man1dir/gpupdate.1
# Remove storage in case we've lost compatibility between versions.
# The storage will be regenerated on GPOA start.
%define active_policy %_sysconfdir/local-policy/active
%triggerpostun -- %name > 0.7
%triggerpostun -- %name < 0.8.0
rm -f %_cachedir/%name/registry.sqlite
if test -L %active_policy; then
sed -i "s|^\s*local-policy\s*=.*|local-policy = $(readlink -f %active_policy)|" \
@ -112,6 +112,9 @@ fi
%exclude %python3_sitelibdir/gpoa/test
%changelog
* Wed Oct 07 2020 Evgeny Sinelnikov <sin@altlinux.org> 0.8.1-alt3
- Fixed compatibility upgrade trigger condition
* Wed Oct 07 2020 Evgeny Sinelnikov <sin@altlinux.org> 0.8.1-alt2
- Fixed compatibility upgrade trigger from 0.7 releases for update
active local-policy in new gpupdate.ini configuartion file