Accepting request 1222710 from devel:microos

- 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

OBS-URL: https://build.opensuse.org/request/show/1222710
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rebootmgr?expand=0&rev=29
This commit is contained in:
Dominique Leuenberger 2024-11-09 19:52:51 +00:00 committed by Git OBS Bridge
commit 2d98d1b0c5
6 changed files with 31 additions and 40 deletions

View File

@ -1,14 +1,14 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="version">2.4</param>
<param name="versionformat">2.4+git%cd.%h</param>
<service name="tar_scm" mode="manual">
<param name="version">2.5</param>
<param name="versionformat">2.6+git%cd.%h</param>
<param name="url">https://github.com/SUSE/rebootmgr.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">
<service name="recompress" mode="manual">
<param name="compression">xz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="disabled"/>
<service name="set_version" mode="manual"/>
</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">30e5383142b027a3f61fd6b4e910fb192101d32e</param></service>
<param name="changesrevision">fc0c103d4ff51f093b54581d47fff6ddf889b895</param></service>
</servicedata>

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

Binary file not shown.

View File

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

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
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

@ -16,25 +16,16 @@
#
%if ! %{defined _distconfdir}
%define _distconfdir %{_sysconfdir}
%define with_config 1
%else
%define with_config 0
%endif
Name: rebootmgr
Version: 2.4+git20240524.30e5383
Version: 2.6+git20241108.fc0c103
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: fdupes
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(libeconf)
@ -45,24 +36,20 @@ 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
%setup -q
%autosetup
%build
./autogen.sh
%configure
make %{?_smp_mflags}
%meson
%meson_build
%install
%make_install
if [ ! -d %{buildroot}%{_distconfdir} ]; then
mkdir -p %{buildroot}%{_distconfdir}
mv %{buildroot}%{_sysconfdir}/rebootmgr.conf %{buildroot}%{_distconfdir}
fi
%fdupes %{buildroot}%{_mandir}
%meson_install
#%check
#meson_test
%pre
%service_add_pre rebootmgr.service
test -f /etc/rebootmgr.conf.rpmsave && mv -v /etc/rebootmgr.conf.rpmsave /etc/rebootmgr.conf.rpmsave.old ||:
%post
%service_add_post rebootmgr.service
@ -73,19 +60,13 @@ test -f /etc/rebootmgr.conf.rpmsave && mv -v /etc/rebootmgr.conf.rpmsave /etc/re
%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
%if %{with_config}
%config %{_sysconfdir}/rebootmgr.conf
%else
%{_distconfdir}/rebootmgr.conf
%endif
%dir %{_datadir}/rebootmgr
%{_datadir}/rebootmgr/rebootmgr.conf
%{_unitdir}/rebootmgr.service
%{_sbindir}/rebootmgrctl
%{_bindir}/rebootmgrctl
%{_sbindir}/rebootmgrd
%{_datadir}/dbus-1/interfaces/org.opensuse.RebootMgr.xml
%{_datadir}/dbus-1/system.d/org.opensuse.RebootMgr.conf