From db2b687479c777ec6d1e6f6f12b4e2f1e35cbbaf4f17a1369f8182d2336cb790 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Mon, 4 Sep 2023 09:06:16 +0000 Subject: [PATCH] Accepting request 1108135 from home:schubi2 This package contains a plugin for zypp that checks if a reboot is needed after package installation/update. OBS-URL: https://build.opensuse.org/request/show/1108135 OBS-URL: https://build.opensuse.org/package/show/devel:microos/zypp-boot-plugin?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + _service | 15 ++++++++ _servicedata | 4 +++ zypp-boot-plugin-0.0.1.tar.xz | 3 ++ zypp-boot-plugin.changes | 4 +++ zypp-boot-plugin.spec | 64 +++++++++++++++++++++++++++++++++++ 7 files changed, 114 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 zypp-boot-plugin-0.0.1.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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc 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..12f53c8 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/openSUSE/zypp-boot-plugin.git + d5977a09f070c05415c4dd29a53ddb6874a432b9 \ No newline at end of file diff --git a/zypp-boot-plugin-0.0.1.tar.xz b/zypp-boot-plugin-0.0.1.tar.xz new file mode 100644 index 0000000..b77d401 --- /dev/null +++ b/zypp-boot-plugin-0.0.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:482f6c42185810f7c74bc040f3388d108058716b52de99e26ad90e739ce7cf2f +size 19476 diff --git a/zypp-boot-plugin.changes b/zypp-boot-plugin.changes new file mode 100644 index 0000000..55db730 --- /dev/null +++ b/zypp-boot-plugin.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +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..9575bc2 --- /dev/null +++ b/zypp-boot-plugin.spec @@ -0,0 +1,64 @@ +# +# spec file for package zypp-boot-plugin +# +# Copyright (c) 2023 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.1 +Release: 0 +Summary: Enhanced config file parser ala systemd +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: meson +BuildRequires: gcc-c++ +BuildRequires: libeconf-devel +BuildRequires: libjson-c-devel +BuildRequires: boost-devel +BuildRequires: grep +BuildRequires: xsltproc +BuildRequires: docbook5-xsl-stylesheets +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