diff --git a/.gitignore b/.gitignore index 69572d2..54ca1c8 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/glide.lock b/glide.lock deleted file mode 100644 index 9d87e3e..0000000 --- a/glide.lock +++ /dev/null @@ -1,6 +0,0 @@ -hash: 49bcb84bd6847a4072c89ab487b1176a7d5f6e7fcc2f55f255c710051d67820a -imports: -- name: github.com/russross/blackfriday - version: 1b9fcf3894a09527c9471d4fffdf1c5c1ce98da0 -updated: '2018-06-09T15:18:05.145422+00:00' - diff --git a/glide.yaml b/glide.yaml deleted file mode 100644 index a08324d..0000000 --- a/glide.yaml +++ /dev/null @@ -1,5 +0,0 @@ -import: -- package: github.com/russross/blackfriday - version: 1b9fcf3894a09527c9471d4fffdf1c5c1ce98da0 -package: github.com/cpuguy83/go-md2man - diff --git a/golang-github-cpuguy83-md2man.spec b/golang-github-cpuguy83-md2man.spec index b72371a..f4a51bf 100644 --- a/golang-github-cpuguy83-md2man.spec +++ b/golang-github-cpuguy83-md2man.spec @@ -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 \ No newline at end of file +%autochangelog diff --git a/sources b/sources index 8f1fae2..e6732c3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (go-md2man-2.0.1.tar.gz) = 293141da791cddd56e9b92d936cbd6105675e8c1ebf6fa95e79a3651ff28d050596b31d48256414e2a8e70d8054ee163885808635b8bb029ec49f5f81678d390 +SHA512 (go-md2man-2.0.2.tar.gz) = c81edfdc0b6647ef699cc908a1a7038d98da34df6d48b223b83a0699de91a7e322e70d67645acf1fc848918f4c1ea310160c7ccb75e6f97b53af7103c7aa18b3