import RHEL 10 Beta golang-github-cpuguy83-md2man-2.0.3-4.el10
This commit is contained in:
parent
c114db194a
commit
fb74cf1abe
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/golang-github-cpuguy83-md2man-2.0.3-f67b5f6.tar.gz
|
go-md2man-2.0.3.tar.gz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
c6a94029c20765d971f249d58d7b0d74570a9c60 SOURCES/golang-github-cpuguy83-md2man-2.0.3-f67b5f6.tar.gz
|
|
@ -1,144 +1,140 @@
|
|||||||
|
## START: Set by rpmautospec
|
||||||
|
## (rpmautospec version 0.6.1)
|
||||||
|
## RPMAUTOSPEC: autorelease, autochangelog
|
||||||
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||||||
|
release_number = 4;
|
||||||
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
||||||
|
print(release_number + base_release_number - 1);
|
||||||
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
||||||
|
## END: Set by rpmautospec
|
||||||
|
|
||||||
|
# Generated by go2rpm 1.8.2
|
||||||
%bcond_without check
|
%bcond_without check
|
||||||
|
|
||||||
%if ! 0%{?gobuild:1}
|
# https://github.com/cpuguy83/go-md2man
|
||||||
%define gobuild(o:) \
|
%global goipath github.com/cpuguy83/go-md2man
|
||||||
GO111MODULE=off go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -linkmode=external -compressdwarf=false -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v %{?**};
|
Version: 2.0.3
|
||||||
%endif
|
|
||||||
|
|
||||||
%global commit0 f67b5f6400a3ea2156517041a329ae5f5935395c
|
%gometa
|
||||||
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
|
||||||
|
|
||||||
Name: golang-github-cpuguy83-md2man
|
%global goaltipaths github.com/cpuguy83/go-md2man/v2
|
||||||
Version: 2.0.3
|
|
||||||
Release: 1%{?dist}
|
|
||||||
Summary: Converts markdown into roff (man pages)
|
|
||||||
License: BSD-2-Clause AND MIT
|
|
||||||
URL: https://github.com/cpuguy83/go-md2man
|
|
||||||
Source0: https://github.com/cpuguy83/go-md2man/archive/%{commit0}/%{name}-%{version}-%{shortcommit0}.tar.gz
|
|
||||||
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
|
|
||||||
ExclusiveArch: %{go_arches}
|
|
||||||
BuildRequires: golang
|
|
||||||
BuildRequires: git-core
|
|
||||||
Provides: go-md2man = %{version}-%{release}
|
|
||||||
|
|
||||||
%description
|
%global common_description %{expand:
|
||||||
Converts markdown into roff (man pages).
|
Converts markdown into roff (man pages).}
|
||||||
|
|
||||||
|
%global golicenses LICENSE.md
|
||||||
|
%global godocs README.md go-md2man.1.md
|
||||||
|
|
||||||
|
Name: %{goname}
|
||||||
|
Release: %autorelease
|
||||||
|
Summary: Converts markdown into roff (man pages)
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
URL: %{gourl}
|
||||||
|
Source0: %{gosource}
|
||||||
|
|
||||||
|
Provides: go-md2man = %{version}-%{release}
|
||||||
|
|
||||||
|
%description %{common_description}
|
||||||
|
|
||||||
|
%gopkg
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -Sgit -n go-md2man-%{commit0}
|
%if %{defined rhel}
|
||||||
|
%goprep -k
|
||||||
|
# unpack vendored dependencies to GOPATH
|
||||||
|
tar c -C vendor/ . | tar x -C %{gobuilddir}/src
|
||||||
|
%else
|
||||||
|
%goprep
|
||||||
|
|
||||||
|
%generate_buildrequires
|
||||||
|
%go_generate_buildrequires
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
ln -s vendor src
|
%gobuild -o %{gobuilddir}/bin/go-md2man %{goipath}
|
||||||
mkdir -p src/github.com/cpuguy83
|
%{gobuilddir}/bin/go-md2man -in go-md2man.1.md -out go-md2man.1
|
||||||
ln -s $(pwd) src/github.com/cpuguy83/go-md2man
|
|
||||||
export GO111MODULE=off
|
|
||||||
export GOPATH=$(pwd)
|
|
||||||
export CGO_CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
|
||||||
%ifarch x86_64
|
|
||||||
export CGO_CFLAGS+=" -fcf-protection=full"
|
|
||||||
%endif
|
|
||||||
GOPATH=$GOPATH %gobuild -o bin/go-md2man github.com/cpuguy83/go-md2man
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
%gopkginstall
|
||||||
install -m 0755 -vp bin/* %{buildroot}%{_bindir}/
|
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}
|
%if %{with check}
|
||||||
%check
|
%check
|
||||||
|
%gocheck
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE.md
|
%license LICENSE.md %{?rhel:vendor/modules.txt}
|
||||||
%doc README.md go-md2man.1.md
|
%doc go-md2man.1.md README.md
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
%{_mandir}/man1/go-md2man.1*
|
||||||
|
|
||||||
|
%gopkgfiles
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Oct 12 2023 Jindrich Novy <jnovy@redhat.com> - 2.0.3-1
|
## START: Generated by rpmautospec
|
||||||
- update to https://github.com/cpuguy83/go-md2man/releases/tag/v2.0.3
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.0.3-4
|
||||||
- Related: Jira:RHEL-2112
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
* Wed Sep 27 2023 Jindrich Novy <jnovy@redhat.com> - 2.0.2-6
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-3
|
||||||
- fix license tag
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
- Related: Jira:RHEL-2112
|
|
||||||
|
|
||||||
* Wed May 31 2023 Jindrich Novy <jnovy@redhat.com> - 2.0.2-5
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-2
|
||||||
- update license to SPDX standard
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
- Related: #2176063
|
|
||||||
|
|
||||||
* Fri Dec 02 2022 Jindrich Novy <jnovy@redhat.com> - 2.0.2-4
|
* Thu Oct 12 2023 Debarshi Ray <rishi@fedoraproject.org> - 2.0.3-1
|
||||||
- fix RHEL9.2 build - thanks to Debarshi Ray
|
- Update to 2.0.3
|
||||||
- Related: #2124478
|
|
||||||
|
|
||||||
* Tue Nov 29 2022 Jindrich Novy <jnovy@redhat.com> - 2.0.2-3
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-8
|
||||||
- rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
- Resolves: #2037812
|
|
||||||
|
|
||||||
* Thu Aug 04 2022 Jindrich Novy <jnovy@redhat.com> - 2.0.2-2
|
* Wed Jul 05 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 2.0.2-7
|
||||||
- limit to golang arches only
|
- Use vendored dependencies in RHEL builds
|
||||||
- Related: #2061316
|
|
||||||
|
|
||||||
* Thu Aug 04 2022 Jindrich Novy <jnovy@redhat.com>
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-6
|
||||||
- update to 2.0.2
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
- Related: #2061316
|
|
||||||
|
|
||||||
* Thu Feb 17 2022 Jindrich Novy <jnovy@redhat.com> - 2.0.0-18.gitaf8da76
|
* Sat Nov 12 2022 Robert-André Mauchin <zebob.m@gmail.com> - 2.0.2-5
|
||||||
- fix gating.yaml as we have no functional gating tests
|
- SPEC cleanup
|
||||||
- Related: #2000051
|
|
||||||
|
|
||||||
* Wed Feb 16 2022 Jindrich Novy <jnovy@redhat.com> - 2.0.0-17.gitaf8da76
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-4
|
||||||
- update gating.yaml and rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
- Related: #2000051
|
|
||||||
|
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.0-16.gitaf8da76
|
* Tue Jul 19 2022 Maxwell G <gotmax@e.email> - 2.0.2-3
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuild for
|
||||||
Related: rhbz#1991688
|
CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang
|
||||||
|
|
||||||
* Thu Jul 15 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2.0.0-15.gitaf8da76
|
* Sat Jun 18 2022 Robert-André Mauchin <zebob.m@gmail.com> - 2.0.2-2
|
||||||
- Resolves: #1975362 - enable additional hardening flags
|
- Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327,
|
||||||
|
CVE-2022-27191, CVE-2022-29526, CVE-2022-30629
|
||||||
|
|
||||||
* Tue Jul 13 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2.0.0-14.gitaf8da76
|
* Wed Apr 27 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 2.0.2-1
|
||||||
- Resolves: #1975362 - enable full cf-protection for x86_64
|
- Update to 2.0.2
|
||||||
|
- Remove glide files
|
||||||
|
- Add man page
|
||||||
|
|
||||||
* Mon Jul 12 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2.0.0-13.gitaf8da76
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2
|
||||||
- Resolves: #1975362 - use latest upstream commit
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
* Fri Jul 09 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2.0.0-12
|
* Mon Sep 13 2021 Robert-André Mauchin <zebob.m@gmail.com> - 2.0.1-1
|
||||||
- Resolves: #1975362 - add -fcf-protection to CGO_CFLAGS
|
- Update to 2.0.1 Close: rhbz#1984219
|
||||||
|
|
||||||
* Thu Jul 08 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2.0.0-11
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-5
|
||||||
- Resolves: #1975362 - add gating.yaml
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
* Thu Jul 08 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2.0.0-10
|
|
||||||
- Resolves: #1975362 - build with CGO_CFLAGS defined
|
|
||||||
|
|
||||||
* Tue Jul 06 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2.0.0-9
|
|
||||||
- Resolves: #1975362 - rebuild with explicit git-core dep
|
|
||||||
|
|
||||||
* Wed Jun 23 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2.0.0-8
|
|
||||||
- Resolves: #1975362 - fix gobuild issues
|
|
||||||
|
|
||||||
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.0-7
|
|
||||||
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
|
||||||
Related: rhbz#1971065
|
|
||||||
|
|
||||||
* 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
|
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
* Sat Jan 09 2021 Robert-André Mauchin <zebob.m@gmail.com> - 2.0.0-3.20210109gitaf8da76
|
* Sat Jan 09 15:45:35 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 2.0.0-3.20210109gitaf8da76
|
||||||
- Bump to commit af8da765f0460ccb1d91003b4945a792363a94ca
|
- Bump to commit af8da765f0460ccb1d91003b4945a792363a94ca
|
||||||
|
|
||||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 25 19:30:39 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 2.0.0-1.20200725git1029f53
|
* Sat Jul 25 19:30:39 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 2.0.0-1.20200725git1029f53
|
||||||
- Bump to commit 1029f53b6507e27158d89cd489669559c1c700a3
|
- Bump to commit 1029f53b6507e27158d89cd489669559c1c700a3
|
||||||
|
|
||||||
@ -218,6 +214,13 @@ install -m 0755 -vp bin/* %{buildroot}%{_bindir}/
|
|||||||
* Mon Feb 22 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-3
|
* Mon Feb 22 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-3
|
||||||
- https://fedoraproject.org/wiki/Changes/golang1.6
|
- 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
|
* Thu Sep 10 2015 jchaloup <jchaloup@redhat.com> - 1-13
|
||||||
- Generate man page as well
|
- Generate man page as well
|
||||||
related: #1222796
|
related: #1222796
|
||||||
@ -272,3 +275,5 @@ install -m 0755 -vp bin/* %{buildroot}%{_bindir}/
|
|||||||
|
|
||||||
* Thu Sep 11 2014 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1-1
|
* Thu Sep 11 2014 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1-1
|
||||||
- Initial package
|
- Initial package
|
||||||
|
|
||||||
|
## END: Generated by rpmautospec
|
Loading…
Reference in New Issue
Block a user