2019-06-24 15:00:47 +00:00
|
|
|
|
# Generated by go2rpm
|
|
|
|
|
%bcond_without check
|
|
|
|
|
|
|
|
|
|
# https://github.com/cpuguy83/go-md2man
|
|
|
|
|
%global goipath github.com/cpuguy83/go-md2man
|
|
|
|
|
Version: 2.0.0
|
2021-01-09 14:46:47 +00:00
|
|
|
|
%global commit af8da765f0460ccb1d91003b4945a792363a94ca
|
2019-06-24 15:00:47 +00:00
|
|
|
|
|
|
|
|
|
%gometa
|
|
|
|
|
|
2020-07-25 17:35:44 +00:00
|
|
|
|
%global goaltipaths github.com/cpuguy83/go-md2man/v2
|
2019-07-05 03:55:20 +00:00
|
|
|
|
|
2019-06-24 15:00:47 +00:00
|
|
|
|
%global common_description %{expand:
|
|
|
|
|
Converts markdown into roff (man pages).}
|
|
|
|
|
|
|
|
|
|
%global golicenses LICENSE.md
|
|
|
|
|
%global godocs README.md go-md2man.1.md
|
|
|
|
|
|
|
|
|
|
%global gosupfiles glide.lock glide.yaml
|
|
|
|
|
|
|
|
|
|
Name: %{goname}
|
2021-07-22 03:20:45 +00:00
|
|
|
|
Release: 5%{?dist}
|
2019-06-24 15:00:47 +00:00
|
|
|
|
Summary: Converts markdown into roff (man pages)
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: %{gourl}
|
|
|
|
|
Source0: %{gosource}
|
|
|
|
|
Source1: glide.yaml
|
|
|
|
|
Source2: glide.lock
|
|
|
|
|
|
2019-06-24 15:50:56 +00:00
|
|
|
|
BuildRequires: golang(github.com/russross/blackfriday/v2)
|
2019-06-27 16:13:55 +00:00
|
|
|
|
Provides: go-md2man = %{version}-%{release}
|
2019-06-24 15:00:47 +00:00
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
|
|
%gopkg
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%goprep
|
|
|
|
|
cp %{S:1} %{S:2} .
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%gobuild -o %{gobuilddir}/bin/go-md2man %{goipath}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%gopkginstall
|
|
|
|
|
install -m 0755 -vd %{buildroot}%{_bindir}
|
|
|
|
|
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
%check
|
|
|
|
|
%gocheck
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license %{golicenses}
|
|
|
|
|
%doc %{godocs}
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
|
|
%gopkgfiles
|
|
|
|
|
|
|
|
|
|
%changelog
|
2021-07-22 03:20:45 +00:00
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
2021-01-26 09:39:51 +00:00
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
2021-01-09 14:46:47 +00:00
|
|
|
|
* Sat Jan 09 15:45:35 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 2.0.0-3.20210109gitaf8da76
|
|
|
|
|
- Bump to commit af8da765f0460ccb1d91003b4945a792363a94ca
|
|
|
|
|
|
2020-07-27 21:33:19 +00:00
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
2020-07-25 17:35:44 +00:00
|
|
|
|
* Sat Jul 25 19:30:39 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 2.0.0-1.20200725git1029f53
|
|
|
|
|
- Bump to commit 1029f53b6507e27158d89cd489669559c1c700a3
|
|
|
|
|
|
2020-01-28 23:55:39 +00:00
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-0.5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
2019-07-25 05:05:24 +00:00
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-0.4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
2019-07-05 03:55:20 +00:00
|
|
|
|
* Fri Jul 05 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.0-0.3.20190624gitf79a8a8
|
|
|
|
|
- Add Obsoletes for old name
|
|
|
|
|
|
2019-06-27 16:13:55 +00:00
|
|
|
|
* Thu Jun 27 18:13:22 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.0.0-0.2.20190624gitf79a8a8
|
|
|
|
|
- Add Provides
|
|
|
|
|
|
2019-06-24 15:00:47 +00:00
|
|
|
|
* Thu Apr 25 17:25:58 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.0.0-0.1.20190624gitf79a8a8
|
|
|
|
|
- Prerelease 2.0.0, bump to commit f79a8a8ca69da163eee19ab442bedad7a35bba5a
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Oct 25 2018 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.8-2
|
|
|
|
|
- Replace blackfriday import path
|
|
|
|
|
|
|
|
|
|
* Thu Oct 25 2018 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.8-1
|
|
|
|
|
- Update to release v1.0.8
|
|
|
|
|
|
|
|
|
|
* Tue Oct 23 2018 Nicolas Mailhot <nim@fedoraproject.org> - 1.0.7-9
|
|
|
|
|
- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias
|
|
|
|
|
- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/
|
|
|
|
|
|
|
|
|
|
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 1.0.7-8
|
|
|
|
|
- Rebuild with fixed binutils
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-7.20180312git1d903dc
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jun 09 2018 Jan Chaloupka <jchaloup@redhat.com> - 1.0.7-6.20180312git1d903dc
|
|
|
|
|
- Upload glide file
|
|
|
|
|
|
|
|
|
|
* Wed Mar 07 2018 Jan Chaloupka <jchaloup@redhat.com> - 1.0.7-5.git1d903dc
|
|
|
|
|
- Fix go vet warning: Fatal -> Fatalf
|
|
|
|
|
|
|
|
|
|
* Wed Feb 28 2018 Jan Chaloupka <jchaloup@redhat.com>
|
|
|
|
|
- Autogenerate some parts using the new macros
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.7-3
|
|
|
|
|
- Escape macros in %%changelog
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Sep 19 2017 Jan Chaloupka <jchaloup@redhat.com> - 1.0.7-1
|
|
|
|
|
- Bump to upstream 1d903dcb749992f3741d744c0f8376b4bd7eb3e1
|
|
|
|
|
related: #1222796
|
|
|
|
|
|
|
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Mar 14 2017 Jan Chaloupka <jchaloup@redhat.com> - 1.0.4-7
|
|
|
|
|
- Bump to upstream a65d4d2de4d5f7c74868dfa9b202a3c8be315aaa
|
|
|
|
|
related: #1222796
|
|
|
|
|
|
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-5
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/golang1.7
|
|
|
|
|
|
|
|
|
|
* Sun Mar 06 2016 jchaloup <jchaloup@redhat.com> - 1.0.4-4
|
|
|
|
|
- Update list of provided packages
|
|
|
|
|
resolves: #1222796
|
|
|
|
|
|
|
|
|
|
* Mon Feb 22 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-3
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/golang1.6
|
|
|
|
|
|
|
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 14 2015 jchaloup <jchaloup@redhat.com> - 1.0.4-1
|
|
|
|
|
- Rebase to 1.0.4
|
|
|
|
|
resolves: #1291379
|
|
|
|
|
|
|
|
|
|
* Thu Sep 10 2015 jchaloup <jchaloup@redhat.com> - 1-13
|
|
|
|
|
- Generate man page as well
|
|
|
|
|
related: #1222796
|
|
|
|
|
|
|
|
|
|
* Sun Aug 30 2015 jchaloup <jchaloup@redhat.com> - 1-12
|
|
|
|
|
- Change deps on compiler(go-compiler)
|
|
|
|
|
- Update %%build, %%test and main section accordingaly
|
|
|
|
|
related: #1222796
|
|
|
|
|
|
|
|
|
|
* Sat Aug 29 2015 jchaloup <jchaloup@redhat.com> - 1-11
|
|
|
|
|
- Reduce build section after update of go-srpm-macros
|
|
|
|
|
- BUILD_ID for debug is needed only for golang compiler
|
|
|
|
|
related: #1222796
|
|
|
|
|
|
|
|
|
|
* Tue Aug 25 2015 jchaloup <jchaloup@redhat.com> - 1-10
|
|
|
|
|
- Provide devel package on rhel7
|
|
|
|
|
related: #1222796
|
|
|
|
|
|
|
|
|
|
* Thu Aug 20 2015 jchaloup <jchaloup@redhat.com> - 1-9
|
|
|
|
|
- Update spec file to spec-2.0
|
|
|
|
|
related: #1222796
|
|
|
|
|
|
|
|
|
|
* Mon Jul 20 2015 jchaloup <jchaloup@redhat.com> - 1-8
|
|
|
|
|
- Add with_* macros
|
|
|
|
|
|
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 19 2015 jchaloup <jchaloup@redhat.com> - 1-6
|
|
|
|
|
- Remove runtime deps of devel on golang
|
|
|
|
|
- Polish spec file
|
|
|
|
|
related: #1222796
|
|
|
|
|
|
|
|
|
|
* Sun May 17 2015 jchaloup <jchaloup@redhat.com> - 1-5
|
|
|
|
|
- Add debug info
|
|
|
|
|
- Add license
|
|
|
|
|
- Update spec file to build on secondary architectures as well
|
|
|
|
|
related: #1222796
|
|
|
|
|
|
|
|
|
|
* Wed Feb 25 2015 jchaloup <jchaloup@redhat.com> - 1-4
|
|
|
|
|
- Bump to upstream 2831f11f66ff4008f10e2cd7ed9a85e3d3fc2bed
|
|
|
|
|
related: #1156492
|
|
|
|
|
|
|
|
|
|
* Wed Feb 25 2015 jchaloup <jchaloup@redhat.com> - 1-3
|
|
|
|
|
- Add commit and shortcommit global variable
|
|
|
|
|
related: #1156492
|
|
|
|
|
|
|
|
|
|
* Mon Oct 27 2014 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1-2
|
|
|
|
|
- Resolves: rhbz#1156492 - initial fedora upload
|
|
|
|
|
- quiet setup
|
|
|
|
|
- no test files, disable check
|
|
|
|
|
|
|
|
|
|
* Thu Sep 11 2014 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1-1
|
|
|
|
|
- Initial package
|