From 286dbb2b2b180de64a391c9a40cbfe4deb42fe2153207fbcda71f1410874ded9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 3 Jul 2024 11:03:22 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main zypp-boot-plugin revision 54b248b752dcd636a2dc80f86922bbfb --- .gitattributes | 23 ++++++++++++ _service | 15 ++++++++ _servicedata | 4 ++ zypp-boot-plugin-0.0.10.tar.xz | 3 ++ zypp-boot-plugin.changes | 68 ++++++++++++++++++++++++++++++++++ zypp-boot-plugin.spec | 67 +++++++++++++++++++++++++++++++++ 6 files changed, 180 insertions(+) create mode 100644 .gitattributes create mode 100644 _service create mode 100644 _servicedata create mode 100644 zypp-boot-plugin-0.0.10.tar.xz create mode 100644 zypp-boot-plugin.changes create mode 100644 zypp-boot-plugin.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/_service b/_service new file mode 100644 index 0000000..791f468 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + 0.0.1 + main + @PARENT_TAG@ + v(\d+\.\d+\.\d+) + https://github.com/openSUSE/zypp-boot-plugin.git + git + enable + + + *.tar + xz + + \ No newline at end of file diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..90a00ac --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/openSUSE/zypp-boot-plugin.git + 98cb017c70f60681ed3cf0bcb646665d55246078 \ No newline at end of file diff --git a/zypp-boot-plugin-0.0.10.tar.xz b/zypp-boot-plugin-0.0.10.tar.xz new file mode 100644 index 0000000..953a093 --- /dev/null +++ b/zypp-boot-plugin-0.0.10.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ac503119119c697f80079018dbf163610f5a6ca39098e3b6ab712220698949fd +size 24316 diff --git a/zypp-boot-plugin.changes b/zypp-boot-plugin.changes new file mode 100644 index 0000000..64f655f --- /dev/null +++ b/zypp-boot-plugin.changes @@ -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 + +- 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 diff --git a/zypp-boot-plugin.spec b/zypp-boot-plugin.spec new file mode 100644 index 0000000..8e36bf8 --- /dev/null +++ b/zypp-boot-plugin.spec @@ -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