The package rpms/golang-github-libgit2-git2go.git has added or updated architecture
specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-libgit2-git2go.git/....
Change:
+ExcludeArch: i686 armv7hl
Thanks.
Full change:
============
commit 5e7953aede59b0cfd0806aa4ac958ed8ad111bd0
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Sun Jun 2 20:42:57 2019 +0200
Update to new macros
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/golang-github-libgit2-git2go.spec b/golang-github-libgit2-git2go.spec
index 36217b9..c00a001 100644
--- a/golang-github-libgit2-git2go.spec
+++ b/golang-github-libgit2-git2go.spec
@@ -1,60 +1,58 @@
-# Some tests use the network.
-%bcond_with network
+# Generated by go2rpm
+%bcond_without check
+#
https://github.com/libgit2/git2go
%global goipath
github.com/libgit2/git2go
%global commit ecaeb7a21d479b7966311760a2e8bd734f8f0eef
%gometa
+%global godevelheader %{expand:
+Requires: (pkgconfig(libgit2) >= 0.27 with pkgconfig(libgit2) < 0.28)}
+
+%global common_description %{expand:
+Go bindings for libgit2.}
+
+%global golicenses LICENSE
+%global godocs README.md
+
Name: %{goname}
Version: 0
-Release: 0.27.1%{?dist}
-Summary: Git to Go; bindings for libgit2
+Release: 0.27.2%{?dist}
+Summary: Bindings for libgit2
+
License: MIT
URL: %{gourl}
Source0: %{gosource}
-%if ! %{with network}
-Patch0001: 0001-Skip-tests-that-use-the-network.patch
-%endif
+Patch0: 0001-Skip-tests-that-use-the-network.patch
#
https://bugzilla.redhat.com/show_bug.cgi?id=1680200
-ExcludeArch: i686 armv7hl
-
-%description
-%{summary}
-
-
-%package devel
-Summary: %{summary}
-BuildArch: noarch
+ExcludeArch: i686 armv7hl
BuildRequires: (pkgconfig(libgit2) >= 0.27 with pkgconfig(libgit2) < 0.28)
-Requires: (pkgconfig(libgit2) >= 0.27 with pkgconfig(libgit2) < 0.28)
-%description devel
-%{summary}
-
-This package contains library source intended for building other packages which
-use import path with %{goipath} prefix.
+%description
+%{common_description}
+%gopkg
%prep
-%forgeautosetup -p1
-
+%goprep
+%patch0 -p1
%install
-%goinstall
-
+%gopkginstall
+%if %{with check}
%check
-%gochecks
-
-
-%files devel -f devel.file-list
-%doc README.md
-%license LICENSE
+%gocheck
+%endif
+%gopkgfiles
%changelog
+* Sun Jun 02 20:23:48 CEST 2019 Robert-Andr Mauchin <zebob.m(a)gmail.com> -
0-0.27.2.20190223gitecaeb7a
+- Update to new macros
+
* Wed Feb 20 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> -
0-0.27.1.20190223gitecaeb7a
- First package for Fedora