The package rpms/golang-github-hashicorp-go-hclog.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-hashicorp-go-hclog.git....
Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change: ============
commit f0b1282b769ed1b41c86776021f58adf09cca181 Author: Robert-Andr Mauchin zebob.m@gmail.com Date: Mon Jul 8 23:33:40 2019 +0200
Renamed to golang-github-hashicorp-hclog
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 17589e6..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/go-hclog-ca137eb.tar.gz -/go-hclog-0.9.0.tar.gz -/go-hclog-0.9.2.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..8912304 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Renamed to golang-github-hashicorp-hclog diff --git a/golang-github-hashicorp-hclog.spec b/golang-github-hashicorp-hclog.spec deleted file mode 100644 index 245e34e..0000000 --- a/golang-github-hashicorp-hclog.spec +++ /dev/null @@ -1,76 +0,0 @@ -# Generated by go2rpm -%bcond_without check - -# https://github.com/hashicorp/go-hclog -%global goipath github.com/hashicorp/go-hclog -Version: 0.9.2 - -%gometa - -%global common_description %{expand: -Go-hclog is a package for Go that provides a simple key/value logging interface -for use in development and production environments.} - -%global golicenses LICENSE -%global godocs README.md README-hclogvet - -Name: %{goname} -Release: 1%{?dist} -Summary: Common logging package for hashicorp tools - -License: MIT -URL: %{gourl} -Source0: %{gosource} - -%if %{with check} -# Tests -BuildRequires: golang(github.com/stretchr/testify/assert) -BuildRequires: golang(github.com/stretchr/testify/require) -%endif - -%description -%{common_description} - -%gopkg - -%prep -%goprep -mv hclogvet/README README-hclogvet - -%build -for cmd in hclogvet; 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 -%gocheck -%endif - -%files -%license LICENSE -%doc README.md README-hclogvet -%{_bindir}/* - -%gopkgfiles - -%changelog -* Tue Apr 30 17:29:13 CEST 2019 Robert-Andr Mauchin zebob.m@gmail.com - 0.9.2-1 -- Release 0.9.2 - -* Fri Feb 01 2019 Fedora Release Engineering releng@fedoraproject.org - 0-0.4.20171005gitca137eb -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.3.20171005gitca137eb -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.2.20171005gitca137eb -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sat Oct 07 2017 Ed Marshall esm@logic.net - 0-0.1.20171005gitca137eb -- First package for Fedora diff --git a/sources b/sources deleted file mode 100644 index 92e6139..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (go-hclog-0.9.2.tar.gz) = 3dfa8cda3dd87f82cc0b721f664ab2f39afbe644ac785b086023b50432a904396fa33bf5fd933a50951b8059f88d07ea9017c9d5e5150379c521a1739c13527f
commit e0394a78a00618a9688dce53da4bd83103cd7f10 Author: Robert-Andr Mauchin zebob.m@gmail.com Date: Tue Apr 30 18:47:40 2019 +0200
Release 0.9.2
Signed-off-by: Robert-Andr Mauchin zebob.m@gmail.com
diff --git a/.gitignore b/.gitignore index 9dffd6e..17589e6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ /go-hclog-ca137eb.tar.gz +/go-hclog-0.9.0.tar.gz +/go-hclog-0.9.2.tar.gz diff --git a/golang-github-hashicorp-go-hclog.spec b/golang-github-hashicorp-go-hclog.spec deleted file mode 100644 index ba758e5..0000000 --- a/golang-github-hashicorp-go-hclog.spec +++ /dev/null @@ -1,196 +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 hashicorp -%global repo go-hclog -# https://github.com/hashicorp/go-hclog -%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit ca137eb4b4389c9bc6f1a6d887f056bf16c00510 -%global commitdate 20171005 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - -Name: golang-%{provider}-%{project}-%{repo} -Version: 0 -Release: 0.4.%{commitdate}git%{shortcommit}%{?dist} -Summary: A common logging package for HashiCorp tools -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} -BuildRequires: golang(github.com/stretchr/testify/assert) -BuildRequires: golang(github.com/stretchr/testify/require) -%endif - -Requires: golang(github.com/stretchr/testify/assert) -Requires: golang(github.com/stretchr/testify/require) - -%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.20171005gitca137eb -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.3.20171005gitca137eb -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.2.20171005gitca137eb -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sat Oct 07 2017 Ed Marshall esm@logic.net - 0-0.1.20171005gitca137eb -- First package for Fedora diff --git a/golang-github-hashicorp-hclog.spec b/golang-github-hashicorp-hclog.spec new file mode 100644 index 0000000..245e34e --- /dev/null +++ b/golang-github-hashicorp-hclog.spec @@ -0,0 +1,76 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/hashicorp/go-hclog +%global goipath github.com/hashicorp/go-hclog +Version: 0.9.2 + +%gometa + +%global common_description %{expand: +Go-hclog is a package for Go that provides a simple key/value logging interface +for use in development and production environments.} + +%global golicenses LICENSE +%global godocs README.md README-hclogvet + +Name: %{goname} +Release: 1%{?dist} +Summary: Common logging package for hashicorp tools + +License: MIT +URL: %{gourl} +Source0: %{gosource} + +%if %{with check} +# Tests +BuildRequires: golang(github.com/stretchr/testify/assert) +BuildRequires: golang(github.com/stretchr/testify/require) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep +mv hclogvet/README README-hclogvet + +%build +for cmd in hclogvet; 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 +%gocheck +%endif + +%files +%license LICENSE +%doc README.md README-hclogvet +%{_bindir}/* + +%gopkgfiles + +%changelog +* Tue Apr 30 17:29:13 CEST 2019 Robert-Andr Mauchin zebob.m@gmail.com - 0.9.2-1 +- Release 0.9.2 + +* Fri Feb 01 2019 Fedora Release Engineering releng@fedoraproject.org - 0-0.4.20171005gitca137eb +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.3.20171005gitca137eb +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.2.20171005gitca137eb +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Oct 07 2017 Ed Marshall esm@logic.net - 0-0.1.20171005gitca137eb +- First package for Fedora diff --git a/sources b/sources index cdd92b6..92e6139 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (go-hclog-ca137eb.tar.gz) = e6f0b97b1b947c6cd0de847e1ebb31437c1442669ce61b8f2941a4b22bd535fe8b8c20180e9a4803216d8956f5450098044093b37403591939f40f3dbe351a3a +SHA512 (go-hclog-0.9.2.tar.gz) = 3dfa8cda3dd87f82cc0b721f664ab2f39afbe644ac785b086023b50432a904396fa33bf5fd933a50951b8059f88d07ea9017c9d5e5150379c521a1739c13527f
arch-excludes@lists.fedoraproject.org