Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

6 changed files with 47 additions and 92 deletions

View File

@ -1,15 +1,14 @@
<services>
<service name="tar_scm" mode="manual">
<param name="version">3.0</param>
<param name="versionformat">3.0+git%cd.%h</param>
<service name="tar_scm" mode="disabled">
<param name="version">2.4</param>
<param name="versionformat">2.4+git%cd.%h</param>
<param name="url">https://github.com/SUSE/rebootmgr.git</param>
<param name="revision">master</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="manual">
<service name="recompress" mode="disabled">
<param name="compression">xz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="manual"/>
<service name="set_version" mode="disabled"/>
</services>

View File

@ -1,5 +1,5 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/SUSE/rebootmgr.git</param>
<param name="changesrevision">eed876f90679183432df8e29b2664a699ad3a29d</param></service>
<param name="changesrevision">30e5383142b027a3f61fd6b4e910fb192101d32e</param></service>
</servicedata>

BIN
rebootmgr-2.4+git20240524.30e5383.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c80a87ad19e5a2943ec2f26204da34ee228546b1f91b5b00d0090f5acb6c7e65
size 43372

View File

@ -1,63 +1,3 @@
-------------------------------------------------------------------
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 <kukuk@suse.com>
- Add compatibility symlink for rebootmgrctl to sbin
-------------------------------------------------------------------
Fri Nov 08 09:49:55 UTC 2024 - kukuk@suse.com
- Update to version 2.6+git20241108.fc0c103:
* Fix installation of .so man pages
* Rework manpage generation
* Switch from configure.ac to meson
* Document that timezones are not supported
* Release version 2.5
-------------------------------------------------------------------
Fri May 24 11:56:30 UTC 2024 - kukuk@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package rebootmgr
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,20 +16,28 @@
#
%if ! %{defined _distconfdir}
%define _distconfdir %{_sysconfdir}
%define with_config 1
%else
%define with_config 0
%endif
Name: rebootmgr
Version: 3.0+git20250129.eed876f
Version: 2.4+git20240524.30e5383
Release: 0
Summary: Automatic controlled reboot during a maintenance window
License: GPL-2.0-only AND LGPL-2.1-or-later
Group: System/Base
URL: https://github.com/SUSE/rebootmgr
Source: %{name}-%{version}.tar.xz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: docbook-xsl-stylesheets
BuildRequires: meson
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: timezone
BuildRequires: pkgconfig(libeconf) >= 0.7.6
BuildRequires: pkgconfig(libsystemd) >= 257
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(libeconf)
%description
RebootManager is a dbus service to execute a controlled reboot after updates in a defined maintenance window.
@ -37,24 +45,24 @@ RebootManager is a dbus service to execute a controlled reboot after updates in
If you updated a system with e.g. transactional updates or a kernel update was applied, you can tell rebootmgrd with rebootmgrctl, that the machine should be reboot at the next possible time. This can either be immediately or during a defined maintenance window.
%prep
%autosetup
%setup -q
%build
%meson
%meson_build
./autogen.sh
%configure
make %{?_smp_mflags}
%install
%meson_install
%check
%meson_test
%make_install
if [ ! -d %{buildroot}%{_distconfdir} ]; then
mkdir -p %{buildroot}%{_distconfdir}
mv %{buildroot}%{_sysconfdir}/rebootmgr.conf %{buildroot}%{_distconfdir}
fi
%fdupes %{buildroot}%{_mandir}
%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
test -f /etc/rebootmgr.conf.rpmsave && mv -v /etc/rebootmgr.conf.rpmsave /etc/rebootmgr.conf.rpmsave.old ||:
%post
%service_add_post rebootmgr.service
@ -65,18 +73,26 @@ fi
%postun
%service_del_postun rebootmgr.service
%posttrans
test -f /etc/rebootmgr.conf.rpmsave && mv -v /etc/rebootmgr.conf.rpmsave /etc/rebootmgr.conf ||:
%files
%license COPYING COPYING.LIB
%doc NEWS
%dir %{_datadir}/rebootmgr
%{_datadir}/rebootmgr/rebootmgr.conf
%if %{with_config}
%config %{_sysconfdir}/rebootmgr.conf
%else
%{_distconfdir}/rebootmgr.conf
%endif
%{_unitdir}/rebootmgr.service
%{_bindir}/rebootmgrctl
%{_libexecdir}/rebootmgrd
%{_datadir}/bash-completion/completions/rebootmgrctl
%{_sbindir}/rebootmgrctl
%{_sbindir}/rebootmgrd
%{_datadir}/dbus-1/interfaces/org.opensuse.RebootMgr.xml
%{_datadir}/dbus-1/system.d/org.opensuse.RebootMgr.conf
%{_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