Sync from SUSE:SLFO:Main zypp-boot-plugin revision 54b248b752dcd636a2dc80f86922bbfb

This commit is contained in:
Adrian Schröter 2024-07-03 11:03:22 +02:00
commit 286dbb2b2b
6 changed files with 180 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

15
_service Normal file
View File

@ -0,0 +1,15 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="version">0.0.1</param>
<param name="revision">main</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="url">https://github.com/openSUSE/zypp-boot-plugin.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/zypp-boot-plugin.git</param>
<param name="changesrevision">98cb017c70f60681ed3cf0bcb646665d55246078</param></service></servicedata>

BIN
zypp-boot-plugin-0.0.10.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

68
zypp-boot-plugin.changes Normal file
View File

@ -0,0 +1,68 @@
-------------------------------------------------------------------
Fri Jun 14 09:57:22 UTC 2024 - schubi@suse.com
- Update to version 0.0.10:
* updated zypp-boot-plugin.conf docu
-------------------------------------------------------------------
Wed Jun 5 07:49:32 UTC 2024 - Stefan Schubert <schubi@suse.com>
- Update to version 0.0.9:
* Set reboot flag for multiversion packages ( type "M" ).
-------------------------------------------------------------------
Thu Feb 22 15:56:08 UTC 2024 - schubi@suse.com
- Update to version 0.0.8:
* Do not overwrite higher bootlevel in already existing
reboot-needed.
* Fix typo in level name soft-reboot
* De-denglishify README.md a bit
-------------------------------------------------------------------
Tue Feb 06 09:26:07 UTC 2024 - schubi@suse.com
- Update to version 0.0.7:
* Caching RPM calls
* reducing logging
-------------------------------------------------------------------
Tue Oct 24 09:07:33 UTC 2023 - schubi@suse.com
- Update to version 0.0.6:
* Using Boost:child for RPM calls instead of unsecure system()
call (bsc#1215988).
-------------------------------------------------------------------
Wed Oct 11 08:43:53 UTC 2023 - schubi@suse.com
- Update to version 0.0.5:
* Fix in checking installhint(reboot-needed) (bsc#1215988).
-------------------------------------------------------------------
Thu Oct 05 09:39:00 UTC 2023 - schubi@suse.com
- Update to version 0.0.4:
* Update README.md
* Added libopenssl to soft-reboot, removed openssl from
soft-reboot
-------------------------------------------------------------------
Fri Sep 29 07:05:00 UTC 2023 - schubi@suse.com
- Update to version 0.0.3:
* Allowing regex expression for the package name in
zypp-boot-plugin.conf.
-------------------------------------------------------------------
Wed Sep 27 10:25:02 UTC 2023 - schubi@suse.com
- Update to version 0.0.2:
* Added "zypper dup" testcase
* Reduced logging in order not to overload the communication
with libzypp.
-------------------------------------------------------------------
Fri Aug 25 14:43:17 UTC 2023 - schubi@suse.com
- initial version 0.0.1

67
zypp-boot-plugin.spec Normal file
View File

@ -0,0 +1,67 @@
#
# spec file for package zypp-boot-plugin
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: zypp-boot-plugin
Version: 0.0.10
Release: 0
Summary: Zypp plugin for checking if a reboot is needed
License: AGPL-3.0-or-later
Group: System/Packages
URL: https://github.com/openSUSE/zypp-boot-plugin
Source: zypp-boot-plugin-%{version}.tar.xz
BuildRequires: boost-devel
BuildRequires: docbook5-xsl-stylesheets
BuildRequires: gcc-c++
BuildRequires: grep
BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_system-devel
BuildRequires: libeconf-devel
BuildRequires: libjson-c-devel
BuildRequires: meson
BuildRequires: xsltproc
BuildRequires: libzypp(plugin:commit)
Requires: libzypp(plugin:commit) = 1
Recommends: grep
%description
This package contains a plugin for zypp that checks if a reboot is needed after
package installation/update.
%prep
%setup -q
%build
%meson
%meson_build
%install
%meson_install
%check
%meson_test
%files
%license LICENSE
%doc README.md
%dir %{_distconfdir}/zypp
%{_distconfdir}/zypp/zypp-boot-plugin.conf
/usr/lib/zypp/plugins/commit/boot-plugin
%doc %{_mandir}/*/zypp-boot-plugin.8*
%changelog