diff --git a/_service b/_service index dee20d4..a827290 100644 --- a/_service +++ b/_service @@ -1,8 +1,9 @@ - 2.5 - 2.6+git%cd.%h + 3.0 + 3.0+git%cd.%h https://github.com/SUSE/rebootmgr.git + master git enable diff --git a/_servicedata b/_servicedata index 81dc001..fb1b499 100644 --- a/_servicedata +++ b/_servicedata @@ -1,5 +1,5 @@ https://github.com/SUSE/rebootmgr.git - fc0c103d4ff51f093b54581d47fff6ddf889b895 + eed876f90679183432df8e29b2664a699ad3a29d \ No newline at end of file diff --git a/rebootmgr-2.6+git20241108.fc0c103.tar.xz b/rebootmgr-2.6+git20241108.fc0c103.tar.xz deleted file mode 100644 index 1e5f417..0000000 --- a/rebootmgr-2.6+git20241108.fc0c103.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ddcac9ed2ab898422ffbde558f51c4f74d456d5d2bd0a14ad5d1f57dc840cbab -size 41368 diff --git a/rebootmgr-3.0+git20250129.eed876f.tar.xz b/rebootmgr-3.0+git20250129.eed876f.tar.xz new file mode 100644 index 0000000..e0862fe --- /dev/null +++ b/rebootmgr-3.0+git20250129.eed876f.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c80a87ad19e5a2943ec2f26204da34ee228546b1f91b5b00d0090f5acb6c7e65 +size 43372 diff --git a/rebootmgr.changes b/rebootmgr.changes index bcddcdf..05391a3 100644 --- a/rebootmgr.changes +++ b/rebootmgr.changes @@ -1,3 +1,48 @@ +------------------------------------------------------------------- +Wed Jan 29 09:56:49 UTC 2025 - kukuk@suse.com + +- Update to version 3.0+git20250129.eed876f: + * Release version 3.1 + * rebootmgrd: fix check if new strategy is valid + +------------------------------------------------------------------- +Tue Jan 28 15:05:30 UTC 2025 - kukuk@suse.com + +- Update to version 3.0+git20250128.8fa577c: + * Import version 3.0 based on sd-varlink + +------------------------------------------------------------------- +Mon Jan 27 13:25:24 UTC 2025 - kukuk@suse.com + +- Update to version 3.0+git20250127.73667d7: + * rebootmgrctl: implement verbose dump-config verb + * Fix search path for vendor config file + * Add CI with openSUSE container + * Add new methods and use UID auth +- Add timezone to BuildRequires for test suite + +------------------------------------------------------------------- +Wed Jan 15 11:05:37 UTC 2025 - kukuk@suse.com + +- Update to version 3.0+git20250114.f74a9d5: + * Add bash-completion for rebootmgrctl + +------------------------------------------------------------------- +Thu Dec 19 15:28:20 UTC 2024 - kukuk@suse.com + +- Update to version 3.0+git20241219.7166827: + * Remove left overs from dbus related manual page + * Use int64 to parse JSON for time_t + * Set varlink info + * Move announce_ready() call to a later place + * Require libeconf 0.7.5 + * Free event loop in destroy context. + * Add missing error reply + * Remove unused log_type variable + * Add internal error to varlink interface + * Move varlink definition into own file + * Update manual pages + ------------------------------------------------------------------- Mon Nov 11 06:03:16 UTC 2024 - Thorsten Kukuk diff --git a/rebootmgr.spec b/rebootmgr.spec index 149f3b0..83756be 100644 --- a/rebootmgr.spec +++ b/rebootmgr.spec @@ -1,7 +1,7 @@ # # spec file for package rebootmgr # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: rebootmgr -Version: 2.6+git20241108.fc0c103 +Version: 3.0+git20250129.eed876f Release: 0 Summary: Automatic controlled reboot during a maintenance window License: GPL-2.0-only AND LGPL-2.1-or-later @@ -27,8 +27,9 @@ Source: %{name}-%{version}.tar.xz BuildRequires: docbook-xsl-stylesheets BuildRequires: meson BuildRequires: pkgconfig -BuildRequires: pkgconfig(dbus-1) -BuildRequires: pkgconfig(libeconf) +BuildRequires: timezone +BuildRequires: pkgconfig(libeconf) >= 0.7.6 +BuildRequires: pkgconfig(libsystemd) >= 257 %description RebootManager is a dbus service to execute a controlled reboot after updates in a defined maintenance window. @@ -44,13 +45,16 @@ If you updated a system with e.g. transactional updates or a kernel update was a %install %meson_install -ln -sf ../bin/rebootmgrctl %{buildroot}%{_sbindir}/rebootmgrctl -#%check -#meson_test +%check +%meson_test %pre %service_add_pre rebootmgr.service +if [ -f /etc/rebootmgr.conf ] && [ ! -f /etc/rebootmgr/rebootmgr.conf.d/20-old-rebootmgr.conf ]; then + mkdir -p /etc/rebootmgr/rebootmgr.conf.d ||: + mv /etc/rebootmgr.conf /etc/rebootmgr/rebootmgr.conf.d/20-old-rebootmgr.conf +fi %post %service_add_post rebootmgr.service @@ -68,14 +72,11 @@ ln -sf ../bin/rebootmgrctl %{buildroot}%{_sbindir}/rebootmgrctl %{_datadir}/rebootmgr/rebootmgr.conf %{_unitdir}/rebootmgr.service %{_bindir}/rebootmgrctl -%{_sbindir}/rebootmgrctl -%{_sbindir}/rebootmgrd -%{_datadir}/dbus-1/interfaces/org.opensuse.RebootMgr.xml -%{_datadir}/dbus-1/system.d/org.opensuse.RebootMgr.conf +%{_libexecdir}/rebootmgrd +%{_datadir}/bash-completion/completions/rebootmgrctl %{_mandir}/man1/rebootmgrctl.1%{?ext_man} %{_mandir}/man5/rebootmgr.conf.5%{?ext_man} %{_mandir}/man8/rebootmgrd.8%{?ext_man} -%{_mandir}/man8/org.opensuse.RebootMgr.conf.8%{?ext_man} %{_mandir}/man8/rebootmgr.service.8%{?ext_man} %changelog