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
This commit is contained in:
Thorsten Kukuk 2023-09-04 09:06:16 +00:00 committed by Git OBS Bridge
commit db2b687479
7 changed files with 114 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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

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">d5977a09f070c05415c4dd29a53ddb6874a432b9</param></service></servicedata>

View File

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

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

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Aug 25 14:43:17 UTC 2023 - schubi@suse.com
- initial version 0.0.1

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

@ -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