Accepting request 1219584 from devel:languages:go

- Generete and package go-md2man man page. (forwarded request 1219324 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1219584
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-cpuguy83-go-md2man?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2024-10-31 15:08:41 +00:00 committed by Git OBS Bridge
commit 19c2088352
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 30 07:44:45 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Generete and package go-md2man man page.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 5 11:53:22 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Wed Feb 5 11:53:22 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package golang-github-cpuguy83-go-md2man # spec file for package golang-github-cpuguy83-go-md2man
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -65,6 +65,8 @@ Tool to converts markdown into man pages.
%goinstall %goinstall
%gosrc %gosrc
%gofilelist %gofilelist
mkdir -p %{buildroot}%{_mandir}/man1
../go/bin/go-md2man -in go-md2man.1.md -out %{buildroot}%{_mandir}/man1/go-md2man.1
%check %check
%gotest --mod=vendor "" ... %gotest --mod=vendor "" ...
@ -77,5 +79,6 @@ Tool to converts markdown into man pages.
%files -n go-md2man %files -n go-md2man
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/go-md2man %{_bindir}/go-md2man
%{_mandir}/man1/go-md2man.1%{?ext_man}
%changelog %changelog