Update to 2.0.2

- Remove glide files
- Add man page
This commit is contained in:
Mikel Olasagasti Uranga 2022-04-27 20:43:49 +02:00
parent c9c5589354
commit f795a15d8c
5 changed files with 12 additions and 23 deletions

1
.gitignore vendored
View File

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

6
glide.lock generated
View File

@ -1,6 +0,0 @@
hash: 49bcb84bd6847a4072c89ab487b1176a7d5f6e7fcc2f55f255c710051d67820a
imports:
- name: github.com/russross/blackfriday
version: 1b9fcf3894a09527c9471d4fffdf1c5c1ce98da0
updated: '2018-06-09T15:18:05.145422+00:00'

View File

@ -1,5 +0,0 @@
import:
- package: github.com/russross/blackfriday
version: 1b9fcf3894a09527c9471d4fffdf1c5c1ce98da0
package: github.com/cpuguy83/go-md2man

View File

@ -1,9 +1,9 @@
# Generated by go2rpm # Generated by go2rpm 1.6.0
%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 goipath github.com/cpuguy83/go-md2man
Version: 2.0.1 Version: 2.0.2
%gometa %gometa
@ -13,9 +13,7 @@ Version: 2.0.1
Converts markdown into roff (man pages).} Converts markdown into roff (man pages).}
%global golicenses LICENSE.md %global golicenses LICENSE.md
%global godocs README.md go-md2man.1.md %global godocs go-md2man.1.md README.md
%global gosupfiles glide.lock glide.yaml
Name: %{goname} Name: %{goname}
Release: %autorelease Release: %autorelease
@ -24,8 +22,6 @@ Summary: Converts markdown into roff (man pages)
License: MIT License: MIT
URL: %{gourl} URL: %{gourl}
Source0: %{gosource} Source0: %{gosource}
Source1: glide.yaml
Source2: glide.lock
BuildRequires: golang(github.com/russross/blackfriday/v2) BuildRequires: golang(github.com/russross/blackfriday/v2)
Provides: go-md2man = %{version}-%{release} Provides: go-md2man = %{version}-%{release}
@ -37,27 +33,30 @@ Provides: go-md2man = %{version}-%{release}
%prep %prep
%goprep %goprep
cp %{S:1} %{S:2} .
%build %build
%gobuild -o %{gobuilddir}/bin/go-md2man %{goipath} %gobuild -o %{gobuilddir}/bin/go-md2man %{goipath}
%{gobuilddir}/bin/go-md2man -in go-md2man.1.md -out go-md2man.1
%install %install
%gopkginstall %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 %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
install -Dpm 0644 go-md2man.1 -t %{buildroot}%{_mandir}/man1/
%if %{with check} %if %{with check}
%check %check
%gocheck %gocheck
%endif %endif
%files %files
%license %{golicenses} %license LICENSE.md
%doc %{godocs} %doc go-md2man.1.md README.md
%{_bindir}/* %{_bindir}/*
%{_mandir}/man1/go-md2man.1*
%gopkgfiles %gopkgfiles
%changelog %changelog
%autochangelog %autochangelog

View File

@ -1 +1 @@
SHA512 (go-md2man-2.0.1.tar.gz) = 293141da791cddd56e9b92d936cbd6105675e8c1ebf6fa95e79a3651ff28d050596b31d48256414e2a8e70d8054ee163885808635b8bb029ec49f5f81678d390 SHA512 (go-md2man-2.0.2.tar.gz) = c81edfdc0b6647ef699cc908a1a7038d98da34df6d48b223b83a0699de91a7e322e70d67645acf1fc848918f4c1ea310160c7ccb75e6f97b53af7103c7aa18b3