From fb32856f8fc3e9561cdfa29dce90502e239e6ee2f7b9cdfb5999f0af33ecb60b Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Fri, 25 Oct 2024 17:03:29 +0000 Subject: [PATCH] - 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 --- toolbox.changes | 6 ++++++ toolbox.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/toolbox.changes b/toolbox.changes index 011266d..e6869ab 100644 --- a/toolbox.changes +++ b/toolbox.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Oct 25 14:26:17 UTC 2024 - Dominique Leuenberger + +- 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 diff --git a/toolbox.spec b/toolbox.spec index 82af2ef..8a3e625 100644 --- a/toolbox.spec +++ b/toolbox.spec @@ -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