rebuilt with gcc (libgo) 9.2.0 [release 1.0.10-2mamba;Wed Aug 28 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 23:19:44 +01:00
parent 454703b757
commit df79744f07

View File

@ -1,6 +1,6 @@
Name: go-md2man Name: go-md2man
Version: 1.0.10 Version: 1.0.10
Release: 1mamba Release: 2mamba
Summary: go md to man conversion tool Summary: go md to man conversion tool
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
@ -15,26 +15,28 @@ BuildRequires: glibc-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libgo-devel BuildRequires: libgo-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libgo-devel >= 8.1.0 BuildRequires: go-pie
BuildRequires: libgo-devel >= 9.2.0
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
go md to man conversion tool. go md to man conversion tool.
%prep %prep
%setup -q %setup -q -c -a0
install -d build/src/github.com/cpuguy83
mv go-md2man-%{version} build/src/github.com/cpuguy83/go-md2man
%build %build
export GOPATH=$(readlink -f .) cd build/src/github.com/cpuguy83/go-md2man
repo=src/github.com/cpuguy83 export GOPATH=%{_builddir}/%{name}-%{version}/build
mkdir -p $repo
ln -sf ../../.. $repo/go-md2man GOROOT=%{_libdir}/go go build -v -o go-md2man
go get ./... || true
go build -v -o go-md2man github.com/cpuguy83/go-md2man
./go-md2man -in=go-md2man.1.md -out=go-md2man.1 ./go-md2man -in=go-md2man.1.md -out=go-md2man.1
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd build/src/github.com/cpuguy83/go-md2man
install -Dm755 go-md2man %{buildroot}%{_bindir}/go-md2man install -Dm755 go-md2man %{buildroot}%{_bindir}/go-md2man
install -Dm755 go-md2man.1 %{buildroot}%{_mandir}/man1/go-md2man.1 install -Dm755 go-md2man.1 %{buildroot}%{_mandir}/man1/go-md2man.1
@ -44,10 +46,13 @@ install -Dm755 go-md2man.1 %{buildroot}%{_mandir}/man1/go-md2man.1
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/go-md2man %{_bindir}/go-md2man
%{_mandir}/man1/go-md2man.1.gz %{_mandir}/man1/go-md2man.1*
%doc LICENSE.md %doc build/src/github.com/cpuguy83/go-md2man/LICENSE.md
%changelog %changelog
* Wed Aug 28 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.10-2mamba
- rebuilt with gcc (libgo) 9.2.0
* Sat Mar 30 2019 Automatic Build System <autodist@mambasoft.it> 1.0.10-1mamba * Sat Mar 30 2019 Automatic Build System <autodist@mambasoft.it> 1.0.10-1mamba
- automatic version update by autodist - automatic version update by autodist