The package rpms/golang-github-axgle-mahonia.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-axgle-mahonia.git/comm....
Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change: ============
commit 704a6795a59ad598fab31de734f9b652f36c22f7 Author: Robert-Andr Mauchin zebob.m@gmail.com Date: Mon Nov 12 19:43:06 2018 +0100
Bump to commit 3358181d7394e26beccfae0ffde05193ef3be33a Update to new Go packaging
Signed-off-by: Robert-Andr Mauchin zebob.m@gmail.com
diff --git a/.gitignore b/.gitignore index d193f9f..d8787f5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /mahonia-c528b74.tar.gz +/mahonia-3358181d7394e26beccfae0ffde05193ef3be33a.tar.gz diff --git a/golang-github-axgle-mahonia.spec b/golang-github-axgle-mahonia.spec index 221c718..8a2f7a3 100644 --- a/golang-github-axgle-mahonia.spec +++ b/golang-github-axgle-mahonia.spec @@ -1,80 +1,57 @@ -%global debug_package %{nil} - -%global provider github -%global provider_tld com -%global project axgle -%global repo mahonia # https://github.com/axgle/mahonia -%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit c528b747d92d41ca581a7acf3e604c396fc7c034 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global goipath github.com/axgle/mahonia +%global commit 3358181d7394e26beccfae0ffde05193ef3be33a + +%gometa
-Name: golang-%{provider}-%{project}-%{repo} +Name: %{goname} Version: 0 -Release: 0.3.git%{shortcommit}%{?dist} +Release: 0.4%{?dist} Summary: Character-set conversion library implemented in Go +# Detected licences +# - *No copyright* UNKNOWN at 'LICENSE' License: BSD -URL: https://%%7Bprovider_prefix%7D -Source0: %{url}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz +URL: %{gourl} +Source0: %{gosource} + +%description +%{summary}
-# 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}
%package devel -Summary: %{summary} -BuildArch: noarch -Provides: golang(%{import_path}) = %{version}-%{release} +Summary: %{summary} +BuildArch: noarch
%description devel -%{summary}. +%{summary}
This package contains library source intended for building other packages which use import path with -%{import_path} prefix. - -%description -%{summary}. +%{goipath} prefix.
-Mahonia is a character-set conversion library implemented in Go. All data -is compiled into the executable; it doesn't need any external data files.
%prep -%setup -q -n %{repo}-%{commit} +%forgeautosetup
-%build
%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 - -sort -u -o devel.file-list devel.file-list +%goinstall
-%check -export GOPATH=%{buildroot}%{gopath}:%{gopath}
-%if ! 0%{?gotest:1} -%global gotest go test -%endif +%check +%gochecks
-%gotest %{import_path} -%gotest %{import_path}/mahoniconv
%files devel -f devel.file-list +%license LICENSE %doc README.md -%dir %{gopath}/src/%{import_path} +
%changelog +* Mon Nov 12 2018 Robert-Andr Mauchin zebob.m@gmail.com - 0-0.4.20181112git3358181 +- Bump to commit 3358181d7394e26beccfae0ffde05193ef3be33a +- Update to new Go packaging + * Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.3.gitc528b74 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
@@ -83,3 +60,5 @@ export GOPATH=%{buildroot}%{gopath}:%{gopath}
* Mon Aug 7 2017 mosquito sensor.wen@gmail.com - 0.1-1 - Initial package build +- First package for Fedora + diff --git a/sources b/sources index cf60de9..e54c948 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mahonia-c528b74.tar.gz) = 5240390624079001fb1da1b8f86490b2c63f676fd1d4dd8f0669902cdebedf41272bfb482b96fb5a7dae8f42233b15401ef6141ad00a0b3050a52661798dc821 +SHA512 (mahonia-3358181d7394e26beccfae0ffde05193ef3be33a.tar.gz) = a800b5f494b5c37313e0782f301dd75f380033769f059ece24d328cce52c715a211ed7aa8f53593154deee7fba3e0c853e84cbcc6de02cc13766598bb7c6b927
commit d27694728f961596aa61eb36b5e08cec8ad64075 Author: Fedora Release Engineering releng@fedoraproject.org Date: Fri Jul 13 03:19:41 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-axgle-mahonia.spec b/golang-github-axgle-mahonia.spec index 79305b9..221c718 100644 --- a/golang-github-axgle-mahonia.spec +++ b/golang-github-axgle-mahonia.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: Character-set conversion library implemented in Go License: BSD URL: https://%%7Bprovider_prefix%7D @@ -75,6 +75,9 @@ export GOPATH=%{buildroot}%{gopath}:%{gopath} %dir %{gopath}/src/%{import_path}
%changelog +* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.3.gitc528b74 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.2.gitc528b74 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
arch-excludes@lists.fedoraproject.org