The package rpms/golang-github-hashicorp-go-rootcerts.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-rootcerts....
Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change: ============
commit 885b0153fee37a443577cb0439213c2a0e4f7a07 Author: Robert-Andr Mauchin zebob.m@gmail.com Date: Sat Jun 22 22:51:05 2019 +0200
Renamed to golang-github-hashicorp-rootcerts
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index b6b898b..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/go-rootcerts-6bb64b3.tar.gz -/go-rootcerts-1.0.0.tar.gz -/go-rootcerts-1.0.1.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..059ed0a --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Renamed to golang-github-hashicorp-rootcerts diff --git a/golang-github-hashicorp-rootcerts.spec b/golang-github-hashicorp-rootcerts.spec deleted file mode 100644 index 3324123..0000000 --- a/golang-github-hashicorp-rootcerts.spec +++ /dev/null @@ -1,63 +0,0 @@ -# Generated by go2rpm -%bcond_without check - -# https://github.com/hashicorp/go-rootcerts -%global goipath github.com/hashicorp/go-rootcerts -Version: 1.0.0 - -%gometa - -%global common_description %{expand: -Go's standard library crypto/tls provides a common mechanism for configuring TLS -connections in tls.Config. The RootCAs field on this struct is a pool of -certificates for the client to use as a trust store when verifying server -certificates. - -This library contains utility functions for loading certificates destined for -that field.} - -%global golicenses LICENSE -%global godocs README.md - -Name: %{goname} -Release: 1%{?dist} -Summary: Functions for loading root certificates for tls connections - -# Upstream license specification: MPL-2.0 -License: MPLv2.0 -URL: %{gourl} -Source0: %{gosource} - -%description -%{common_description} - -%gopkg - -%prep -%goprep - -%install -%gopkginstall - -%if %{with check} -%check -%gocheck -%endif - -%gopkgfiles - -%changelog -* Fri Apr 19 17:04:55 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.20160503git6bb64b3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.3.20160503git6bb64b3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.2.20160503git6bb64b3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Tue Oct 03 2017 Ed Marshall esm@logic.net - 0-0.1.20160503git6bb64b3 -- First package for Fedora diff --git a/sources b/sources deleted file mode 100644 index 617fb66..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (go-rootcerts-1.0.1.tar.gz) = da55cbe3a9ace70a7e2ccb2d10dead996e6ecca1fc5a533b8609c5b14589742947254a98acfac8711860cdad98be88afc4afe0615b722361b09f21f86ffe5dc1
commit a4f7713625f837ac8829c148cc5173b27eed9407 Author: Robert-Andr Mauchin zebob.m@gmail.com Date: Fri Apr 19 17:13:16 2019 +0200
Release 1.0.1
Signed-off-by: Robert-Andr Mauchin zebob.m@gmail.com
diff --git a/.gitignore b/.gitignore index dad7e6f..b6b898b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ /go-rootcerts-6bb64b3.tar.gz +/go-rootcerts-1.0.0.tar.gz +/go-rootcerts-1.0.1.tar.gz diff --git a/golang-github-hashicorp-go-rootcerts.spec b/golang-github-hashicorp-go-rootcerts.spec deleted file mode 100644 index 2776952..0000000 --- a/golang-github-hashicorp-go-rootcerts.spec +++ /dev/null @@ -1,198 +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-rootcerts -# https://github.com/hashicorp/go-rootcerts -%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit 6bb64b370b90e7ef1fa532be9e591a81c3493e00 -%global commitdate 20160503 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - -Name: golang-%{provider}-%{project}-%{repo} -Version: 0 -Release: 0.4.%{commitdate}git%{shortcommit}%{?dist} -Summary: Functions for loading root certificates for TLS connections -# Detected licences -# - *No copyright* MPL (v2.0) at 'LICENSE' -License: MPLv2.0 -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} -BuildRequires: golang(github.com/mitchellh/go-homedir) -%endif - -Requires: golang(github.com/mitchellh/go-homedir) - -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" -o -wholename "./test-fixtures/*"); 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 - -pushd %{buildroot}/%{gopath}/src/%{import_path} -%gotest %{import_path} -popd -%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.20160503git6bb64b3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.3.20160503git6bb64b3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.2.20160503git6bb64b3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Tue Oct 03 2017 Ed Marshall esm@logic.net - 0-0.1.20160503git6bb64b3 -- First package for Fedora diff --git a/golang-github-hashicorp-rootcerts.spec b/golang-github-hashicorp-rootcerts.spec new file mode 100644 index 0000000..3324123 --- /dev/null +++ b/golang-github-hashicorp-rootcerts.spec @@ -0,0 +1,63 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/hashicorp/go-rootcerts +%global goipath github.com/hashicorp/go-rootcerts +Version: 1.0.0 + +%gometa + +%global common_description %{expand: +Go's standard library crypto/tls provides a common mechanism for configuring TLS +connections in tls.Config. The RootCAs field on this struct is a pool of +certificates for the client to use as a trust store when verifying server +certificates. + +This library contains utility functions for loading certificates destined for +that field.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: Functions for loading root certificates for tls connections + +# Upstream license specification: MPL-2.0 +License: MPLv2.0 +URL: %{gourl} +Source0: %{gosource} + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Fri Apr 19 17:04:55 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.20160503git6bb64b3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.3.20160503git6bb64b3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering releng@fedoraproject.org - 0-0.2.20160503git6bb64b3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Oct 03 2017 Ed Marshall esm@logic.net - 0-0.1.20160503git6bb64b3 +- First package for Fedora diff --git a/sources b/sources index cad9d06..617fb66 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (go-rootcerts-6bb64b3.tar.gz) = 46344ed3a666f78a4adf6a978e940be080f2619a476d025f2805c7e7a663f3fd85d26f5549aa02e3030ff43cc260d0dc3c78a5624d8545e5ab599290c73c0f39 +SHA512 (go-rootcerts-1.0.1.tar.gz) = da55cbe3a9ace70a7e2ccb2d10dead996e6ecca1fc5a533b8609c5b14589742947254a98acfac8711860cdad98be88afc4afe0615b722361b09f21f86ffe5dc1
arch-excludes@lists.fedoraproject.org