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:
parent
e30a053de2
commit
2205a4a4d8
@ -10,7 +10,7 @@ GO111MODULE=off go build -buildmode pie -compiler gc -tags="rpm_crashtraceback $
|
|||||||
|
|
||||||
Name: golang-github-cpuguy83-md2man
|
Name: golang-github-cpuguy83-md2man
|
||||||
Version: 2.0.2
|
Version: 2.0.2
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Converts markdown into roff (man pages)
|
Summary: Converts markdown into roff (man pages)
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/cpuguy83/go-md2man
|
URL: https://github.com/cpuguy83/go-md2man
|
||||||
@ -31,6 +31,7 @@ Converts markdown into roff (man pages).
|
|||||||
ln -s vendor src
|
ln -s vendor src
|
||||||
mkdir -p src/github.com/cpuguy83
|
mkdir -p src/github.com/cpuguy83
|
||||||
ln -s $(pwd) src/github.com/cpuguy83/go-md2man
|
ln -s $(pwd) src/github.com/cpuguy83/go-md2man
|
||||||
|
export GO111MODULE=off
|
||||||
export GOPATH=$(pwd)
|
export GOPATH=$(pwd)
|
||||||
export CGO_CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
export CGO_CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
@ -52,6 +53,10 @@ install -m 0755 -vp bin/* %{buildroot}%{_bindir}/
|
|||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Nov 29 2022 Jindrich Novy <jnovy@redhat.com> - 2.0.2-3
|
||||||
- rebuild
|
- rebuild
|
||||||
- Resolves: #2037812
|
- Resolves: #2037812
|
||||||
|
Loading…
Reference in New Issue
Block a user