Accepting request 1218412 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1218412 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/toolbox?expand=0&rev=29
This commit is contained in:
commit
fdf86e1ca8
10
_service
10
_service
@ -1,14 +1,14 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="version">2.3</param>
|
||||
<param name="versionformat">2.3+git%cd.%h</param>
|
||||
<service name="tar_scm" mode="manual">
|
||||
<param name="version">2.4</param>
|
||||
<param name="versionformat">2.4+git%cd.%h</param>
|
||||
<param name="url">https://github.com/openSUSE/microos-toolbox.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<service name="recompress" mode="manual">
|
||||
<param name="compression">xz</param>
|
||||
<param name="file">*.tar</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
<service name="set_version" mode="manual"/>
|
||||
</services>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/openSUSE/microos-toolbox.git</param>
|
||||
<param name="changesrevision">84ec25e7dd2f6c0677c5e91d8de7f9dbc4e9fa19</param>
|
||||
<param name="changesrevision">00f69f5b356738c8b3cc9e97a56875d7d2f4628d</param>
|
||||
</service>
|
||||
</servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5922fd2e46b179e79128980062a5756901fc92e8bdd892f800999c4fa47bbe88
|
||||
size 13320
|
3
microos-toolbox-2.4+git20241025.00f69f5.tar.xz
Normal file
3
microos-toolbox-2.4+git20241025.00f69f5.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6c6add840692548efafff4f952b4147fe3ffadc225ba06f8188c881720492d66
|
||||
size 13928
|
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 25 14:26:17 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Use go-md2man instead of pandoc to convert a markdown file to
|
||||
nroff. The dep chain is just much, much smaller.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 25 09:49:28 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Remove Leap and SLE Micro hacks from spec file, this products
|
||||
have to provide correct branding packages.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 25 08:42:47 UTC 2024 - kukuk@suse.com
|
||||
|
||||
- Update to version 2.3+git20241025.00f69f5:
|
||||
* Add manual page
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 27 09:30:16 UTC 2024 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
|
||||
|
||||
|
17
toolbox.spec
17
toolbox.spec
@ -17,13 +17,14 @@
|
||||
|
||||
|
||||
Name: toolbox
|
||||
Version: 2.3+git20240704.84ec25e
|
||||
Version: 2.4+git20241025.00f69f5
|
||||
Release: 0
|
||||
Summary: Script to start a toolbox container for system debugging
|
||||
License: Apache-2.0
|
||||
Group: System/Management
|
||||
URL: https://github.com/openSUSE/microos-toolbox
|
||||
Source: microos-toolbox-%{version}.tar.xz
|
||||
BuildRequires: go-md2man
|
||||
Requires: (podman or docker)
|
||||
Suggests: podman
|
||||
BuildArch: noarch
|
||||
@ -38,25 +39,19 @@ such a system. The root filesystem can be found at /media/root.
|
||||
|
||||
%prep
|
||||
%setup -q -n microos-toolbox-%{version}
|
||||
%if 0%{?sle_version}
|
||||
%if !0%{?is_opensuse}
|
||||
sed -i -e 's,registry.opensuse.org,registry.suse.com,' toolbox
|
||||
sed -i -e 's,opensuse/toolbox,suse/sle-micro/5.5/toolbox,' toolbox
|
||||
%else
|
||||
sed -i -e 's,opensuse/toolbox,opensuse/leap-micro/5.5/toolbox,' toolbox
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%build
|
||||
go-md2man -in toolbox.1.md -out toolbox.1
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
install -m 755 toolbox %{buildroot}%{_bindir}/toolbox
|
||||
install -D -m 755 toolbox %{buildroot}%{_bindir}/toolbox
|
||||
install -D -m 644 toolbox.1 %{buildroot}%{_mandir}/man1/toolbox.1
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/toolbox
|
||||
%{_mandir}/man1/toolbox.1%{?ext_man}
|
||||
%ghost %config %{_sysconfdir}/toolboxrc
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user