golang-github-cpuguy83-md2man-2.0.0-6
- Resolves: #1974463 - build with vendored sources to reduce package set Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
f4c1b39e12
commit
9e51c4a704
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
/go-md2man-f79a8a8ca69da163eee19ab442bedad7a35bba5a.tar.gz
|
/go-md2man-f79a8a8ca69da163eee19ab442bedad7a35bba5a.tar.gz
|
||||||
/go-md2man-1029f53b6507e27158d89cd489669559c1c700a3.tar.gz
|
/go-md2man-1029f53b6507e27158d89cd489669559c1c700a3.tar.gz
|
||||||
/go-md2man-af8da765f0460ccb1d91003b4945a792363a94ca.tar.gz
|
/go-md2man-af8da765f0460ccb1d91003b4945a792363a94ca.tar.gz
|
||||||
|
/v2.0.0.tar.gz
|
||||||
|
6
glide.lock
generated
6
glide.lock
generated
@ -1,6 +0,0 @@
|
|||||||
hash: 49bcb84bd6847a4072c89ab487b1176a7d5f6e7fcc2f55f255c710051d67820a
|
|
||||||
imports:
|
|
||||||
- name: github.com/russross/blackfriday
|
|
||||||
version: 1b9fcf3894a09527c9471d4fffdf1c5c1ce98da0
|
|
||||||
updated: '2018-06-09T15:18:05.145422+00:00'
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
import:
|
|
||||||
- package: github.com/russross/blackfriday
|
|
||||||
version: 1b9fcf3894a09527c9471d4fffdf1c5c1ce98da0
|
|
||||||
package: github.com/cpuguy83/go-md2man
|
|
||||||
|
|
@ -1,14 +1,11 @@
|
|||||||
# Generated by go2rpm
|
|
||||||
%bcond_without check
|
%bcond_without check
|
||||||
|
|
||||||
# https://github.com/cpuguy83/go-md2man
|
# https://github.com/cpuguy83/go-md2man
|
||||||
%global goipath github.com/cpuguy83/go-md2man
|
%global provider github
|
||||||
Version: 2.0.0
|
%global provider_tld com
|
||||||
%global commit af8da765f0460ccb1d91003b4945a792363a94ca
|
%global project cpuguy83
|
||||||
|
%global repo go-md2man
|
||||||
%gometa
|
%global import_path github.com/cpuguy83/go-md2man
|
||||||
|
|
||||||
%global goaltipaths github.com/cpuguy83/go-md2man/v2
|
|
||||||
|
|
||||||
%global common_description %{expand:
|
%global common_description %{expand:
|
||||||
Converts markdown into roff (man pages).}
|
Converts markdown into roff (man pages).}
|
||||||
@ -16,41 +13,34 @@ Converts markdown into roff (man pages).}
|
|||||||
%global golicenses LICENSE.md
|
%global golicenses LICENSE.md
|
||||||
%global godocs README.md go-md2man.1.md
|
%global godocs README.md go-md2man.1.md
|
||||||
|
|
||||||
%global gosupfiles glide.lock glide.yaml
|
Name: golang-github-cpuguy83-md2man
|
||||||
|
Version: 2.0.0
|
||||||
Name: %{goname}
|
Release: 6%{?dist}
|
||||||
Release: 5%{?dist}
|
|
||||||
Summary: Converts markdown into roff (man pages)
|
Summary: Converts markdown into roff (man pages)
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: %{gourl}
|
URL: https://%{import_path}
|
||||||
Source0: %{gosource}
|
Source0: %{url}/archive/v%{version}.tar.gz
|
||||||
Source1: glide.yaml
|
Provides: %{repo} = %{version}-%{release}
|
||||||
Source2: glide.lock
|
|
||||||
|
|
||||||
BuildRequires: golang(github.com/russross/blackfriday/v2)
|
|
||||||
Provides: go-md2man = %{version}-%{release}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
%{common_description}
|
||||||
|
|
||||||
%gopkg
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%goprep
|
%autosetup -Sgit -n %{repo}-%{version}
|
||||||
cp %{S:1} %{S:2} .
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%gobuild -o %{gobuilddir}/bin/go-md2man %{goipath}
|
ln -s vendor src
|
||||||
|
mkdir -p src/%{provider}.%{provider_tld}/%{project}
|
||||||
|
ln -s $(pwd) src/%{import_path}
|
||||||
|
export GOPATH=$(pwd)
|
||||||
|
GOPATH=$GOPATH %gobuild -o bin/go-md2man %{import_path}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%gopkginstall
|
|
||||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||||
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
install -m 0755 -vp bin/* %{buildroot}%{_bindir}/
|
||||||
|
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
%check
|
%check
|
||||||
%gocheck
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -58,9 +48,10 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
|||||||
%doc %{godocs}
|
%doc %{godocs}
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
%gopkgfiles
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 21 2021 Lokesh Mandvekar <lsm5@redhat.com> - 2.0.0-6
|
||||||
|
- Resolves: #1974463 - build with vendored sources to reduce package set
|
||||||
|
|
||||||
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.0-5.gitaf8da76
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.0-5.gitaf8da76
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (go-md2man-af8da765f0460ccb1d91003b4945a792363a94ca.tar.gz) = eab2ebf67f2eae240fb090f23ba47f6dd0383a0618fecd4861991a45f4195c874ce8f371a5200deef0eb9510cbffaf46a5de15d344753a4263604a1d6148b4d1
|
SHA512 (v2.0.0.tar.gz) = 22a6c950ca7e386246fadb15f05d0a60437a249df48a7c5f905bc4bd05034cede6318e1158bd2113e97b4fd2d1e838776680a00c6141ac2b3c8795aeee15a39d
|
||||||
|
Loading…
Reference in New Issue
Block a user