golang-github-cpuguy83-md2man-2.0.0-13.gitaf8da76

- Resolves: #1975362 - use latest upstream commit

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2021-07-12 10:30:50 -04:00
parent 80355ee876
commit 71266d6af2
3 changed files with 10 additions and 4 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/go-md2man-1029f53b6507e27158d89cd489669559c1c700a3.tar.gz
/go-md2man-af8da765f0460ccb1d91003b4945a792363a94ca.tar.gz
/v2.0.0.tar.gz
/af8da765f0460ccb1d91003b4945a792363a94ca.tar.gz

View File

@ -11,6 +11,8 @@ GO111MODULE=off go build -buildmode pie -compiler gc -tags="rpm_crashtraceback $
%global project cpuguy83
%global repo go-md2man
%global import_path github.com/cpuguy83/go-md2man
%global commit0 af8da765f0460ccb1d91003b4945a792363a94ca
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
%global common_description %{expand:
Converts markdown into roff (man pages).}
@ -20,12 +22,12 @@ Converts markdown into roff (man pages).}
Name: golang-github-cpuguy83-md2man
Version: 2.0.0
Release: 12%{?dist}
Release: 13.git%{shortcommit0}%{?dist}
Summary: Converts markdown into roff (man pages)
License: MIT
URL: https://%{import_path}
ExcludeArch: %{ix86}
Source0: %{url}/archive/v%{version}.tar.gz
Source0: %{url}/archive/%{commit0}.tar.gz
BuildRequires: golang
BuildRequires: git-core
Provides: %{repo} = %{version}-%{release}
@ -34,7 +36,7 @@ Provides: %{repo} = %{version}-%{release}
%{common_description}
%prep
%autosetup -Sgit -n %{repo}-%{version}
%autosetup -Sgit -n %{repo}-%{commit0}
%build
ln -s vendor src
@ -61,6 +63,9 @@ install -m 0755 -vp bin/* %{buildroot}%{_bindir}/
%{_bindir}/*
%changelog
* Mon Jul 12 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2.0.0-13.gitaf8da76
- Resolves: #1975362 - use latest upstream commit
* Fri Jul 09 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2.0.0-12
- Resolves: #1975362 - add -fcf-protection to CGO_CFLAGS

View File

@ -1 +1 @@
SHA512 (v2.0.0.tar.gz) = 22a6c950ca7e386246fadb15f05d0a60437a249df48a7c5f905bc4bd05034cede6318e1158bd2113e97b4fd2d1e838776680a00c6141ac2b3c8795aeee15a39d
SHA512 (af8da765f0460ccb1d91003b4945a792363a94ca.tar.gz) = eab2ebf67f2eae240fb090f23ba47f6dd0383a0618fecd4861991a45f4195c874ce8f371a5200deef0eb9510cbffaf46a5de15d344753a4263604a1d6148b4d1