The package rpms/golang-github-rubenv-sql-migrate.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-rubenv-sql-migrate.git....
Change: +ExcludeArch: s390x
Thanks.
Full change: ============
commit c4fc20b3242ebb712ab60eb6636e7cfefd14773a Author: Davide Cavalca dcavalca@fedoraproject.org Date: Fri Jun 11 10:06:41 2021 -0700
Add ExcludeArch for s390x
diff --git a/golang-github-rubenv-sql-migrate.spec b/golang-github-rubenv-sql-migrate.spec index 43e3ef4..ed5e5ce 100644 --- a/golang-github-rubenv-sql-migrate.spec +++ b/golang-github-rubenv-sql-migrate.spec @@ -37,6 +37,10 @@ BuildRequires: golang(github.com/gobuffalo/packr/v2) BuildRequires: golang(gopkg.in/check.v1) %endif
+# Build fails due to SIGILL +# https://bugzilla.redhat.com/show_bug.cgi?id=1971028 +ExcludeArch: s390x + %description %{common_description}
commit 2c0d779973aca98aa16879bf9561aa81601820c4 Author: Davide Cavalca dcavalca@fedoraproject.org Date: Fri Jun 11 09:42:10 2021 -0700
Initial import (#1963410)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..da67848 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/sql-migrate-a32ed26c37ea1bdfd4e08f8aae7b494e7801fb52.tar.gz diff --git a/golang-github-rubenv-sql-migrate.spec b/golang-github-rubenv-sql-migrate.spec new file mode 100644 index 0000000..43e3ef4 --- /dev/null +++ b/golang-github-rubenv-sql-migrate.spec @@ -0,0 +1,74 @@ +# Generated by go2rpm 1.3 +%bcond_without check + +# https://github.com/rubenv/sql-migrate +%global goipath github.com/rubenv/sql-migrate +%global commit a32ed26c37ea1bdfd4e08f8aae7b494e7801fb52 + +%gometa + +%global common_description %{expand: +sql-migrate is a SQL Schema migration tool for Go, based on gorp and goose.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Version: 0 +Release: 0.1%{?dist} +Summary: SQL schema migration tool for Go + +License: MIT +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/denisenkom/go-mssqldb) +BuildRequires: golang(github.com/go-sql-driver/mysql) +BuildRequires: golang(github.com/lib/pq) +BuildRequires: golang(github.com/mattn/go-sqlite3) +BuildRequires: golang(github.com/mitchellh/cli) +BuildRequires: golang(github.com/olekukonko/tablewriter) +BuildRequires: golang(gopkg.in/gorp.v1) +BuildRequires: golang(gopkg.in/yaml.v2) + +%if %{with check} +# Tests +BuildRequires: golang(github.com/gobuffalo/packr/v2) +BuildRequires: golang(gopkg.in/check.v1) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%build +for cmd in sql-migrate; do + %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd +done + +%install +%gopkginstall +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ + +%if %{with check} +%check +# Fails with "too many levels of symbolic links" when run in mock +rm migrate_test.go +%gocheck +%endif + +%files +%license LICENSE +%doc README.md +%{_bindir}/* + +%gopkgfiles + +%changelog +* Sun May 16 2021 Davide Cavalca davide@fedoraproject.org - 0-0.1.20210516gita32ed26 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..5392b4b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (sql-migrate-a32ed26c37ea1bdfd4e08f8aae7b494e7801fb52.tar.gz) = 2365a9562b58ae1c9fc59b505f5eca316639b1ab51c6ec1c108bd4a9e516e76402a2bed0a157e3caca0fcc94da38f61150115e033c7fc84edd8b3adf143af60e