# Generated by go2rpm %bcond_without check # https://github.com/d4l3k/messagediff %global goipath github.com/d4l3k/messagediff Version: 1.2.1 %gometa %global common_description %{expand: A library for doing diffs of arbitrary Golang structs. If the unsafe package is available messagediff will diff unexported fields in addition to exported fields. This is primarily used for testing purposes as it allows for providing informative error messages. Optionally, fields in structs can be tagged as testdiff:"ignore" to make messagediff skip it when doing the comparison.} %global golicenses LICENSE %global godocs example CHANGELOG.md README.md Name: %{goname} Release: 5%{?dist} Summary: Library for doing diffs of arbitrary Golang structs License: MIT URL: %{gourl} Source0: %{gosource} %if %{with check} # Tests BuildRequires: golang(golang.org/x/net/html) BuildRequires: golang(golang.org/x/net/html/atom) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sat Jun 01 18:57:12 CEST 2019 Robert-André Mauchin - 1.2.1-5 - Update to new macros * Thu Jan 31 2019 Fedora Release Engineering - 1.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 24 2018 Fabio Valentini - 1.2.1-3 - Use standard GitHub SourceURL again for consistency between releases. - Use forgeautosetup instead of gosetup. * Fri Aug 31 2018 Fabio Valentini - 1.2.1-2 - Update to use spec 3.0. * Thu Jul 19 2018 Fabio Valentini - 1.2.1-1 - Bump to version 1.2.1 (no code changes). * Fri Jul 13 2018 Fedora Release Engineering - 1.1.0-0.6.git29f32d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.1.0-0.5.git29f32d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Aug 07 2017 Fabio Valentini - 1.1.0-0.4.git29f32d8 - Bump to commit 29f32d8. * Wed Aug 02 2017 Fedora Release Engineering - 1.1.0-0.3.git2fe2a1d - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.1.0-0.2.git2fe2a1d - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Mar 01 2017 Fabio Valentini - 1.1.0-0.1.git2fe2a1d - First package for Fedora