commit 89ef1ce26c91b996b2003fb058de2ee126622921
Author: Jan Palus <[email protected]>
Date:   Thu Sep 28 17:30:15 2023 +0200

    use %go_arches and %__go macros

 go-md2man.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/go-md2man.spec b/go-md2man.spec
index 33eed13..f23d912 100644
--- a/go-md2man.spec
+++ b/go-md2man.spec
@@ -9,10 +9,11 @@ Source0:      
https://github.com/cpuguy83/go-md2man/archive/v%{version}/%{name}-%{ver
 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
+BuildRequires: rpmbuild(macros) >= 2.009
+ExclusiveArch: %go_arches
 
 %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 %{?**};
+%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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/go-md2man.git/commitdiff/6153080f366d9d92db0381055b850faea915be29

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to