Update to latest commit - Closes rhbz#2045669

This commit is contained in:
Mikel Olasagasti Uranga 2022-07-19 18:57:49 +02:00
parent 6931c488e1
commit b56584863a
3 changed files with 19 additions and 15 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/mobile-3e0bab5405d63a8f5dd9d9764a24c8e5ac4997fa.tar.gz
/mobile-0df4eb2385467a487d418c6358313e9e838256ae.tar.gz
/mobile-e6ae53a27f4fd7cfa2943f2ae47b96cba8eb01c9.tar.gz
/mobile-8578da9835fd365e78a6e63048c103b27a53a82c.tar.gz

View File

@ -1,10 +1,10 @@
# Generated by go2rpm
# Generated by go2rpm 1.6.0
%bcond_without check
# https://github.com/golang/mobile
%global goipath golang.org/x/mobile
%global forgeurl https://github.com/golang/mobile
%global commit e6ae53a27f4fd7cfa2943f2ae47b96cba8eb01c9
%global commit 8578da9835fd365e78a6e63048c103b27a53a82c
%gometa
@ -17,7 +17,7 @@ platforms.}
Name: %{goname}
Version: 0
Release: 0.11%{?dist}
Release: 0.12%{?dist}
Summary: Go support for Mobile devices
# Upstream license specification: BSD-3-Clause
@ -25,16 +25,9 @@ License: BSD
URL: %{gourl}
Source0: %{gosource}
BuildRequires: golang(golang.org/x/image/draw)
BuildRequires: golang(golang.org/x/image/math/f64)
BuildRequires: golang(golang.org/x/mod/modfile)
BuildRequires: golang(golang.org/x/tools/go/packages)
%if %{with check}
# Tests
BuildRequires: golang(golang.org/x/tools/go/packages/packagestest)
# required for tests
BuildRequires: pkgconfig(glesv2)
%endif
BuildRequires: pkgconfig(openal)
%description
%{common_description}
@ -44,6 +37,9 @@ BuildRequires: pkgconfig(glesv2)
%prep
%goprep
%generate_buildrequires
%go_generate_buildrequires
%build
for cmd in cmd/* ; do
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
@ -56,17 +52,24 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
%if %{with check}
%check
%ifarch aarch64 ppc64le s390x
%gocheck -d cmd/gobind -d cmd/gomobile
%else
%gocheck -d cmd/gobind
%endif
%endif
%files
%license %{golicenses}
%doc %{godocs}
%license PATENTS LICENSE
%doc doc example AUTHORS CONTRIBUTING.md README.md CONTRIBUTORS exp/README
%{_bindir}/*
%gopkgfiles
%changelog
* Tue Jul 19 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 0-0.12.20220719git8578da9
- Bump to 8578da9835fd365e78a6e63048c103b27a53a82c. Fixes rhbz#2045669.
* Sat Jun 18 2022 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.11
- Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191,
CVE-2022-29526, CVE-2022-30629

View File

@ -1 +1 @@
SHA512 (mobile-e6ae53a27f4fd7cfa2943f2ae47b96cba8eb01c9.tar.gz) = f8d5bd43bee6ed75078e29ee65ee2c640d5977c3530f84a640ac40a65782d5bc4b0d1cbf41b38c6b91368d2cafdc83789bd1e7dd3419620ff0370b0de60fddba
SHA512 (mobile-8578da9835fd365e78a6e63048c103b27a53a82c.tar.gz) = a7298d9fc61d55253b7d0efff0dd2aedb9fc108a41fbde78a8da74d4d2ddf185a35263149314fe26ee76d214f405ee11b8cf5ce0af58b2ca48c97eca4e447c9e