# Generated by go2rpm %bcond_without check # https://github.com/maruel/panicparse %global goipath github.com/maruel/panicparse Version: 1.2.0 %gometa %global common_description %{expand: Parses panic stack traces, densifies and deduplicates goroutines with similar stack traces. Helps debugging crashes and deadlocks in heavily parallelized process.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 1%{?dist} Summary: Crash your app in style # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/mattn/go-colorable) BuildRequires: golang(github.com/mattn/go-isatty) BuildRequires: golang(github.com/mgutz/ansi) %description %{common_description} %gopkg %prep %goprep %build %gobuild -o %{gobuilddir}/bin/panicparse %{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 LICENSE %doc README.md %{_bindir}/* %gopkgfiles %changelog * Wed May 15 23:05:32 CEST 2019 Robert-André Mauchin - 1.2.0-1 - Initial package