]> git.pld-linux.org Git - packages/go-md2man.git/commitdiff
up to 1.0.10 auto/th/go-md2man-1.0.10-1
authorJan Palus <atler@pld-linux.org>
Tue, 15 Jun 2021 10:01:21 +0000 (10:01 +0000)
committerJan Palus <atler@pld-linux.org>
Tue, 15 Jun 2021 10:01:21 +0000 (10:01 +0000)
go-md2man.spec

index feb80b1f3196cf65acf21d8da1db2ff8934b9823..33eed139b73fb5b05a6f97777fda11f10dd43a27 100644 (file)
@@ -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
 
This page took 0.120295 seconds and 4 git commands to generate.