Sync from SUSE:SLFO:Main os-update revision 20a9c30ca32b9e41ac1e4a7abe6e1a97

This commit is contained in:
Adrian Schröter 2024-12-05 10:56:56 +01:00
parent b26c818132
commit 701eed422d
6 changed files with 80 additions and 15 deletions

15
_service Normal file
View File

@ -0,0 +1,15 @@
<services>
<service mode="manual" name="tar_scm">
<param name="url">https://github.com/openSUSE/os-update.git</param>
<param name="scm">git</param>
<param name="revision">main</param>
<param name="changesgenerate">enable</param>
<param name="filename">os-update</param>
<param name="versionformat">1.20+git.%cd</param>
</service>
<service mode="manual" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="manual" name="set_version"/>
</services>

5
_servicedata Normal file
View File

@ -0,0 +1,5 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/os-update.git</param>
<param name="changesrevision">3e61544bd8bc6625f3f5cca5abd8f9d439ae4bf4</param></service>
</servicedata>

BIN
os-update-1.15.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
os-update-1.20+git.20241204.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,47 @@
-------------------------------------------------------------------
Wed Dec 04 10:39:14 UTC 2024 - kukuk@suse.com
- Update to version 1.20+git.20241204:
* Release version 1.20
* Switch from pandoc to go-md2man
* Add option to ignore services at all
-------------------------------------------------------------------
Mon Nov 11 10:51:57 UTC 2024 - kukuk@suse.com
- Update to version 1.19+git.20241111:
* Release version 1.19
* Only provide application defaults as comments
* Don't try to restart dbus-broker, use soft-reboot
* Don't hardcode path of rebootmgrctl
-------------------------------------------------------------------
Wed Nov 06 10:24:35 UTC 2024 - kukuk@suse.com
- Update to version 1.18+git.20241106:
* Release version 1.18
* Move vendor config to /usr/share/os-update
* Unify indentation style
-------------------------------------------------------------------
Mon Oct 07 12:12:34 UTC 2024 - kukuk@suse.com
- Update to version 1.17+git.20241007:
* Refresh before dup
* Always refresh
-------------------------------------------------------------------
Wed May 8 12:48:41 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>
- Update to version 1.17
- Implement soft-reboot support for non restartable services
-------------------------------------------------------------------
Mon Mar 11 10:57:41 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>
- Update to version 1.16
- Enhance logging for soft-reboot tracking
-------------------------------------------------------------------
Thu Jan 18 16:12:32 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -21,27 +21,30 @@
%endif
Name: os-update
Version: 1.15
Version: 1.20+git.20241204
Release: 0
Summary: Updates the system regularly to stay current and safe
License: GPL-2.0-or-later
URL: https://github.com/openSUSE/os-update
Source: https://github.com/openSUSE/os-update/releases/download/v%{version}/os-update-%{version}.tar.xz
Source: os-update-%{version}.tar.xz
Source99: os-update-rpmlintrc
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: go-md2man
BuildRequires: pkgconfig
BuildRequires: sysuser-shadow
BuildRequires: sysuser-tools
BuildRequires: pkgconfig(systemd)
Requires: lsof
Recommends: rebootmgr
Recommends: systemd-status-mail
BuildArch: noarch
%if 0%{?suse_version} >= 1500
Requires: zypper-needs-restarting
%endif
%if 0%{?suse_version} >= 1600
Requires: zypp-boot-plugin >= 0.0.4
%endif
Recommends: rebootmgr
Recommends: systemd-status-mail
BuildArch: noarch
%description
Service to keep an OS update to date and secure. It is run by a
@ -50,13 +53,13 @@ requires a reboot.
%package -n systemd-status-mail
Summary: Send a mail if a systemd.timer fails and/or succeeds
%sysusers_requires
%if 0%{?suse_version} >= 1500
Requires: (/usr/sbin/sendmail or mailx)
Suggests: mailx
%else
Requires: mailx
%endif
%sysusers_requires
%description -n systemd-status-mail
systemd-mail-status is called by systemd-status-mail@.service if the
@ -69,7 +72,8 @@ of the service, the hostname and the output of
%setup -q
%build
%configure --enable-vendordir=%{_distconfdir}
./autogen.sh
%configure
%if 0%{?suse_version} < 1500
%define make_build %{__make} -O %{?_smp_mflags}
%endif
@ -97,11 +101,8 @@ install -m 644 -D etc/default/systemd-status-mail %{buildroot}%{_distconfdir}/de
%files
%license COPYING
%doc README.md
%if 0%{?suse_version} < 1550
%config(noreplace) %{_sysconfdir}/os-update.conf
%else
%{_distconfdir}/os-update.conf
%endif
%dir %{_datadir}/os-update
%{_datadir}/os-update/os-update.conf
%{_libexecdir}/os-update
%{_prefix}/lib/systemd/system/os-update.service
%{_prefix}/lib/systemd/system/os-update.timer