diff --git a/golang-github-cpuguy83-go-md2man.changes b/golang-github-cpuguy83-go-md2man.changes index 8c738b5..ff8fe46 100644 --- a/golang-github-cpuguy83-go-md2man.changes +++ b/golang-github-cpuguy83-go-md2man.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 30 07:44:45 UTC 2024 - Dominique Leuenberger + +- Generete and package go-md2man man page. + ------------------------------------------------------------------- Wed Feb 5 11:53:22 UTC 2020 - John Paul Adrian Glaubitz diff --git a/golang-github-cpuguy83-go-md2man.spec b/golang-github-cpuguy83-go-md2man.spec index 3f08d59..7f978bf 100644 --- a/golang-github-cpuguy83-go-md2man.spec +++ b/golang-github-cpuguy83-go-md2man.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -65,6 +65,8 @@ Tool to converts markdown into man pages. %goinstall %gosrc %gofilelist +mkdir -p %{buildroot}%{_mandir}/man1 +../go/bin/go-md2man -in go-md2man.1.md -out %{buildroot}%{_mandir}/man1/go-md2man.1 %check %gotest --mod=vendor "" ... @@ -77,5 +79,6 @@ Tool to converts markdown into man pages. %files -n go-md2man %defattr(-,root,root) %{_bindir}/go-md2man +%{_mandir}/man1/go-md2man.1%{?ext_man} %changelog