golang-github-cpuguy83-md2man-2.0.2-4.el9

- fix RHEL9.2 build - thanks to Debarshi Ray
- Related: #2124478

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
Jindrich Novy 2022-12-02 16:18:25 +01:00
parent e30a053de2
commit 2205a4a4d8

View File

@ -10,7 +10,7 @@ GO111MODULE=off go build -buildmode pie -compiler gc -tags="rpm_crashtraceback $
Name: golang-github-cpuguy83-md2man
Version: 2.0.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Converts markdown into roff (man pages)
License: MIT
URL: https://github.com/cpuguy83/go-md2man
@ -31,6 +31,7 @@ Converts markdown into roff (man pages).
ln -s vendor src
mkdir -p src/github.com/cpuguy83
ln -s $(pwd) src/github.com/cpuguy83/go-md2man
export GO111MODULE=off
export GOPATH=$(pwd)
export CGO_CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
%ifarch x86_64
@ -52,6 +53,10 @@ install -m 0755 -vp bin/* %{buildroot}%{_bindir}/
%{_bindir}/*
%changelog
* Fri Dec 02 2022 Jindrich Novy <jnovy@redhat.com> - 2.0.2-4
- fix RHEL9.2 build - thanks to Debarshi Ray
- Related: #2124478
* Tue Nov 29 2022 Jindrich Novy <jnovy@redhat.com> - 2.0.2-3
- rebuild
- Resolves: #2037812