The package rpms/golang-github-mitchellh-go-testing-interface.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-mitchellh-go-testing-i....
Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change: ============
commit f11e944b46670c07fbe954b71e5e6e3ae618bb93 Author: Robert-Andr Mauchin zebob.m@gmail.com Date: Sun Jun 23 16:09:01 2019 +0200
Renamed to golang-github-mitchellh-testing-interface
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 9a91ddd..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/go-testing-interface-a61a995.tar.gz -/go-testing-interface-1.0.0.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..9fa79a0 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Renamed to golang-github-mitchellh-testing-interface diff --git a/golang-github-mitchellh-testing-interface.spec b/golang-github-mitchellh-testing-interface.spec deleted file mode 100644 index 864492f..0000000 --- a/golang-github-mitchellh-testing-interface.spec +++ /dev/null @@ -1,62 +0,0 @@ -# Generated by go2rpm -%bcond_without check - -# https://github.com/mitchellh/go-testing-interface -%global goipath github.com/mitchellh/go-testing-interface -Version: 1.0.0 - -%gometa - -%global common_description %{expand: -Go-testing-interface is a Go library that exports an interface that *testing.T -implements as well as a runtime version you can use in its place. - -The purpose of this library is so that you can export test helpers as a public -API without depending on the "testing" package, since you can't create a -*testing.T struct manually. This lets you, for example, use the public testing -APIs to generate mock data at runtime, rather than just at test time.} - -%global golicenses LICENSE -%global godocs README.md - -Name: %{goname} -Release: 1%{?dist} -Summary: Go library to expose *testing.t as an interface - -License: MIT -URL: %{gourl} -Source0: %{gosource} - -%description -%{common_description} - -%gopkg - -%prep -%goprep - -%install -%gopkginstall - -%if %{with check} -%check -%gocheck -%endif - -%gopkgfiles - -%changelog -* Mon Apr 22 18:23:49 CEST 2019 Robert-Andr Mauchin zebob.m@gmail.com - 1.0.0-1 -- Release 1.0.0 - -* Fri Feb 01 2019 Fedora Release Engineering releng@fedoraproject.org - 0-0.4.20171004gita61a995 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.3.20171004gita61a995 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.2.20171004gita61a995 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sat Oct 07 2017 Ed Marshall esm@logic.net - 0-0.1.20171004gita61a995 -- First package for Fedora diff --git a/sources b/sources deleted file mode 100644 index eab088d..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (go-testing-interface-1.0.0.tar.gz) = 5d4af71fda68cac3fe8d6c93839c5df8b1ab947f23fbe356a2c61ba27b1172f1a94bddfbcf070d685bd5d768abf66683a8f282aaec1f8a1e92d4a11b6f3a0463
commit 1686b4a89f81a1b218fd696882818c05e07936a6 Author: Robert-Andr Mauchin zebob.m@gmail.com Date: Mon Apr 22 18:30:23 2019 +0200
Release 1.0.0
Signed-off-by: Robert-Andr Mauchin zebob.m@gmail.com
diff --git a/.gitignore b/.gitignore index f578507..9a91ddd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /go-testing-interface-a61a995.tar.gz +/go-testing-interface-1.0.0.tar.gz diff --git a/golang-github-mitchellh-go-testing-interface.spec b/golang-github-mitchellh-go-testing-interface.spec deleted file mode 100644 index f7e37f8..0000000 --- a/golang-github-mitchellh-go-testing-interface.spec +++ /dev/null @@ -1,192 +0,0 @@ -# If any of the following macros should be set otherwise, -# you can wrap any of them with the following conditions: -# - %%if 0%%{centos} == 7 -# - %%if 0%%{?rhel} == 7 -# - %%if 0%%{?fedora} == 23 -# Or just test for particular distribution: -# - %%if 0%%{centos} -# - %%if 0%%{?rhel} -# - %%if 0%%{?fedora} -# -# Be aware, on centos, both %%rhel and %%centos are set. If you want to test -# rhel specific macros, you can use %%if 0%%{?rhel} && 0%%{?centos} == 0 condition. -# (Don't forget to replace double percentage symbol with single one in order to apply a condition) - -# Generate devel rpm -%global with_devel 1 -# Build project from bundled dependencies -%global with_bundled 0 -# Build with debug info rpm -%global with_debug 0 -# Run tests in check section -%global with_check 1 -# Generate unit-test rpm -%global with_unit_test 1 - -%if 0%{?with_debug} -%global _dwz_low_mem_die_limit 0 -%else -%global debug_package %{nil} -%endif - - -%global provider github -%global provider_tld com -%global project mitchellh -%global repo go-testing-interface -# https://github.com/mitchellh/go-testing-interface -%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit a61a99592b77c9ba629d254a693acffaeb4b7e28 -%global commitdate 20171004 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - -Name: golang-%{provider}-%{project}-%{repo} -Version: 0 -Release: 0.4.%{commitdate}git%{shortcommit}%{?dist} -Summary: Go (Golang) library to expose *testing.T as an interface -License: MIT -URL: https://%%7Bprovider_prefix%7D -Source0: https://%%7Bprovider_prefix%7D/archive/%%7Bcommit%7D/%%7Brepo%7D-%%7Bshortco... - -# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}} -# If go_compiler is not set to 1, there is no virtual provide. Use golang instead. -BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} - - - -%description -%{summary} - -%if 0%{?with_devel} -%package devel -Summary: %{summary} -BuildArch: noarch - -%if 0%{?with_check} && ! 0%{?with_bundled} -%endif - - -Provides: golang(%{import_path}) = %{version}-%{release} - -%description devel -%{summary} - -This package contains library source intended for -building other packages which use import path with -%{import_path} prefix. -%endif - -%if 0%{?with_unit_test} && 0%{?with_devel} -%package unit-test-devel -Summary: Unit tests for %{name} package -%if 0%{?with_check} -#Here comes all BuildRequires: PACKAGE the unit tests -#in %%check section need for running -%endif - -# test subpackage tests code from devel subpackage -Requires: %{name}-devel = %{version}-%{release} - -%if 0%{?with_check} && ! 0%{?with_bundled} -%endif - - -%description unit-test-devel -%{summary} - -This package contains unit tests for project -providing packages with %{import_path} prefix. -%endif - -%prep -%setup -q -n %{repo}-%{commit} - -%build -%install -# source codes for building projects -%if 0%{?with_devel} -install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ -echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list -# find all *.go but no *_test.go files and generate devel.file-list -for file in $(find . ( -iname "*.go" -or -iname "*.s" ) ! -iname "*_test.go") ; do - dirprefix=$(dirname $file) - install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$dirprefix - cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list - - while [ "$dirprefix" != "." ]; do - echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list - dirprefix=$(dirname $dirprefix) - done -done -%endif - -# testing files for this project -%if 0%{?with_unit_test} && 0%{?with_devel} -install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ -# find all *_test.go files and generate unit-test-devel.file-list -for file in $(find . -iname "*_test.go") ; do - dirprefix=$(dirname $file) - install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$dirprefix - cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list - - while [ "$dirprefix" != "." ]; do - echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list - dirprefix=$(dirname $dirprefix) - done -done -%endif - -%if 0%{?with_devel} -sort -u -o devel.file-list devel.file-list -%endif - -%check -%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel} -%if ! 0%{?with_bundled} -export GOPATH=%{buildroot}/%{gopath}:%{gopath} -%else -# No dependency directories so far - -export GOPATH=%{buildroot}/%{gopath}:%{gopath} -%endif - -%if ! 0%{?gotest:1} -%global gotest go test -%endif - -%gotest %{import_path} -%endif - -#define license tag if not already defined -%{!?_licensedir:%global license %doc} - - -%if 0%{?with_devel} -%files devel -f devel.file-list -%license LICENSE -%doc README.md -%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} -%endif - -%if 0%{?with_unit_test} && 0%{?with_devel} -%files unit-test-devel -f unit-test-devel.file-list -%license LICENSE -%doc README.md -%endif - -%changelog -* Fri Feb 01 2019 Fedora Release Engineering releng@fedoraproject.org - 0-0.4.20171004gita61a995 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.3.20171004gita61a995 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.2.20171004gita61a995 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sat Oct 07 2017 Ed Marshall esm@logic.net - 0-0.1.20171004gita61a995 -- First package for Fedora diff --git a/golang-github-mitchellh-testing-interface.spec b/golang-github-mitchellh-testing-interface.spec new file mode 100644 index 0000000..864492f --- /dev/null +++ b/golang-github-mitchellh-testing-interface.spec @@ -0,0 +1,62 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/mitchellh/go-testing-interface +%global goipath github.com/mitchellh/go-testing-interface +Version: 1.0.0 + +%gometa + +%global common_description %{expand: +Go-testing-interface is a Go library that exports an interface that *testing.T +implements as well as a runtime version you can use in its place. + +The purpose of this library is so that you can export test helpers as a public +API without depending on the "testing" package, since you can't create a +*testing.T struct manually. This lets you, for example, use the public testing +APIs to generate mock data at runtime, rather than just at test time.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: Go library to expose *testing.t as an interface + +License: MIT +URL: %{gourl} +Source0: %{gosource} + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Mon Apr 22 18:23:49 CEST 2019 Robert-Andr Mauchin zebob.m@gmail.com - 1.0.0-1 +- Release 1.0.0 + +* Fri Feb 01 2019 Fedora Release Engineering releng@fedoraproject.org - 0-0.4.20171004gita61a995 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.3.20171004gita61a995 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.2.20171004gita61a995 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Oct 07 2017 Ed Marshall esm@logic.net - 0-0.1.20171004gita61a995 +- First package for Fedora diff --git a/sources b/sources index 19e3080..eab088d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (go-testing-interface-a61a995.tar.gz) = b6170256d1d78020f2341a8dbd7eeb0e005351a882b764547185a9f0a619d5fc57ef46c1fe69d1cb74f84ec1d1ff2a0262396c13ce7744bcfcaef7e3500e654a +SHA512 (go-testing-interface-1.0.0.tar.gz) = 5d4af71fda68cac3fe8d6c93839c5df8b1ab947f23fbe356a2c61ba27b1172f1a94bddfbcf070d685bd5d768abf66683a8f282aaec1f8a1e92d4a11b6f3a0463
arch-excludes@lists.fedoraproject.org