- Use go-md2man instead of pandoc to convert a markdown file to

nroff. The dep chain is just much, much smaller.

OBS-URL: https://build.opensuse.org/package/show/devel:microos/toolbox?expand=0&rev=19
This commit is contained in:
Thorsten Kukuk 2024-10-25 17:03:29 +00:00 committed by Git OBS Bridge
parent 4b3975aed2
commit fb32856f8f
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -24,7 +24,7 @@ License: Apache-2.0
Group: System/Management
URL: https://github.com/openSUSE/microos-toolbox
Source: microos-toolbox-%{version}.tar.xz
BuildRequires: pandoc
BuildRequires: go-md2man
Requires: (podman or docker)
Suggests: podman
BuildArch: noarch
@ -41,7 +41,7 @@ such a system. The root filesystem can be found at /media/root.
%setup -q -n microos-toolbox-%{version}
%build
pandoc -s -f markdown -t man toolbox.1.md --output toolbox.1
go-md2man -in toolbox.1.md -out toolbox.1
%install
install -D -m 755 toolbox %{buildroot}%{_bindir}/toolbox