The package rpms/golang-github-sergi-go-diff.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-sergi-go-diff.git/comm....
Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change: ============
commit fff85495841eebc46edafbe4667851c4c629cbca Author: mosquito sensor.wen@gmail.com Date: Thu Nov 15 00:54:11 2018 +0800
Update to da64554
diff --git a/.gitignore b/.gitignore index 2e85ffa..1adf15d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /go-diff-feef008.tar.gz +/go-diff-da645544ed44df016359bd4c0e3dc60ee3a0da43.tar.gz diff --git a/golang-github-sergi-go-diff.spec b/golang-github-sergi-go-diff.spec index 90f4f02..c63342d 100644 --- a/golang-github-sergi-go-diff.spec +++ b/golang-github-sergi-go-diff.spec @@ -1,27 +1,19 @@ -%global debug_package %{nil} - -%global provider github -%global provider_tld com -%global project sergi -%global repo go-diff -# https://github.com/sergi/go-diff -%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit feef008d51ad2b3778f85d387ccf91735543008d -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - -Name: golang-%{provider}-%{project}-%{repo} +# Run tests in check section +# disable for bootstrapping +%bcond_with check + +%global goipath github.com/sergi/go-diff +%global commit da645544ed44df016359bd4c0e3dc60ee3a0da43 + +%gometa + +Name: %{goname} Version: 0 -Release: 0.4.git%{shortcommit}%{?dist} +Release: 0.5%{?dist} Summary: Diff, match and patch text in Go License: MIT -URL: https://%%7Bprovider_prefix%7D -Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz - -# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{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} +URL: %{gourl} +Source0: %{gosource}
%description %{summary}. @@ -30,8 +22,6 @@ BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} Summary: %{summary} BuildArch: noarch BuildRequires: golang(github.com/stretchr/testify/assert) -Provides: golang(%{import_path}) = %{version}-%{release} -Provides: golang(%{import_path}/diffmatchpatch) = %{version}-%{release}
%description devel %{summary}. @@ -40,70 +30,25 @@ This package contains library source intended for building other packages which use import path with %{import_path} prefix.
-%package unit-test-devel -Summary: Unit tests for %{name} package -BuildArch: noarch -# test subpackage tests code from devel subpackage -Requires: %{name}-devel = %{version}-%{release} - -%description unit-test-devel -%{summary}. - -This package contains unit tests for project -providing packages with %{import_path} prefix. - - %prep -%setup -q -n %{repo}-%{commit} - -%build +%forgeautosetup
%install -# source codes for building projects -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" ! -iname "*_test.go") ; do - echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list - install -d -p %{buildroot}%{gopath}/src/%{import_path}/$(dirname $file) - cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file - echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list -done - -# testing files for this project -install -d %{buildroot}%{gopath}/src/%{import_path}/ -# find all *_test.go files and generate unit-test.file-list -for file in $(find . -iname "*_test.go" -or -iname "testdata"); 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 - -sort -u -o devel.file-list devel.file-list -sort -u -o unit-test-devel.file-list unit-test-devel.file-list +%goinstall
+%if %{with check} %check -export GOPATH=%{buildroot}%{gopath}:%{gopath} - -%if ! 0%{?gotest:1} -%global gotest go test +%gochecks %endif
-%gotest %{import_path}/diffmatchpatch - %files devel -f devel.file-list %doc README.md %license LICENSE -%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} - -%files unit-test-devel -f unit-test-devel.file-list
%changelog +* Sun Nov 4 2018 mosquito sensor.wen@gmail.com - 0-0.5.20181104gitda64554 +- Update to da64554 + * Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.4.gitfeef008 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources index 54546cb..8b31d2a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (go-diff-feef008.tar.gz) = 478fcf2a5935c5d266ac113563e122b8e3f1aca573704be93ea50594bba9034fab1136e3062a337ddeca1b9257cb302fc9354dca10ed8ccd40b3ae3e06ff6c55 +SHA512 (go-diff-da645544ed44df016359bd4c0e3dc60ee3a0da43.tar.gz) = 832b974cf9671b2330d4af9f1f7bb8b00fb8b6bf82c9acd12175edca72677ff6aa6a19c670b693ceb00bc6d520d55a7bf516363cae307631e039b1b38267a20c
commit bc9bd5351f0ee49fad1d09459ec4775cc48b7d40 Author: Fedora Release Engineering releng@fedoraproject.org Date: Fri Jul 13 04:03:25 2018 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
diff --git a/golang-github-sergi-go-diff.spec b/golang-github-sergi-go-diff.spec index 787fa0a..90f4f02 100644 --- a/golang-github-sergi-go-diff.spec +++ b/golang-github-sergi-go-diff.spec @@ -12,7 +12,7 @@
Name: golang-%{provider}-%{project}-%{repo} Version: 0 -Release: 0.3.git%{shortcommit}%{?dist} +Release: 0.4.git%{shortcommit}%{?dist} Summary: Diff, match and patch text in Go License: MIT URL: https://%%7Bprovider_prefix%7D @@ -104,6 +104,9 @@ export GOPATH=%{buildroot}%{gopath}:%{gopath} %files unit-test-devel -f unit-test-devel.file-list
%changelog +* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.4.gitfeef008 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.3.gitfeef008 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 8474428e26734e207aa1a02ddf89bc4205a9eb6f Author: Fedora Release Engineering releng@fedoraproject.org Date: Wed Feb 7 14:51:35 2018 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
diff --git a/golang-github-sergi-go-diff.spec b/golang-github-sergi-go-diff.spec index 731e633..787fa0a 100644 --- a/golang-github-sergi-go-diff.spec +++ b/golang-github-sergi-go-diff.spec @@ -12,7 +12,7 @@
Name: golang-%{provider}-%{project}-%{repo} Version: 0 -Release: 0.2.git%{shortcommit}%{?dist} +Release: 0.3.git%{shortcommit}%{?dist} Summary: Diff, match and patch text in Go License: MIT URL: https://%%7Bprovider_prefix%7D @@ -104,6 +104,9 @@ export GOPATH=%{buildroot}%{gopath}:%{gopath} %files unit-test-devel -f unit-test-devel.file-list
%changelog +* Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.3.gitfeef008 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Fri Aug 11 2017 mosquito sensor.wen@gmail.com - 0-0.2.gitfeef008 - Add golang(%%{import_path}) provide
arch-excludes@lists.fedoraproject.org