Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
List overview
Download
Arch-excludes
June 2019
----- 2024 -----
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
arch-excludes@lists.fedoraproject.org
2 participants
305 discussions
Start a n
N
ew thread
Architecture specific change in rpms/golang-github-glacjay-goini.git
by githook-noreply@fedoraproject.org
14 Jun '19
14 Jun '19
The package rpms/golang-github-glacjay-goini.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-glacjay-goini.git/com…
. Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} Thanks. Full change: ============ commit da8df42bdbb351ffa328ee8cb7b6e937cc7313cc Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Thu May 23 21:49:05 2019 +0200 Bump to commit fd3024d87ee21a36d3ccc4367f509fec89cd90ee Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/.gitignore b/.gitignore index f18adeb..55f14e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /goini-5261baf.tar.gz /goini-907cca0.tar.gz +/goini-fd3024d87ee21a36d3ccc4367f509fec89cd90ee.tar.gz diff --git a/golang-github-glacjay-goini.spec b/golang-github-glacjay-goini.spec index 424e4f8..ef0337d 100644 --- a/golang-github-glacjay-goini.spec +++ b/golang-github-glacjay-goini.spec @@ -1,181 +1,49 @@ -%if 0%{?fedora} || 0%{?rhel} == 6 -%global with_devel 1 -%global with_bundled 0 -%global with_debug 0 -# Dict cannot be stringified as expected. -%global with_check 0 -%global with_unit_test 1 -%else -%global with_devel 0 -%global with_bundled 0 -%global with_debug 0 -%global with_check 0 -%global with_unit_test 0 -%endif - -%if 0%{?with_debug} -%global _dwz_low_mem_die_limit 0 -%else -%global debug_package %{nil} -%endif +# Generated by go2rpm +%bcond_without check -%global provider github -%global provider_tld com -%global project glacjay -%global repo goini #
https://github.com/glacjay/goini
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit 5261baf26f41eeffae5fd27be784302e389b7699 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - -#
github.com/rakyll/goini
has no license. -# But it is forked from
github.com/glacjay/goini
and unchanged. -# Lets provide these source codes as well. -%global rcommit 907cca0f578a5316fb864ec6992dc3d9730ec58c -%global rscommit %(c=%{rcommit}; echo ${c:0:7}) -%global rimport_path %{provider}.%{provider_tld}/rakyll/goini - -Name: golang-%{provider}-%{project}-%{repo} -Version: 0 -Release: 0.13.git%{shortcommit}%{?dist} -Summary: INI file parser in go -License: MIT -URL: https://%{provider_prefix} -Source0: https://%{provider_prefix}/archive/%{rcommit}/%{repo}-%{rscommit}.tar.gz -Source1: 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 %{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} +%global goipath
github.com/glacjay/goini
+%global commit fd3024d87ee21a36d3ccc4367f509fec89cd90ee -%if 0%{?with_devel} -%package devel -Summary: %{summary} -BuildArch: noarch +%gometa -%if 0%{?with_check} -%endif - -Provides: golang(%{import_path}) = %{version}-%{release} -Provides: golang(%{rimport_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 +%global common_description %{expand: +INI file parser in go.} -%if 0%{?with_unit_test} && 0%{?with_devel} -%package unit-test -Summary: Unit tests for %{name} package -# 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} +%global golicenses LICENSE.txt +%global godocs README.md -%if 0%{?with_check} -#Here comes all BuildRequires: PACKAGE the unit tests -#in %%check section need for running -%endif +Name: %{goname} +Version: 0 +Release: 0.14%{?dist} +Summary: INI file parser in go -# test subpackage tests code from devel subpackage -Requires: %{name}-devel = %{version}-%{release} +License: MIT +URL: %{gourl} +Source0: %{gosource} -%description unit-test -%{summary} +%description +%{common_description} -This package contains unit tests for project -providing packages with %{import_path} prefix. -%endif +%gopkg %prep -%setup -q -n %{repo}-%{rcommit} -%setup -q -n %{repo}-%{commit} -T -b 1 - -%build +%goprep %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 -install -d -p %{buildroot}/%{gopath}/src/%{rimport_path}/ -echo "%%dir %%{gopath}/src/%%{rimport_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 - -pushd ../%{repo}-%{rcommit} -for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do - echo "%%dir %%{gopath}/src/%%{rimport_path}/$(dirname $file)" >> ../%{repo}-%{commit}/devel.file-list - install -d -p %{buildroot}/%{gopath}/src/%{rimport_path}/$(dirname $file) - cp -pav $file %{buildroot}/%{gopath}/src/%{rimport_path}/$file - echo "%%{gopath}/src/%%{rimport_path}/$file" >> ../%{repo}-%{commit}/devel.file-list -done -popd -%endif - -# testing files for this project -%if 0%{?with_unit_test} && 0%{?with_devel} -install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ -cp -pav empty.ini %{buildroot}/%{gopath}/src/%{import_path}/. -cp -pav example.ini %{buildroot}/%{gopath}/src/%{import_path}/. -echo "%%{gopath}/src/%%{import_path}/empty.ini" >> unit-test.file-list -echo "%%{gopath}/src/%%{import_path}/example.ini" >> unit-test.file-list -# find all *_test.go files and generate unit-test.file-list -for file in $(find . -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" >> unit-test.file-list -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 -export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath} -%endif - -%if ! 0%{?gotest:1} -%global gotest go test -%endif - -%gotest %{import_path} +%gocheck %endif -#define license tag if not already defined -%{!?_licensedir:%global license %doc} - -%if 0%{?with_devel} -%files devel -f devel.file-list -%license LICENSE.txt -%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} -%dir %{gopath}/src/%{provider}.%{provider_tld}/rakyll -%dir %{gopath}/src/%{rimport_path} -%endif - -%if 0%{?with_unit_test} && 0%{?with_devel} -%files unit-test -f unit-test.file-list -%license LICENSE.txt -%endif +%gopkgfiles %changelog +* Thu May 23 21:42:58 CEST 2019 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.14.20190523gitfd3024d +- Bump to commit fd3024d87ee21a36d3ccc4367f509fec89cd90ee + * Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.13.git5261baf - Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
@@ -217,4 +85,3 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath} * Tue Jan 13 2015 jchaloup <jchaloup(a)redhat.com> - 0-0.1.git5261baf - First package for Fedora resolves: #1177486 - diff --git a/sources b/sources index 32429ec..eeaeb61 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -a108b8b262a377985db2e807f55758d2 goini-5261baf.tar.gz -a2c74d6f7942e16b48d3b68d512917df goini-907cca0.tar.gz +SHA512 (goini-fd3024d87ee21a36d3ccc4367f509fec89cd90ee.tar.gz) = b0ca8b9e0372caf49db72106a833963a3c3ccbd561fe5b38f10d172f2625cb56049a0b6ee4e39fb6f67dfd6b5c60a1261a04db106c257c45a951b13ca9743eef
1
0
0
0
Architecture specific change in rpms/golang-github-vaughan0-go-ini.git
by githook-noreply@fedoraproject.org
14 Jun '19
14 Jun '19
The package rpms/golang-github-vaughan0-go-ini.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-vaughan0-go-ini.git/c…
. Change: -%ifarch 0%{?gccgo_arches} Thanks. Full change: ============ commit e24b62bf11db2947626c4311dd73f1abb8778e17 Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Thu May 23 20:27:40 2019 +0200 Update to new macros Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/.gitignore b/.gitignore index e778c56..967ab32 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /go-ini-a98ad7e.tar.gz +/go-ini-a98ad7ee00ec53921f08832bc06ecf7fd600e6a1.tar.gz diff --git a/golang-github-vaughan0-go-ini.spec b/golang-github-vaughan0-go-ini.spec index 973d3be..ed27d83 100644 --- a/golang-github-vaughan0-go-ini.spec +++ b/golang-github-vaughan0-go-ini.spec @@ -1,174 +1,49 @@ -%if 0%{?fedora} || 0%{?rhel} == 6 -%global with_devel 1 -%global with_bundled 0 -%global with_debug 0 -%global with_check 1 -%global with_unit_test 1 -%else -%global with_devel 0 -%global with_bundled 0 -%global with_debug 0 -%global with_check 0 -%global with_unit_test 0 -%endif - -%if 0%{?with_debug} -%global _dwz_low_mem_die_limit 0 -%else -%global debug_package %{nil} -%endif - -%define copying() \ -%if 0%{?fedora} >= 21 || 0%{?rhel} >= 7 \ -%license %{*} \ -%else \ -%doc %{*} \ -%endif +# Generated by go2rpm +%bcond_without check -%global provider github -%global provider_tld com -%global project vaughan0 -%global repo go-ini #
https://github.com/vaughan0/go-ini
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} +%global goipath
github.com/vaughan0/go-ini
%global commit a98ad7ee00ec53921f08832bc06ecf7fd600e6a1 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - -Name: golang-%{provider}-%{project}-%{repo} -Version: 0 -Release: 0.14.git%{shortcommit}%{?dist} -Summary: INI parsing library for Go -License: BSD -URL: https://%{provider_prefix} -Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz - -# If go_arches not defined fall through to implicit golang archs -%if 0%{?go_arches:1} -ExclusiveArch: %{go_arches} -%else -ExclusiveArch: %{ix86} x86_64 %{arm} -%endif -# If gccgo_arches does not fit or is not defined fall through to golang -%ifarch 0%{?gccgo_arches} -BuildRequires: gcc-go >= %{gccgo_min_vers} -%else -BuildRequires: golang -%endif - -%description -%{summary} -%if 0%{?with_devel} -%package devel -Summary: %{summary} -BuildArch: noarch - -%if 0%{?with_check} -%endif +%gometa -Provides: golang(%{import_path}) = %{version}-%{release} +%global common_description %{expand: +INI parsing library for Go.} -%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 - -%if 0%{?with_unit_test} -%package unit-test -Summary: Unit tests for %{name} package -# If go_arches not defined fall through to implicit golang archs -%if 0%{?go_arches:1} -ExclusiveArch: %{go_arches} -%else -ExclusiveArch: %{ix86} x86_64 %{arm} -%endif -# If gccgo_arches does not fit or is not defined fall through to golang -%ifarch 0%{?gccgo_arches} -BuildRequires: gcc-go >= %{gccgo_min_vers} -%else -BuildRequires: golang -%endif +Name: %{goname} +Version: 0 +Release: 0.15%{?dist} +Summary: INI parsing library for Go -%if 0%{?with_check} -#Here comes all BuildRequires: PACKAGE the unit tests -#in %%check section need for running -%endif +License: MIT +URL: %{gourl} +Source0: %{gosource} -# test subpackage tests code from devel subpackage -Requires: %{name}-devel = %{version}-%{release} +%description +%{common_description} -%description unit-test -%{summary} - -This package contains unit tests for project -providing packages with %{import_path} prefix. -%endif +%gopkg %prep -%setup -q -n %{repo}-%{commit} - -%build +%goprep %install -# source codes for building projects -%if 0%{?with_devel} -install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ -# find all *.go but no *_test.go files and generate devel.file-list -for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do - 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 -%endif - -# testing files for this project -%if 0%{?with_unit_test} -install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ -cp -pav test.ini %{buildroot}/%{gopath}/src/%{import_path}/. -echo "%%{gopath}/src/%%{import_path}/test.ini" >> unit-test.file-list -# find all *_test.go files and generate unit-test.file-list -for file in $(find . -iname "*_test.go"); do - 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" >> unit-test.file-list -done -%endif +%gopkginstall +%if %{with check} %check -%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel} -%ifarch 0%{?gccgo_arches} -function gotest { %{gcc_go_test} "$@"; } -%else -%if 0%{?golang_test:1} -function gotest { %{golang_test} "$@"; } -%else -function gotest { go test "$@"; } -%endif -%endif - -export GOPATH=%{buildroot}/%{gopath}:%{gopath} -gotest %{import_path} +%gocheck %endif -%if 0%{?with_devel} -%files devel -f devel.file-list -%copying LICENSE -%doc README.md -%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} -%dir %{gopath}/src/%{import_path} -%endif - -%if 0%{?with_unit_test} -%files unit-test -f unit-test.file-list -%copying LICENSE -%doc README.md -%endif +%gopkgfiles %changelog +* Thu May 23 20:04:41 CEST 2019 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.15.20190523gita98ad7e +- Update to new macros + * Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.14.gita98ad7e - Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
diff --git a/sources b/sources index 47e613e..0d1989b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1c6a0ce783c5bba2ca069b03b40fb099 go-ini-a98ad7e.tar.gz +SHA512 (go-ini-a98ad7ee00ec53921f08832bc06ecf7fd600e6a1.tar.gz) = 0924660000c36f9f77e488d01ebbfaba04c34c4dd796015d858570920b2f4b40b30fb6cb3392e6e32df2c447da26841b54dffc678325d5e4b02b1d6e7b3ab912
1
0
0
0
Architecture specific change in rpms/golang-github-fortytw2-leaktest.git
by githook-noreply@fedoraproject.org
14 Jun '19
14 Jun '19
The package rpms/golang-github-fortytw2-leaktest.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-fortytw2-leaktest.git…
. Change: -%ifnarch aarch64 Thanks. Full change: ============ commit 78bb525cbfa45337b62097b33bc84403ca52ace3 Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Fri May 17 20:58:11 2019 +0200 Update to new macros Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/.gitignore b/.gitignore index cc0385e..ddb70fb 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /golang-github-fortytw2-leaktest-1.0.0.tar.gz /golang-github-fortytw2-leaktest-1.1.0.tar.gz /golang-github-fortytw2-leaktest-1.3.0.tar.gz +/leaktest-1.3.0.tar.gz diff --git a/golang-github-fortytw2-leaktest.spec b/golang-github-fortytw2-leaktest.spec index 3921355..50f6b9e 100644 --- a/golang-github-fortytw2-leaktest.spec +++ b/golang-github-fortytw2-leaktest.spec @@ -1,163 +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 - +# Generated by go2rpm +%bcond_without check -%global provider github -%global provider_tld com -%global project fortytw2 -%global repo leaktest #
https://github.com/fortytw2/leaktest
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit 9a23578d06a26ec1b47bfc8965bf5e7011df8bd6 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global git_tag v1.3.0 - -Name: golang-%{provider}-%{project}-%{repo} -Version: 1.3.0 -Release: 1%{?dist} -Summary: Goroutine Leak Detector -License: BSD -URL: https://%{provider_prefix} -Source0: https://%{provider_prefix}/archive/%{git_tag}/%{name}-%{version}.tar.gz -# Increase timeout for s390x -Patch0001: increase-timeout.patch - -# 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 -Refactored, tested variant of the goroutine leak detector found in -both net/http tests and the cockroachdb source tree. - -%if 0%{?with_devel} -%package devel -Summary: %{summary} -BuildArch: noarch +%global goipath
github.com/fortytw2/leaktest
+Version: 1.3.0 +%gometa -Provides: golang(%{import_path}) = %{version}-%{release} +%global common_description %{expand: +Goroutine Leak Detector.} -%description devel -Refactored, tested variant of the goroutine leak detector found in -both net/http tests and the cockroachdb source tree. - -This package contains library source intended for -building other packages which use import path with -%{import_path} prefix. -%endif +%global golicenses LICENSE +%global godocs README.md -%if 0%{?with_unit_test} && 0%{?with_devel} -%package unit-test-devel -Summary: Unit tests for %{name} package +Name: %{goname} +Release: 1%{?dist} +Summary: Goroutine Leak Detector -# test subpackage tests code from devel subpackage -Requires: %{name}-devel = %{version}-%{release} +# Upstream license specification: BSD-3-Clause +License: BSD +URL: %{gourl} +Source0: %{gosource} +# Increase timeout for s390x +Patch0: increase-timeout.patch -%description unit-test-devel -Refactored, tested variant of the goroutine leak detector found in -both net/http tests and the cockroachdb source tree. +%description +%{common_description} -This package contains unit tests for project -providing packages with %{import_path} prefix. -%endif +%gopkg %prep -%autosetup -n %{repo}-%{version} -p1 - -%build +%goprep +%patch0 -p1 %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 +%gopkginstall +%if %{with check} %check -%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel} - -export GOPATH=%{buildroot}/%{gopath}:%{gopath} - -%if ! 0%{?gotest:1} -%global gotest go test -%endif - -# Do not run tests for aarch64 due to concurrency errors -%ifnarch aarch64 -%gotest %{import_path} -%endif # arch +%gocheck %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 17 20:45:14 CEST 2019 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 1.3.0-2 +- Update to new macros + * Tue Feb 19 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 1.3.0-1 - Update to latest version - Increase test timeout to work on s390x diff --git a/sources b/sources index cde3386..0eeb31d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (golang-github-fortytw2-leaktest-1.3.0.tar.gz) = de5cc791b7e81a9133d42f8b0f1c21efb7aedbb5b0e6554be3b0ecd6d06a43e1a2c75993caac0e7b1818f3adb0788187b8b56389240953bfe3876eee15a9ea7a +SHA512 (leaktest-1.3.0.tar.gz) = de5cc791b7e81a9133d42f8b0f1c21efb7aedbb5b0e6554be3b0ecd6d06a43e1a2c75993caac0e7b1818f3adb0788187b8b56389240953bfe3876eee15a9ea7a
1
0
0
0
Architecture specific change in rpms/golang-github-streadway-amqp.git
by githook-noreply@fedoraproject.org
14 Jun '19
14 Jun '19
The package rpms/golang-github-streadway-amqp.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-streadway-amqp.git/co…
. Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}} Thanks. Full change: ============ commit c97831636f112163251880412a34d6d638e0eb4a Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Wed May 15 01:09:23 2019 +0200 Bump to commit 75d898a42a940fbc854dfd1a4199eabdc00cf024 Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/.gitignore b/.gitignore index a3b7b85..7d4a103 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /amqp-cefed15.tar.gz +/amqp-75d898a42a940fbc854dfd1a4199eabdc00cf024.tar.gz diff --git a/golang-github-streadway-amqp.spec b/golang-github-streadway-amqp.spec index 24c0906..a35bda5 100644 --- a/golang-github-streadway-amqp.spec +++ b/golang-github-streadway-amqp.spec @@ -1,186 +1,50 @@ -# 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 - +# Generated by go2rpm +%bcond_without check -%global provider github -%global provider_tld com -%global project streadway -%global repo amqp #
https://github.com/streadway/amqp
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit cefed15a0bd808d13947f228770a81b06ebe8e45 -%global commitdate 20170926 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - -Name: golang-%{provider}-%{project}-%{repo} -Version: 0 -Release: 0.4.%{commitdate}git%{shortcommit}%{?dist} -Summary: Go client for AMQP 0.9.1 with RabbitMQ extensions -# Detected licences -# - BSD (2 clause) at 'LICENSE' -License: BSD -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} - - - -%description -%{summary} +%global goipath
github.com/streadway/amqp
+%global commit 75d898a42a940fbc854dfd1a4199eabdc00cf024 -%if 0%{?with_devel} -%package devel -Summary: %{summary} -BuildArch: noarch +%gometa -%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 +%global common_description %{expand: +Package Amqp is an AMQP 0.9.1 client with RabbitMQ extensions.} -# test subpackage tests code from devel subpackage -Requires: %{name}-devel = %{version}-%{release} +%global golicenses LICENSE +%global godocs _examples CONTRIBUTING.md README.md -%if 0%{?with_check} && ! 0%{?with_bundled} -%endif +Name: %{goname} +Version: 0 +Release: 0.1%{?dist} +Summary: Go client for AMQP 0.9.1 +# Upstream license specification: BSD-2-Clause +License: BSD +URL: %{gourl} +Source0: %{gosource} -%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} +%goprep -%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 +%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 CONTRIBUTING.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 CONTRIBUTING.md -%endif +%gopkgfiles %changelog +* Wed May 15 00:55:41 CEST 2019 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.5.20190515git75d898a +- Bump to commit 75d898a42a940fbc854dfd1a4199eabdc00cf024 + * Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.4.20170926gitcefed15 - Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
diff --git a/sources b/sources index 9c0208e..b3da8f7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (amqp-cefed15.tar.gz) = de922491ba6801bd6da666fce6fa489c21d6692dd053930e69491ff0860f79ed1515933ee9f27d53d2202bb82acc00490cd2b7f7cc998619b2ca5a1a22d063cc +SHA512 (amqp-75d898a42a940fbc854dfd1a4199eabdc00cf024.tar.gz) = 3aa334009899e09df79b7fb9c593fb0b1f8669990f16653855366e6055d3c2d3182a4520dc31dd7b3ef5c3e2d442f984aee8c2547940662ff2d98797536ee4d5
1
0
0
0
Architecture specific change in rpms/golang-github-montanaflynn-stats.git
by githook-noreply@fedoraproject.org
14 Jun '19
14 Jun '19
The package rpms/golang-github-montanaflynn-stats.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-montanaflynn-stats.gi…
. Change: -%ifnarch ppc64le s390x i686 Thanks. Full change: ============ commit ec234ce8e9df540bbd81b997abafff9001594233 Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Wed May 15 23:51:52 2019 +0200 Release 0.5.0 Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/.gitignore b/.gitignore index 6692c40..db05b0b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /stats-4a16327.tar.gz +/stats-0.5.0.tar.gz diff --git a/golang-github-montanaflynn-stats.spec b/golang-github-montanaflynn-stats.spec index 5d092ae..efb39cc 100644 --- a/golang-github-montanaflynn-stats.spec +++ b/golang-github-montanaflynn-stats.spec @@ -1,191 +1,52 @@ -# 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 - +# Generated by go2rpm +# There are some precision problems with some architectures +#
https://github.com/montanaflynn/stats/issues/33
+# For now, We are skipping the failing tests +%bcond_with check -%global provider github -%global provider_tld com -%global project montanaflynn -%global repo stats #
https://github.com/montanaflynn/stats
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit 4a163274fa4ca0b524ccee24757d7bec79475aca -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20170729 - -Name: golang-%{provider}-%{project}-%{repo} -# This is a post-release for 0.2.0 -Version: 0.2.0 -Release: 5.%{commitdate}git%{shortcommit}%{?dist} -Summary: Common statistics functions missing in Golang standard library -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} +%global goipath
github.com/montanaflynn/stats
+Version: 0.5.0 +%gometa +%global common_description %{expand: +A well tested and comprehensive Golang statistics library package with no +dependencies.} -%description -%{summary} - -%if 0%{?with_devel} -%package devel -Summary: %{summary} -BuildArch: noarch - -%if 0%{?with_check} && ! 0%{?with_bundled} -%endif - +%global golicenses LICENSE +%global godocs examples CHANGELOG.md README.md -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 +Name: %{goname} +Release: 1%{?dist} +Summary: Well tested and comprehensive Golang statistics library package +License: MIT +URL: %{gourl} +Source0: %{gosource} -%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} +%goprep -%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 -# also excludes the example files, which will be packaged as documentation -for file in $(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go" -not -path "./examples/*") ; 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 - -# There are some precision problems with some architectures -#
https://github.com/montanaflynn/stats/issues/33
-# For now, We are skipping the failing tests for those arches -%ifnarch ppc64le s390x i686 -%gotest %{import_path} -%endif -%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 CHANGELOG.md README.md examples -%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 CHANGELOG.md README.md -%endif +%gopkgfiles %changelog +* Wed May 15 23:36:15 CEST 2019 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0.5.0-1 +- Release 0.5.0 + * Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.0-5.20170729git4a16327 - Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
@@ -200,4 +61,3 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath} * Fri Aug 11 2017 Athos Ribeiro <athoscr(a)fedoraproject.org> - 0.2.0-1.20170729git4a16327 - First package for Fedora - diff --git a/sources b/sources index edb2c2d..7bd0b64 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (stats-4a16327.tar.gz) = 2c826192105659c180d03bc8ba74417149019a1dcf0a16a0d90a8b430bf782c71befdd82252ead72f7b7657591b0439b7e348fab03d833e66a626da781278f1e +SHA512 (stats-0.5.0.tar.gz) = b052c4e3033c4d653bd0e5017b67164251ab64a97dc0404eb71e33b6f04919a2899a022499794417f7e442b1d023f8ae29e03edd5273d0964c108faf80e642b4
1
0
0
0
Architecture specific change in rpms/golang-github-syndtr-gocapability.git
by githook-noreply@fedoraproject.org
14 Jun '19
14 Jun '19
The package rpms/golang-github-syndtr-gocapability.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-syndtr-gocapability.g…
. Change: -%ifarch 0%{?gccgo_arches} Thanks. Full change: ============ commit f814ce78d8b710671a89be9c87bdce45c3069f66 Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Sat May 4 18:16:26 2019 +0200 Bump to commit d98352740cb2c55f81556b63d4a1ec64c5a319c2 Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/.gitignore b/.gitignore index 55c09b4..5b131fd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /gocapability-2c00dae.tar.gz +/gocapability-d98352740cb2c55f81556b63d4a1ec64c5a319c2.tar.gz diff --git a/golang-github-syndtr-gocapability.spec b/golang-github-syndtr-gocapability.spec index b1a503d..aaebd52 100644 --- a/golang-github-syndtr-gocapability.spec +++ b/golang-github-syndtr-gocapability.spec @@ -1,170 +1,49 @@ -%if 0%{?fedora} || 0%{?rhel} >= 6 -%global with_devel 1 -%global with_bundled 0 -%global with_debug 0 -%global with_check 1 -%global with_unit_test 1 -%else -%global with_devel 0 -%global with_bundled 0 -%global with_debug 0 -%global with_check 0 -%global with_unit_test 0 -%endif - -%if 0%{?with_debug} -%global _dwz_low_mem_die_limit 0 -%else -%global debug_package %{nil} -%endif - -%define copying() \ -%if 0%{?fedora} >= 21 || 0%{?rhel} >= 7 \ -%license %{*} \ -%else \ -%doc %{*} \ -%endif +# Generated by go2rpm +%bcond_without check -%global provider github -%global provider_tld com -%global project syndtr -%global repo gocapability #
https://github.com/syndtr/gocapability
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit 2c00daeb6c3b45114c80ac44119e7b8801fdd852 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - -Name: golang-%{provider}-%{project}-%{repo} -Version: 0 -Release: 0.22.git%{shortcommit}%{?dist} -Summary: POSIX capability library for the Go programming language -License: BSD -URL: https://%{provider_prefix} -Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz - -# If go_arches not defined fall through to implicit golang archs -%if 0%{?go_arches:1} -ExclusiveArch: %{go_arches} -%else -ExclusiveArch: %{ix86} x86_64 %{arm} -%endif -# If gccgo_arches does not fit or is not defined fall through to golang -%ifarch 0%{?gccgo_arches} -BuildRequires: gcc-go >= %{gccgo_min_vers} -%else -BuildRequires: golang -%endif - -%description -%{summary} +%global goipath
github.com/syndtr/gocapability
+%global commit d98352740cb2c55f81556b63d4a1ec64c5a319c2 -%if 0%{?with_devel} -%package devel -Summary: %{summary} -BuildArch: noarch - -%if 0%{?with_check} -%endif +%gometa -Provides: golang(%{import_path}/capability) = %{version}-%{release} +%global common_description %{expand: +Utilities for manipulating POSIX capabilities in Go.} -%description devel -%{summary} +%global golicenses LICENSE -This package contains library source intended for -building other packages which use import path with -%{import_path} prefix. -%endif - -%if 0%{?with_unit_test} -%package unit-test -Summary: Unit tests for %{name} package -# If go_arches not defined fall through to implicit golang archs -%if 0%{?go_arches:1} -ExclusiveArch: %{go_arches} -%else -ExclusiveArch: %{ix86} x86_64 %{arm} -%endif -# If gccgo_arches does not fit or is not defined fall through to golang -%ifarch 0%{?gccgo_arches} -BuildRequires: gcc-go >= %{gccgo_min_vers} -%else -BuildRequires: golang -%endif +Name: %{goname} +Version: 0 +Release: 0.23%{?dist} +Summary: Utilities for manipulating POSIX capabilities in Go -%if 0%{?with_check} -#Here comes all BuildRequires: PACKAGE the unit tests -#in %%check section need for running -%endif +# Upstream license specification: BSD-2-Clause +License: BSD +URL: %{gourl} +Source0: %{gosource} -# test subpackage tests code from devel subpackage -Requires: %{name}-devel = %{version}-%{release} +%description +%{common_description} -%description unit-test -%{summary} - -This package contains unit tests for project -providing packages with %{import_path} prefix. -%endif +%gopkg %prep -%setup -q -n %{repo}-%{commit} - -%build +%goprep %install -# source codes for building projects -%if 0%{?with_devel} -install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ -# find all *.go but no *_test.go files and generate devel.file-list -for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do - 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 -%endif - -# testing files for this project -%if 0%{?with_unit_test} -install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ -# find all *_test.go files and generate unit-test.file-list -for file in $(find . -iname "*_test.go"); do - 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" >> unit-test.file-list -done -%endif +%gopkginstall +%if %{with check} %check -%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel} -%ifarch 0%{?gccgo_arches} -function gotest { %{gcc_go_test} "$@"; } -%else -%if 0%{?golang_test:1} -function gotest { %{golang_test} "$@"; } -%else -function gotest { go test "$@"; } -%endif -%endif - -export GOPATH=%{buildroot}/%{gopath}:%{gopath} -gotest %{import_path}/capability +%gocheck %endif -%if 0%{?with_devel} -%files devel -f devel.file-list -%copying LICENSE -%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} -%dir %{gopath}/src/%{import_path} -%endif - -%if 0%{?with_unit_test} -%files unit-test -f unit-test.file-list -%copying LICENSE -%endif +%gopkgfiles %changelog +* Sat May 04 17:47:45 CEST 2019 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.23.20190504gitd983527 +- Bump to commit d98352740cb2c55f81556b63d4a1ec64c5a319c2 + * Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.22.git2c00dae - Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
diff --git a/sources b/sources index 4787e09..c07500f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1735b5cc2b28efae2e595e43bd15828e gocapability-2c00dae.tar.gz +SHA512 (gocapability-d98352740cb2c55f81556b63d4a1ec64c5a319c2.tar.gz) = 692ba4849da1085ce64bcf4044b27ad24337516ded1a5a12fa75aaee4a3adc7878cd79d515960f4e1f251feb35e722b33bb78f20feb7e007e0ea222ae2cdd20a
1
0
0
0
Architecture specific change in rpms/golang-github-samuel-go-zookeeper.git
by githook-noreply@fedoraproject.org
14 Jun '19
14 Jun '19
The package rpms/golang-github-samuel-go-zookeeper.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-samuel-go-zookeeper.g…
. Change: -%ifarch 0%{?gccgo_arches} Thanks. Full change: ============ commit 1506c2997374a9e33e74cb75a91897ff3b9475d4 Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Sun May 5 01:50:57 2019 +0200 Bump to commit c4fab1ac1bec58281ad0667dc3f0907a9476ac47 Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/.gitignore b/.gitignore index 3af6225..00969dc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /go-zookeeper-d0e0d8e.tar.gz +/go-zookeeper-c4fab1ac1bec58281ad0667dc3f0907a9476ac47.tar.gz diff --git a/golang-github-samuel-go-zookeeper.spec b/golang-github-samuel-go-zookeeper.spec deleted file mode 100644 index 4222e17..0000000 --- a/golang-github-samuel-go-zookeeper.spec +++ /dev/null @@ -1,211 +0,0 @@ -%if 0%{?fedora} || 0%{?rhel} == 6 -%global with_devel 1 -%global with_bundled 0 -%global with_debug 0 -# zk depends on
camlistore.org/pkg/throttle
which has more then 10 new packages -%global with_check 0 -%global with_unit_test 1 -%else -%global with_devel 0 -%global with_bundled 0 -%global with_debug 0 -%global with_check 0 -%global with_unit_test 0 -%endif - -%if 0%{?with_debug} -%global _dwz_low_mem_die_limit 0 -%else -%global debug_package %{nil} -%endif - -%define copying() \ -%if 0%{?fedora} >= 21 || 0%{?rhel} >= 7 \ -%license %{*} \ -%else \ -%doc %{*} \ -%endif - -%global provider github -%global provider_tld com -%global project samuel -%global repo go-zookeeper -#
https://github.com/samuel/go-zookeeper
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit d0e0d8e11f318e000a8cc434616d69e329edc374 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - -Name: golang-%{provider}-%{project}-%{repo} -Version: 0 -Release: 0.12.git%{shortcommit}%{?dist} -Summary: Native ZooKeeper client for Go -License: BSD -URL: https://%{provider_prefix} -Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz - -# If go_arches not defined fall through to implicit golang archs -%if 0%{?go_arches:1} -ExclusiveArch: %{go_arches} -%else -ExclusiveArch: %{ix86} x86_64 %{arm} -%endif -# If gccgo_arches does not fit or is not defined fall through to golang -%ifarch 0%{?gccgo_arches} -BuildRequires: gcc-go >= %{gccgo_min_vers} -%else -BuildRequires: golang -%endif - -%description -%{summary} - -%if 0%{?with_devel} -%package devel -Summary: %{summary} -BuildArch: noarch - -%if 0%{?with_check} -#BuildRequires:
golang(camlistore.org/pkg/throttle)
-%endif - -#Requires:
golang(camlistore.org/pkg/throttle)
- -Provides: golang(%{import_path}/zk) = %{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} -%package unit-test -Summary: Unit tests for %{name} package -# If go_arches not defined fall through to implicit golang archs -%if 0%{?go_arches:1} -ExclusiveArch: %{go_arches} -%else -ExclusiveArch: %{ix86} x86_64 %{arm} -%endif -# If gccgo_arches does not fit or is not defined fall through to golang -%ifarch 0%{?gccgo_arches} -BuildRequires: gcc-go >= %{gccgo_min_vers} -%else -BuildRequires: golang -%endif - -%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} - -%description unit-test -%{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}/ -# find all *.go but no *_test.go files and generate devel.file-list -for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do - 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 -%endif - -# testing files for this project -%if 0%{?with_unit_test} -install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ -# find all *_test.go files and generate unit-test.file-list -for file in $(find . -iname "*_test.go"); do - 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" >> unit-test.file-list -done -%endif - -%check -%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel} -%ifarch 0%{?gccgo_arches} -function gotest { %{gcc_go_test} "$@"; } -%else -%if 0%{?golang_test:1} -function gotest { %{golang_test} "$@"; } -%else -function gotest { go test "$@"; } -%endif -%endif - -export GOPATH=%{buildroot}/%{gopath}:%{gopath} -gotest %{import_path}/zk -%endif - -%if 0%{?with_devel} -%files devel -f devel.file-list -%copying LICENSE -%doc README.md -%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} -%dir %{gopath}/src/%{import_path} -%endif - -%if 0%{?with_unit_test} -%files unit-test -f unit-test.file-list -%copying LICENSE -%doc README.md -%endif - -%changelog -* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.12.gitd0e0d8e -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- -* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.11.gitd0e0d8e -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- -* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.10.gitd0e0d8e -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- -* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.9.gitd0e0d8e -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
- -* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.8.gitd0e0d8e -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
- -* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.7.gitd0e0d8e -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
- -* Thu Jul 21 2016 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0-0.6.gitd0e0d8e --
https://fedoraproject.org/wiki/Changes/golang1.7
- -* Mon Feb 22 2016 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0-0.5.gitd0e0d8e --
https://fedoraproject.org/wiki/Changes/golang1.6
- -* Wed Feb 03 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.4.gitd0e0d8e -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
- -* Tue Aug 11 2015 Fridolin Pokorny <fpokorny(a)redhat.com> - 0-0.3.gitd0e0d8e -- Remove unused
camlistore.org/pkg/throttle
dependency - -* Mon Aug 10 2015 Fridolin Pokorny <fpokorny(a)redhat.com> - 0-0.2.gitd0e0d8e -- Update spec file to spec-2.0 - resolves: #1250504 - -* Thu Apr 16 2015 jchaloup <jchaloup(a)redhat.com> - 0-0.1.gitd0e0d8e -- First package for Fedora - resolves: #1212653 - diff --git a/golang-github-samuel-zookeeper.spec b/golang-github-samuel-zookeeper.spec new file mode 100644 index 0000000..3dd1575 --- /dev/null +++ b/golang-github-samuel-zookeeper.spec @@ -0,0 +1,85 @@ +# Generated by go2rpm +#Needs network +%bcond_with check + +#
https://github.com/samuel/go-zookeeper
+%global goipath
github.com/samuel/go-zookeeper
+%global commit c4fab1ac1bec58281ad0667dc3f0907a9476ac47 + +%gometa + +%global common_description %{expand: +Native Go Zookeeper Client Library.} + +%global golicenses LICENSE +%global godocs examples README.md + +Name: %{goname} +Version: 0 +Release: 0.13%{?dist} +Summary: Native ZooKeeper client for Go + +# Upstream license specification: BSD-3-Clause +License: BSD +URL: %{gourl} +Source0: %{gosource} + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Sun May 05 01:29:42 CEST 2019 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.13.20190505gitc4fab1a +- Bump to commit c4fab1ac1bec58281ad0667dc3f0907a9476ac47 + +* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.12.gitd0e0d8e +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+ +* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.11.gitd0e0d8e +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+ +* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.10.gitd0e0d8e +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+ +* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.9.gitd0e0d8e +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+ +* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.8.gitd0e0d8e +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+ +* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.7.gitd0e0d8e +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+ +* Thu Jul 21 2016 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0-0.6.gitd0e0d8e +-
https://fedoraproject.org/wiki/Changes/golang1.7
+ +* Mon Feb 22 2016 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0-0.5.gitd0e0d8e +-
https://fedoraproject.org/wiki/Changes/golang1.6
+ +* Wed Feb 03 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.4.gitd0e0d8e +- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+ +* Tue Aug 11 2015 Fridolin Pokorny <fpokorny(a)redhat.com> - 0-0.3.gitd0e0d8e +- Remove unused
camlistore.org/pkg/throttle
dependency + +* Mon Aug 10 2015 Fridolin Pokorny <fpokorny(a)redhat.com> - 0-0.2.gitd0e0d8e +- Update spec file to spec-2.0 + resolves: #1250504 + +* Thu Apr 16 2015 jchaloup <jchaloup(a)redhat.com> - 0-0.1.gitd0e0d8e +- First package for Fedora + resolves: #1212653 diff --git a/sources b/sources index dc5e71a..c0da992 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5f57c6ac9fab4df48687735e9427bd65 go-zookeeper-d0e0d8e.tar.gz +SHA512 (go-zookeeper-c4fab1ac1bec58281ad0667dc3f0907a9476ac47.tar.gz) = 3dab581a699336979b7be6b9792a877eee9e9fe39157b0774e38831735e1148b522617d246c7c1d146cb8c6dd3faba20cb72b94e9bd85e532f11d20f97e755d9
1
0
0
0
Architecture specific change in rpms/golang-github-justinas-alice.git
by githook-noreply@fedoraproject.org
14 Jun '19
14 Jun '19
The package rpms/golang-github-justinas-alice.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-justinas-alice.git/co…
. Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}} Thanks. Full change: ============ commit e2f99ea6930dbcaf8814efb0d8704bd279a94dd2 Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Tue May 7 18:05:00 2019 +0200 Update to new macros Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/alice-03f45bd4b7dad4734bc4620e46a35789349abb20.tar.gz b/alice-03f45bd4b7dad4734bc4620e46a35789349abb20.tar.gz new file mode 100644 index 0000000..cccb057 Binary files /dev/null and b/alice-03f45bd4b7dad4734bc4620e46a35789349abb20.tar.gz differ diff --git a/golang-github-justinas-alice.spec b/golang-github-justinas-alice.spec index f5564f0..e3eb9d5 100644 --- a/golang-github-justinas-alice.spec +++ b/golang-github-justinas-alice.spec @@ -1,184 +1,50 @@ -# 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 0 -# Generate unit-test rpm -%global with_unit_test 0 - -%if 0%{?with_debug} -%global _dwz_low_mem_die_limit 0 -%else -%global debug_package %{nil} -%endif - +# Generated by go2rpm +%bcond_without check -%global provider github -%global provider_tld com -%global project justinas -%global repo alice #
https://github.com/justinas/alice
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} +%global goipath
github.com/justinas/alice
%global commit 03f45bd4b7dad4734bc4620e46a35789349abb20 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20171023 - -Name: golang-%{provider}-%{project}-%{repo} -Version: 0 -Release: 0.3.%{commitdate}git%{shortcommit}%{?dist} -Summary: Painless middleware chaining 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} +%gometa +%global common_description %{expand: +Alice provides a convenient way to chain your HTTP middleware functions and the +app handler.} +%global golicenses LICENSE +%global godocs README.md -%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} -%endif +Name: %{goname} +Version: 0 +Release: 0.4%{?dist} +Summary: Painless middleware chaining for Go +License: MIT +URL: %{gourl} +Source0: %{gosource} -%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} +%goprep -%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 +%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 +* Tue May 07 17:51:26 CEST 2019 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.4.20171023git03f45bd +- Update to new macros + * Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.20171023git03f45bd - Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
@@ -187,4 +53,3 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath} * Tue Feb 13 2018 Kaushal <kshlmster(a)gmail.com> - 0-0.1.20171023git03f45bd - First package for Fedora -
1
0
0
0
Architecture specific change in rpms/golang-github-vishvananda-netns.git
by githook-noreply@fedoraproject.org
14 Jun '19
14 Jun '19
The package rpms/golang-github-vishvananda-netns.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-vishvananda-netns.git…
. Change: -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} Thanks. Full change: ============ commit 771b681116f4c1c0e9317989c09994842fb0e0ce Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Sat May 4 18:06:15 2019 +0200 Bump to commit 13995c7128ccc8e51e9a6bd2b551020a27180abd Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/.gitignore b/.gitignore index 73f0104..5ec408f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /netns-54f0e43.tar.gz +/netns-13995c7128ccc8e51e9a6bd2b551020a27180abd.tar.gz diff --git a/golang-github-vishvananda-netns.spec b/golang-github-vishvananda-netns.spec index 91855a0..30f353e 100644 --- a/golang-github-vishvananda-netns.spec +++ b/golang-github-vishvananda-netns.spec @@ -1,176 +1,53 @@ -# 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 -# test fails because: netns_linux.go: New creates a new network namespace and returns a handle to it. -%global with_check 0 -# 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 +# Generated by go2rpm +# Needs superuser permissions +%bcond_with check -%global provider github -%global provider_tld com -%global project vishvananda -%global repo netns #
https://github.com/vishvananda/netns
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} -%global import_path %{provider_prefix} -%global commit 54f0e4339ce73702a0607f49922aaa1e749b418d -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - -Name: golang-%{provider}-%{project}-%{repo} -Version: 0 -Release: 0.17.git%{shortcommit}%{?dist} -Summary: Simple network namespace handling for go -License: ASL 2.0 -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 %{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} +%global goipath
github.com/vishvananda/netns
+%global commit 13995c7128ccc8e51e9a6bd2b551020a27180abd -%description -%{summary} - -%if 0%{?with_devel} -%package devel -Summary: %{summary} -BuildArch: noarch - -%if 0%{?with_check} && ! 0%{?with_bundled} -%endif +%gometa -Provides: golang(%{import_path}) = %{version}-%{release} +%global common_description %{expand: +The netns package provides an ultra-simple interface for handling network +namespaces in Go. Changing namespaces requires elevated privileges, so in most +cases this code needs to be run as root.} -%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 - -%if 0%{?with_unit_test} -%package unit-test -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 +Name: %{goname} +Version: 0 +Release: 0.18%{?dist} +Summary: Simple network namespace handling for Go -# test subpackage tests code from devel subpackage -Requires: %{name}-devel = %{version}-%{release} +# Upstream license specification: Apache-2.0 +License: ASL 2.0 +URL: %{gourl} +Source0: %{gosource} -%description unit-test -%{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 +%goprep %install -%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" \! -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} -%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} +%gocheck %endif -%if 0%{?with_unit_test} -%files unit-test -f unit-test-devel.file-list -%license LICENSE -%doc README.md -%endif +%gopkgfiles %changelog +* Sat May 04 17:52:12 CEST 2019 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0-0.18.20190504git13995c7 +- Bump to commit 13995c7128ccc8e51e9a6bd2b551020a27180abd + * Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.17.git54f0e43 - Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
diff --git a/sources b/sources index ccc19cf..a9e8d3a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (netns-54f0e43.tar.gz) = be5282c0b3e3b02bea2d4a62375499d3e38fd6d51f8d82cd87c7ec985cf64eac7bc0ab2dcd09682aac959437655c2b4979893e4fbe6290435311ca2e2db4f5af +SHA512 (netns-13995c7128ccc8e51e9a6bd2b551020a27180abd.tar.gz) = 82f70298ed3a458dd44f4d30d9e3a8d4033bdab55dfa7a56ea2557e743d5ea5a5bea254a48cccbef14bc35ebc031d894fd3a7f3a0eaa7a0e1036499ea836a3b6
1
0
0
0
Architecture specific change in rpms/golang-github-google-gofuzz.git
by githook-noreply@fedoraproject.org
14 Jun '19
14 Jun '19
The package rpms/golang-github-google-gofuzz.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-google-gofuzz.git/com…
. Change: -%ifnarch ppc64le %{arm} %{s390x} Thanks. Full change: ============ commit e56a21af09362e8613b81e2fa195dcd650a6f8ff Author: Robert-Andr Mauchin <zebob.m(a)gmail.com> Date: Tue Apr 30 23:31:30 2019 +0200 Release 1.0.0 Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com> diff --git a/.gitignore b/.gitignore index 34c675d..e24f738 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /gofuzz-44d81051d367757e1c7c6a5a86423ece9afcf63c.tar.gz +/gofuzz-1.0.0.tar.gz diff --git a/golang-github-google-gofuzz.spec b/golang-github-google-gofuzz.spec index 6d4a522..eb898be 100644 --- a/golang-github-google-gofuzz.spec +++ b/golang-github-google-gofuzz.spec @@ -1,63 +1,71 @@ -#
http://github.com/google/gofuzz
+# Generated by go2rpm +%bcond_without check +#
https://github.com/google/gofuzz
%global goipath
github.com/google/gofuzz
-%global commit 44d81051d367757e1c7c6a5a86423ece9afcf63c +Version: 1.0.0 +%gometa -%gometa -i +%global common_description %{expand: +Gofuzz is a library for populating Go objects with random values.} + +%global golicenses LICENSE +%global godocs CONTRIBUTING.md README.md + +%global gosupfiles glide.lock glide.yaml Name: %{goname} -Version: 0 -Release: 0.24%{?dist} -Summary: Library for populating go objects with random values +Release: 1%{?dist} +Summary: Fuzz testing for Go + +# Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} Source1: glide.yaml -Source2: glide.yaml +Source2: glide.lock %description -%{summary} - -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel -%{summary} +%{common_description} -This package contains library source intended for -building other packages which use import path with -%{goipath} prefix. +%gopkg %prep -%forgesetup -cp %{SOURCE1} %{SOURCE2} . -%install -%goinstall glide.lock glide.yaml +%goprep +cp %{S:1} %{S:2} . +%install +%gopkginstall + +# Remove in F33 +# Remove erroneous glide.lock folder +%pretrans devel -p <lua> +path = "%{gopath}/src/%{goipath}/glide.lock" +st = posix.stat(path) +if st and st.type == "directory" then + os.remove(path) +end + +%if %{with check} %check -%ifnarch ppc64le %{arm} %{s390x} -%gochecks +%gocheck %endif -#define license tag if not already defined -%{!?_licensedir:%global license %doc} - -%files devel -f devel.file-list -%license LICENSE -%doc README.md CONTRIBUTING.md +%gopkgfiles %changelog -* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - Forge-specific packaging variables +* Tue Apr 30 23:20:34 CEST 2019 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 1.0.0-1 +- Release 1.0.0 + +* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.24.git44d8105 - Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-* Tue Oct 23 2018 Nicolas Mailhot <nim(a)fedoraproject.org> -- 0-0.23 +* Tue Oct 23 2018 Nicolas Mailhot <nim(a)fedoraproject.org> - 0-0.23.git44d8105 - redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as its just an alias -
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org…
-* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - Forge-specific packaging variables +* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.22.git44d8105 - Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Jun 11 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.21.git44d8105 diff --git a/sources b/sources index 84b9ef3..393f771 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gofuzz-44d81051d367757e1c7c6a5a86423ece9afcf63c.tar.gz) = 312a5a60e11c3dffe9099a033a4f2349d6caae14139e9b6b25429a42bf3f88dde08dd81c2443f2a7ec44505c990d50e059002e0d81fa105bd68c2a221bacb557 +SHA512 (gofuzz-1.0.0.tar.gz) = 826cd0d22d8cfa724e4b16e052fe732f52c81ded6168b22eed1839fed2b12d020b98ff3518f8620bba3659cb404fae342875c16386f4ecdf48286e5b99b46a95
1
0
0
0
← Newer
1
...
15
16
17
18
19
20
21
...
31
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Results per page:
10
25
50
100
200