[packages/go-md2man] up to 1.0.10

atler atler at pld-linux.org
Tue Jun 15 12:01:56 CEST 2021


commit 610b7652f27e8d9b699a2af07a7035347fd53501
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Jun 15 10:01:21 2021 +0000

    up to 1.0.10

 go-md2man.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/go-md2man.spec b/go-md2man.spec
index feb80b1..33eed13 100644
--- a/go-md2man.spec
+++ b/go-md2man.spec
@@ -1,18 +1,18 @@
 Summary:	Process markdown into manpages
 Name:		go-md2man
-Version:	1.0.5
+Version:	1.0.10
 Release:	1
 License:	MIT
 Group:		Development/Tools
 Source0:	https://github.com/cpuguy83/go-md2man/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	b334c263e113280ec1e9420801b3d452
+# Source0-md5:	2f2ab80cbee456548790449a26cc2edc
 URL:		https://github.com/cpuguy83/go-md2man
 BuildRequires:	golang
 BuildRequires:	golang-github-russross-blackfriday-devel
 ExclusiveArch:	%{ix86} %{x8664} %{arm} aarch64 mips64 mips64le ppc64 ppc64le s390x
 
 %define		_enable_debug_packages 0
-%define		gobuild(o:) go build -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -a -v -x %{?**};
+%define		gobuild(o:) go build -mod=vendor -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -a -v -x %{?**};
 
 %description
 go-md2man is a golang tool using blackfriday to process markdown into
@@ -25,7 +25,7 @@ mkdir -p src/github.com/cpuguy83
 ln -s ../../../ src/github.com/cpuguy83/go-md2man
 
 %build
-export GOPATH=$(pwd)
+export GOCACHE=$(pwd)/.go-cache
 
 %gobuild -o bin/go-md2man github.com/cpuguy83/go-md2man
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/go-md2man.git/commitdiff/610b7652f27e8d9b699a2af07a7035347fd53501



More information about the pld-cvs-commit mailing list