# Generated by go2rpm 1.3 %bcond_without check # https://github.com/brunnre8/go.notmuch %global goipath github.com/brunnre8/go.notmuch %global commit caa2daf7093c998ed18e1b85a42c4105713e9dda %gometa %global godevelheader %{expand: Requires: notmuch-devel} %global common_description %{expand: Go language bindings for notmuch mail.} %global golicenses COPYING license.txt %global godocs example AUTHORS README-INTERNALS.md README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Go language bindings for notmuch mail License: GPLv3 URL: %{gourl} Source0: %{gosource} Source1: https://notmuchmail.org/releases/test-databases/database-v1.tar.xz BuildRequires: notmuch-devel %description %{common_description} %gopkg %prep %goprep sed -i "s|github.com/zenhack/go.notmuch|github.com/brunnre8/go.notmuch|" $(find . -name "*.go" -type f) # Unzip fixtures for tests tar -C fixtures -xf %{SOURCE1} %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed Dec 09 11:03:14 CET 2020 Robert-André Mauchin - 0-0.1.20201209gitcaa2daf - Initial package