The package rpms/golang-github-yosssi-gohtml.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-yosssi-gohtml.git/c....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 6e3d1feb22732173d21e85b5846ffb29a3b7aae3
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Fri May 24 15:21:45 2019 +0200
Bump to commit 9b7db94d32d9901e7ad2488fddf91f7b9fcc36c8
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/.gitignore b/.gitignore
index ab07db7..8a55c01 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/gohtml-1d8dc9c.tar.gz
+/gohtml-9b7db94d32d9901e7ad2488fddf91f7b9fcc36c8.tar.gz
diff --git a/golang-github-yosssi-gohtml.spec b/golang-github-yosssi-gohtml.spec
index 8bfa7b7..6f71dfa 100644
--- a/golang-github-yosssi-gohtml.spec
+++ b/golang-github-yosssi-gohtml.spec
@@ -1,179 +1,52 @@
-# 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
-
-%if ! 0%{?gobuild:1}
-%define gobuild(o:) go build -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od
-An -tx1|tr -d ' \\n')" -a -v -x %{?**};
-%endif
+# Generated by go2rpm
+%bcond_without check
-%global provider github
-%global provider_tld com
-%global project yosssi
-%global repo gohtml
#
https://github.com/yosssi/gohtml
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 1d8dc9c914ff4253a3af95c1891d809210245e69
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
-Name: golang-%{provider}-%{project}-%{repo}
-Version: 0
-Release: 0.6.git%{shortcommit}%{?dist}
-Summary: HTML formatter for Go
-License: MIT
-URL: https://%{provider_prefix}
-Source0:
https://%{provider_prefix}/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 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}
-
-%if ! 0%{?with_bundled}
-BuildRequires:
golang(golang.org/x/net/html)
-%endif
+%global goipath
github.com/yosssi/gohtml
+%global commit 9b7db94d32d9901e7ad2488fddf91f7b9fcc36c8
-%description
-%{summary}.
-
-%if 0%{?with_devel}
-%package devel
-Summary: %{summary}
-BuildArch: noarch
-
-%if 0%{?with_check} && ! 0%{?with_bundled}
-BuildRequires:
golang(golang.org/x/net/html)
-%endif
-
-Requires:
golang(golang.org/x/net/html)
+%gometa
-Provides: golang(%{import_path}) = %{version}-%{release}
+%global common_description %{expand:
+GoHTML is an HTML formatter for Go. You can format HTML source codes by using
+this package.}
-%description devel
-%{summary}.
+%global golicenses LICENSE
+%global godocs README.md
-This package contains library source intended for
-building other packages which use import path with
-%{import_path} prefix.
-%endif
+Name: %{goname}
+Version: 0
+Release: 0.7%{?dist}
+Summary: HTML formatter for Go
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test-devel
-Summary: Unit tests for %{name} package
+License: MIT
+URL: %{gourl}
+Source0: %{gosource}
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
+BuildRequires:
golang(golang.org/x/net/html)
-%description unit-test-devel
-%{summary}.
+%description
+%{common_description}
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%gopkg
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
-mkdir -p src/%{provider}.%{provider_tld}/%{project}
-ln -s ../../../ src/%{import_path}
-
-%if ! 0%{?with_bundled}
-export GOPATH=$(pwd):%{gopath}
-%else
-# No dependency directories so far
-export GOPATH=$(pwd):%{gopath}
-%endif
+%goprep
%install
-install -d -p %{buildroot}%{_bindir}
-
-# 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
+%gopkginstall
+%if %{with check}
%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}
+%gocheck
%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
+%gopkgfiles
%changelog
+* Fri May 24 15:05:52 CEST 2019 Robert-Andr Mauchin <zebob.m(a)gmail.com> -
0-0.7.20190524git9b7db94
+- Bump to commit 9b7db94d32d9901e7ad2488fddf91f7b9fcc36c8
+
* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.6.git1d8dc9c
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
@@ -191,4 +64,3 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath}
* Wed Mar 08 2017 Olivier Lemasle <o.lemasle(a)gmail.com> - 0-0.1.git1d8dc9c
- First package for Fedora
-
diff --git a/sources b/sources
index 4006007..63e9c18 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gohtml-1d8dc9c.tar.gz) =
34b68c3beb0f59cfc02cb9550767914ceb8607c190f4a458bbc574d9a670ac2e3e5b966ce397b724169026022deca63d6d2aa6f1479f51373c8ce9276181df31
+SHA512 (gohtml-9b7db94d32d9901e7ad2488fddf91f7b9fcc36c8.tar.gz) =
cb3c972f686bc7becb507b771c33ffd280289f0e41d1789c5d11953f199681d745abca13335924ec0fe2b47442d984a2dbeae28c8b89c664fe7e7c3cb7a81ecd