Blame golang-github-maruel-panicparse.spec

8b77f6e
# Generated by go2rpm
8b77f6e
%bcond_without check
8b77f6e
8b77f6e
# https://github.com/maruel/panicparse
8b77f6e
%global goipath         github.com/maruel/panicparse
8b77f6e
Version:                1.2.0
8b77f6e
8b77f6e
%gometa
8b77f6e
8b77f6e
%global common_description %{expand:
8b77f6e
Parses panic stack traces, densifies and deduplicates goroutines with similar
8b77f6e
stack traces. Helps debugging crashes and deadlocks in heavily parallelized
8b77f6e
process.}
8b77f6e
8b77f6e
%global golicenses      LICENSE
8b77f6e
%global godocs          README.md
8b77f6e
8b77f6e
Name:           %{goname}
ce16613
Release:        2%{?dist}
8b77f6e
Summary:        Crash your app in style
8b77f6e
8b77f6e
# Upstream license specification: Apache-2.0
8b77f6e
License:        ASL 2.0
8b77f6e
URL:            %{gourl}
8b77f6e
Source0:        %{gosource}
8b77f6e
8b77f6e
BuildRequires:  golang(github.com/mattn/go-colorable)
8b77f6e
BuildRequires:  golang(github.com/mattn/go-isatty)
8b77f6e
BuildRequires:  golang(github.com/mgutz/ansi)
8b77f6e
8b77f6e
%description
8b77f6e
%{common_description}
8b77f6e
8b77f6e
%gopkg
8b77f6e
8b77f6e
%prep
8b77f6e
%goprep
8b77f6e
8b77f6e
%build
8b77f6e
%gobuild -o %{gobuilddir}/bin/panicparse %{goipath}
8b77f6e
8b77f6e
%install
8b77f6e
%gopkginstall
8b77f6e
install -m 0755 -vd                     %{buildroot}%{_bindir}
8b77f6e
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
8b77f6e
8b77f6e
%if %{with check}
8b77f6e
%check
8b77f6e
%gocheck
8b77f6e
%endif
8b77f6e
8b77f6e
%files
8b77f6e
%license LICENSE
8b77f6e
%doc README.md
8b77f6e
%{_bindir}/*
8b77f6e
8b77f6e
%gopkgfiles
8b77f6e
8b77f6e
%changelog
ce16613
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
ce16613
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ce16613
8b77f6e
* Wed May 15 23:05:32 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.0-1
8b77f6e
- Initial package