[packages/go-md2man] - updated to 2.0.3 (2.0.4 no longer contains vendored dependencies)

qboosh qboosh at pld-linux.org
Wed Aug 14 20:01:20 CEST 2024


commit 0334896168e1ac49d499b6d1f318e876d17aabc7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Aug 14 19:46:17 2024 +0200

    - updated to 2.0.3 (2.0.4 no longer contains vendored dependencies)

 go-md2man.spec | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/go-md2man.spec b/go-md2man.spec
index 794d541..45edf1a 100644
--- a/go-md2man.spec
+++ b/go-md2man.spec
@@ -1,15 +1,18 @@
 Summary:	Process markdown into manpages
+Summary(pl.UTF-8):	Przetwarzanie formatu markdown do stron man
 Name:		go-md2man
-Version:	2.0.2
+Version:	2.0.3
 Release:	1
 License:	MIT
 Group:		Development/Tools
+#Source0Download: https://github.com/cpuguy83/go-md2man/releases
 Source0:	https://github.com/cpuguy83/go-md2man/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	afd343ecba3ad16ee7261d4a95869894
+# Source0-md5:	59716d2bf2400e109b3d9070197bc2c1
 URL:		https://github.com/cpuguy83/go-md2man
 BuildRequires:	golang >= 1.11
 BuildRequires:	rpmbuild(macros) >= 2.009
 ExclusiveArch:	%go_arches
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_enable_debug_packages 0
 %define		gobuild(o:) %__go build -mod=vendor -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -a -v -x %{?**};
@@ -18,6 +21,10 @@ ExclusiveArch:	%go_arches
 go-md2man is a golang tool using blackfriday to process markdown into
 manpages.
 
+%description -l pl.UTF-8
+go-md2man to napisane w języku Go narzędzie wykorzystujące blackfriday
+do przetwarzania formatu markdown do stron man.
+
 %prep
 %setup -q
 
@@ -29,8 +36,9 @@ bin/go-md2man -in=go-md2man.1.md -out=go-md2man.1
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
-cp -p bin/go-md2man $RPM_BUILD_ROOT%{_bindir}
-install -p go-md2man.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+install bin/go-md2man $RPM_BUILD_ROOT%{_bindir}
+cp -p go-md2man.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -39,4 +47,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README.md LICENSE.md
 %attr(755,root,root) %{_bindir}/go-md2man
-%{_mandir}/man1/*.1*
+%{_mandir}/man1/go-md2man.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/go-md2man.git/commitdiff/0334896168e1ac49d499b6d1f318e876d17aabc7



More information about the pld-cvs-commit mailing list