Update to 2.0.2
- Remove glide files - Add man page
This commit is contained in:
parent
c9c5589354
commit
f795a15d8c
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
||||
/go-md2man-1029f53b6507e27158d89cd489669559c1c700a3.tar.gz
|
||||
/go-md2man-af8da765f0460ccb1d91003b4945a792363a94ca.tar.gz
|
||||
/go-md2man-2.0.1.tar.gz
|
||||
/go-md2man-2.0.2.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,9 +1,9 @@
|
||||
# Generated by go2rpm
|
||||
# Generated by go2rpm 1.6.0
|
||||
%bcond_without check
|
||||
|
||||
# https://github.com/cpuguy83/go-md2man
|
||||
%global goipath github.com/cpuguy83/go-md2man
|
||||
Version: 2.0.1
|
||||
Version: 2.0.2
|
||||
|
||||
%gometa
|
||||
|
||||
@ -13,9 +13,7 @@ Version: 2.0.1
|
||||
Converts markdown into roff (man pages).}
|
||||
|
||||
%global golicenses LICENSE.md
|
||||
%global godocs README.md go-md2man.1.md
|
||||
|
||||
%global gosupfiles glide.lock glide.yaml
|
||||
%global godocs go-md2man.1.md README.md
|
||||
|
||||
Name: %{goname}
|
||||
Release: %autorelease
|
||||
@ -24,8 +22,6 @@ Summary: Converts markdown into roff (man pages)
|
||||
License: MIT
|
||||
URL: %{gourl}
|
||||
Source0: %{gosource}
|
||||
Source1: glide.yaml
|
||||
Source2: glide.lock
|
||||
|
||||
BuildRequires: golang(github.com/russross/blackfriday/v2)
|
||||
Provides: go-md2man = %{version}-%{release}
|
||||
@ -37,27 +33,30 @@ Provides: go-md2man = %{version}-%{release}
|
||||
|
||||
%prep
|
||||
%goprep
|
||||
cp %{S:1} %{S:2} .
|
||||
|
||||
%build
|
||||
%gobuild -o %{gobuilddir}/bin/go-md2man %{goipath}
|
||||
%{gobuilddir}/bin/go-md2man -in go-md2man.1.md -out go-md2man.1
|
||||
|
||||
%install
|
||||
%gopkginstall
|
||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
||||
|
||||
install -Dpm 0644 go-md2man.1 -t %{buildroot}%{_mandir}/man1/
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%gocheck
|
||||
%endif
|
||||
|
||||
%files
|
||||
%license %{golicenses}
|
||||
%doc %{godocs}
|
||||
%license LICENSE.md
|
||||
%doc go-md2man.1.md README.md
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man1/go-md2man.1*
|
||||
|
||||
%gopkgfiles
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
%autochangelog
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (go-md2man-2.0.1.tar.gz) = 293141da791cddd56e9b92d936cbd6105675e8c1ebf6fa95e79a3651ff28d050596b31d48256414e2a8e70d8054ee163885808635b8bb029ec49f5f81678d390
|
||||
SHA512 (go-md2man-2.0.2.tar.gz) = c81edfdc0b6647ef699cc908a1a7038d98da34df6d48b223b83a0699de91a7e322e70d67645acf1fc848918f4c1ea310160c7ccb75e6f97b53af7103c7aa18b3
|
||||
|
Loading…
Reference in New Issue
Block a user