Architecture specific change in rpms/golang-github-bmizerany-pat.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-bmizerany-pat.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-bmizerany-pat.git/c....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit e58c8c5453802c507664ff758ae8929b69c6933d
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 09:49:32 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-bmizerany-pat.spec b/golang-github-bmizerany-pat.spec
index cfb5762..add4aef 100644
--- a/golang-github-bmizerany-pat.spec
+++ b/golang-github-bmizerany-pat.spec
@@ -1,160 +1,57 @@
-%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
-
-%global provider github
-%global provider_tld com
-%global project bmizerany
-%global repo pat
# https://github.com/bmizerany/pat
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/bmizerany/pat
+%global gobaseipath %{provider_prefix}
%global commit b8a35001b773c267eb260a691f4e5499a3531600
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20140626
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.11.git%{shortcommit}%{?dist}
+Release: 0.12.%{commitdate}git%{shortcommit}%{?dist}
Summary: A Sinatra style pattern muxer for Go's net/http library
License: BSD
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
Patch0: add-license.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 %{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}
BuildRequires: golang(github.com/bmizerany/assert)
-%endif
-
-Requires: golang(github.com/bmizerany/assert)
-
-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
-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}
-
-%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
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%gosetup
%patch0 -p1
-%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" \! -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
-%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.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
+%goinstall
%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}
-%endif
+%gochecks
#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 -f unit-test.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.12.20140626gitb8a3500
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.11.gitb8a3500
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 3 months
Architecture specific change in rpms/golang-github-bmizerany-assert.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-bmizerany-assert.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-bmizerany-assert.gi....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 42435ead5df37047316fc2aa5834064fea545ffb
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 09:44:13 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-bmizerany-assert.spec b/golang-github-bmizerany-assert.spec
index 9b2e833..e4a8bc1 100644
--- a/golang-github-bmizerany-assert.spec
+++ b/golang-github-bmizerany-assert.spec
@@ -1,160 +1,57 @@
-%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
-
-%global provider github
-%global provider_tld com
-%global project bmizerany
-%global repo assert
# https://github.com/bmizerany/assert
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/bmizerany/assert
+%global gobaseipath %{provider_prefix}
%global commit e17e99893cb6509f428e1728281c2ad60a6b31e3
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20120716
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.11.git%{shortcommit}%{?dist}
+Release: 0.12.%{commitdate}git%{shortcommit}%{?dist}
Summary: Assertions for Go tests
License: MIT
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
Patch0: add-license.path
-# 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}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
BuildRequires: golang(github.com/kr/pretty)
-%endif
-
-Requires: golang(github.com/kr/pretty)
-
-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
-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}
-
-%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
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%gosetup
%patch0 -p1
-%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" \! -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
-%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.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
+%goinstall
%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}
-%endif
+%gochecks
#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 -f unit-test.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.12.20120716gite17e998
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.11.gite17e998
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 3 months
Architecture specific change in rpms/golang-github-blang-semver.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-blang-semver.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-blang-semver.git/co....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit c0db5da42b0b8abbd72fab1b9a051c44f8fd6f27
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 09:41:20 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-blang-semver.spec b/golang-github-blang-semver.spec
index 61e434a..42d6ead 100644
--- a/golang-github-blang-semver.spec
+++ b/golang-github-blang-semver.spec
@@ -1,184 +1,55 @@
-# 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 blang
-%global repo semver
# https://github.com/blang/semver
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/blang/semver
+%global gobaseipath %{provider_prefix}
%global commit 60ec3488bfea7cca02b021d106d9911120d25fe9
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20160701
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 3.3.0
-Release: 0.5.git%{shortcommit}%{?dist}
+Release: 0.6.%{commitdate}git%{shortcommit}%{?dist}
Summary: Semantic Versioning library written in golang
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE'
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}
-
-
+URL: %{gourl}
+Source0: %{gosource}
%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
-
-
-%description unit-test-devel
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%gosetup
-%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
+%goinstall
%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
+%gochecks
#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
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 3.3.0-0.6.20160701git60ec348
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 3.3.0-0.5.git60ec348
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 3 months
Architecture specific change in rpms/golang-github-beorn7-perks.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-beorn7-perks.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-beorn7-perks.git/co....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit a4c02307754901f0a30f06fc7582fe5187a166c0
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 09:31:24 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-beorn7-perks.spec b/golang-github-beorn7-perks.spec
index f31971d..ce9e7bd 100644
--- a/golang-github-beorn7-perks.spec
+++ b/golang-github-beorn7-perks.spec
@@ -1,175 +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
-%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 beorn7
-%global repo perks
# https://github.com/beorn7/perks
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/beorn7/perks
+%global gobaseipath %{provider_prefix}
%global commit 4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20160804
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.13.git%{shortcommit}%{?dist}
+Release: 0.14.%{commitdate}git%{shortcommit}%{?dist}
Summary: Effective Computation of Things
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}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-
-Provides: golang(%{import_path}/histogram) = %{version}-%{release}
-Provides: golang(%{import_path}/quantile) = %{version}-%{release}
-Provides: golang(%{import_path}/topk) = %{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
-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}
-
-%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
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%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" \! -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
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test} && 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/quantile
-echo "%%dir %%{gopath}/src/%%{import_path}/./quantile" >> devel.file-list
-cp -pav quantile/exampledata.txt %{buildroot}/%{gopath}/src/%{import_path}/quantile/.
-echo "%%{gopath}/src/%%{import_path}/quantile/exampledata.txt" >> 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
+%goinstall quantile/exampledata.txt
%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}/histogram
-%gotest %{import_path}/quantile
-%gotest %{import_path}/topk
-%endif
+%gochecks %{gobaseipath}/histogram
#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 -f unit-test.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.14.20160804git4c0e845
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.13.git4c0e845
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 3 months
Architecture specific change in rpms/golang-github-bgentry-speakeasy.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-bgentry-speakeasy.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-bgentry-speakeasy.g....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 08a7f14b8ce75634a6cd7db1e965fd385cd6c8f5
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 09:34:40 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-bgentry-speakeasy.spec b/golang-github-bgentry-speakeasy.spec
index 0b9a3f4..2d0253f 100644
--- a/golang-github-bgentry-speakeasy.spec
+++ b/golang-github-bgentry-speakeasy.spec
@@ -1,166 +1,54 @@
-# 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
-# No tests available atm
-%global with_unit_test 0
-
-%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 bgentry
-%global repo speakeasy
# https://github.com/bgentry/speakeasy
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/bgentry/speakeasy
+%global gobaseipath %{provider_prefix}
%global commit 4aabc24848ce5fd31929f7d1e4ea74d3709c14cd
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20170417
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.12.git%{shortcommit}%{?dist}
+Release: 0.13.%{commitdate}git%{shortcommit}%{?dist}
Summary: Golang helpers for reading password input without cgo
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 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}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-%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
-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}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%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 unit-test.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 $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} && 0%{?with_devel}
-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
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test.file-list
-done
-%endif
-
+%goinstall
mv LICENSE_WINDOWS LICENSE
-%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
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%endif
+$gochecks
#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 -f unit-test.file-list
-%license LICENSE
-%doc Readme.md
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.13.20170417git4aabc24
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.12.git4aabc24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 3 months
Architecture specific change in rpms/golang-github-aws-aws-sdk-go.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-aws-aws-sdk-go.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-aws-aws-sdk-go.git/....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 45b8610abc7acc3c6f2205eb64ef68ca32161236
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 09:30:44 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-aws-aws-sdk-go.spec b/golang-github-aws-aws-sdk-go.spec
index 4aaf48c..518caeb 100644
--- a/golang-github-aws-aws-sdk-go.spec
+++ b/golang-github-aws-aws-sdk-go.spec
@@ -1,578 +1,62 @@
-# 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
-# it takes too much time
-%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 provided_packages aws private service
-%global provider github
-%global provider_tld com
-%global project aws
-%global repo aws-sdk-go
# https://github.com/aws/aws-sdk-go
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/aws/aws-sdk-go
+%global gobaseipath %{provider_prefix}
%global commit 50762c1efc55dd2a05eac85fc170b0f65aeec28f
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20170628
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 1.4.22
-Release: 0.6.git%{shortcommit}%{?dist}
+Release: 0.7.%{commitdate}git%{shortcommit}%{?dist}
Summary: AWS SDK for the Go programming language
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 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}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
BuildRequires: golang(github.com/go-ini/ini)
BuildRequires: golang(github.com/gucumber/gucumber)
BuildRequires: golang(github.com/jmespath/go-jmespath)
BuildRequires: golang(github.com/stretchr/testify/assert)
BuildRequires: golang(golang.org/x/net/html)
BuildRequires: golang(golang.org/x/tools/go/loader)
-%endif
-
-Requires: golang(github.com/go-ini/ini)
-Requires: golang(github.com/gucumber/gucumber)
-Requires: golang(github.com/jmespath/go-jmespath)
-Requires: golang(github.com/stretchr/testify/assert)
-Requires: golang(golang.org/x/net/html)
-Requires: golang(golang.org/x/tools/go/loader)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/aws) = %{version}-%{release}
-Provides: golang(%{import_path}/aws/awserr) = %{version}-%{release}
-Provides: golang(%{import_path}/aws/awsutil) = %{version}-%{release}
-Provides: golang(%{import_path}/aws/client) = %{version}-%{release}
-Provides: golang(%{import_path}/aws/client/metadata) = %{version}-%{release}
-Provides: golang(%{import_path}/aws/corehandlers) = %{version}-%{release}
-Provides: golang(%{import_path}/aws/credentials) = %{version}-%{release}
-Provides: golang(%{import_path}/aws/credentials/ec2rolecreds) = %{version}-%{release}
-Provides: golang(%{import_path}/aws/credentials/endpointcreds) = %{version}-%{release}
-Provides: golang(%{import_path}/aws/credentials/plugincreds) = %{version}-%{release}
-Provides: golang(%{import_path}/aws/credentials/stscreds) = %{version}-%{release}
-Provides: golang(%{import_path}/aws/defaults) = %{version}-%{release}
-Provides: golang(%{import_path}/aws/ec2metadata) = %{version}-%{release}
-Provides: golang(%{import_path}/aws/endpoints) = %{version}-%{release}
-Provides: golang(%{import_path}/aws/request) = %{version}-%{release}
-Provides: golang(%{import_path}/aws/session) = %{version}-%{release}
-Provides: golang(%{import_path}/aws/signer/v4) = %{version}-%{release}
-Provides: golang(%{import_path}/awsmigrate/awsmigrate-renamer/rename) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/customizations/s3) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/customizations/s3/s3crypto) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/customizations/s3/s3manager) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/acm) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/apigateway) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/applicationdiscoveryservice) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/autoscaling) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/cloudformation) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/cloudfront) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/cloudhsm) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/cloudsearch) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/cloudtrail) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/cloudwatch) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/cloudwatchlogs) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/codecommit) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/codedeploy) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/codepipeline) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/cognitoidentity) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/cognitosync) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/configservice) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/datapipeline) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/devicefarm) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/directconnect) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/directoryservice) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/dynamodb) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/dynamodbstreams) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/ec2) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/ecs) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/efs) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/elasticache) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/elasticbeanstalk) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/elasticloadbalancing) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/elastictranscoder) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/emr) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/es) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/glacier) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/iam) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/iotdataplane) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/kinesis) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/kms) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/lambda) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/machinelearning) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/opsworks) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/rds) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/redshift) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/route53) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/route53domains) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/ses) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/simpledb) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/sns) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/sqs) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/ssm) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/storagegateway) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/sts) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/support) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/swf) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/waf) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/integration/smoke/workspaces) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/mock) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/performance) = %{version}-%{release}
-Provides: golang(%{import_path}/awstesting/unit) = %{version}-%{release}
-Provides: golang(%{import_path}/example/service/dynamodb/unitTest) = %{version}-%{release}
-Provides: golang(%{import_path}/models/endpoints) = %{version}-%{release}
-Provides: golang(%{import_path}/private/model/api) = %{version}-%{release}
-Provides: golang(%{import_path}/private/protocol) = %{version}-%{release}
-Provides: golang(%{import_path}/private/protocol/ec2query) = %{version}-%{release}
-Provides: golang(%{import_path}/private/protocol/json/jsonutil) = %{version}-%{release}
-Provides: golang(%{import_path}/private/protocol/jsonrpc) = %{version}-%{release}
-Provides: golang(%{import_path}/private/protocol/query) = %{version}-%{release}
-Provides: golang(%{import_path}/private/protocol/query/queryutil) = %{version}-%{release}
-Provides: golang(%{import_path}/private/protocol/rest) = %{version}-%{release}
-Provides: golang(%{import_path}/private/protocol/restjson) = %{version}-%{release}
-Provides: golang(%{import_path}/private/protocol/restxml) = %{version}-%{release}
-Provides: golang(%{import_path}/private/protocol/xml/xmlutil) = %{version}-%{release}
-Provides: golang(%{import_path}/private/signer/v2) = %{version}-%{release}
-Provides: golang(%{import_path}/private/util) = %{version}-%{release}
-Provides: golang(%{import_path}/service) = %{version}-%{release}
-Provides: golang(%{import_path}/service/acm) = %{version}-%{release}
-Provides: golang(%{import_path}/service/acm/acmiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/apigateway) = %{version}-%{release}
-Provides: golang(%{import_path}/service/apigateway/apigatewayiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/applicationautoscaling) = %{version}-%{release}
-Provides: golang(%{import_path}/service/applicationautoscaling/applicationautoscalingiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/applicationdiscoveryservice) = %{version}-%{release}
-Provides: golang(%{import_path}/service/applicationdiscoveryservice/applicationdiscoveryserviceiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/appstream) = %{version}-%{release}
-Provides: golang(%{import_path}/service/appstream/appstreamiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/athena) = %{version}-%{release}
-Provides: golang(%{import_path}/service/athena/athenaiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/autoscaling) = %{version}-%{release}
-Provides: golang(%{import_path}/service/autoscaling/autoscalingiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/batch) = %{version}-%{release}
-Provides: golang(%{import_path}/service/batch/batchiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/budgets) = %{version}-%{release}
-Provides: golang(%{import_path}/service/budgets/budgetsiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/clouddirectory) = %{version}-%{release}
-Provides: golang(%{import_path}/service/clouddirectory/clouddirectoryiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudformation) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudformation/cloudformationiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudfront) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudfront/cloudfrontiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudfront/sign) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudhsm) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudhsm/cloudhsmiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudsearch) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudsearch/cloudsearchiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudsearchdomain) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudsearchdomain/cloudsearchdomainiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudtrail) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudtrail/cloudtrailiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudwatch) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudwatch/cloudwatchiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudwatchevents) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudwatchevents/cloudwatcheventsiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudwatchlogs) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cloudwatchlogs/cloudwatchlogsiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/codebuild) = %{version}-%{release}
-Provides: golang(%{import_path}/service/codebuild/codebuildiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/codecommit) = %{version}-%{release}
-Provides: golang(%{import_path}/service/codecommit/codecommitiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/codedeploy) = %{version}-%{release}
-Provides: golang(%{import_path}/service/codedeploy/codedeployiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/codepipeline) = %{version}-%{release}
-Provides: golang(%{import_path}/service/codepipeline/codepipelineiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/codestar) = %{version}-%{release}
-Provides: golang(%{import_path}/service/codestar/codestariface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cognitoidentity) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cognitoidentity/cognitoidentityiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cognitoidentityprovider) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cognitoidentityprovider/cognitoidentityprovideriface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cognitosync) = %{version}-%{release}
-Provides: golang(%{import_path}/service/cognitosync/cognitosynciface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/configservice) = %{version}-%{release}
-Provides: golang(%{import_path}/service/configservice/configserviceiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/costandusagereportservice) = %{version}-%{release}
-Provides: golang(%{import_path}/service/costandusagereportservice/costandusagereportserviceiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/databasemigrationservice) = %{version}-%{release}
-Provides: golang(%{import_path}/service/databasemigrationservice/databasemigrationserviceiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/datapipeline) = %{version}-%{release}
-Provides: golang(%{import_path}/service/datapipeline/datapipelineiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/dax) = %{version}-%{release}
-Provides: golang(%{import_path}/service/dax/daxiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/devicefarm) = %{version}-%{release}
-Provides: golang(%{import_path}/service/devicefarm/devicefarmiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/directconnect) = %{version}-%{release}
-Provides: golang(%{import_path}/service/directconnect/directconnectiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/directoryservice) = %{version}-%{release}
-Provides: golang(%{import_path}/service/directoryservice/directoryserviceiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/dynamodb) = %{version}-%{release}
-Provides: golang(%{import_path}/service/dynamodb/dynamodbattribute) = %{version}-%{release}
-Provides: golang(%{import_path}/service/dynamodb/dynamodbiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/dynamodbstreams) = %{version}-%{release}
-Provides: golang(%{import_path}/service/dynamodbstreams/dynamodbstreamsiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/ec2) = %{version}-%{release}
-Provides: golang(%{import_path}/service/ec2/ec2iface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/ecr) = %{version}-%{release}
-Provides: golang(%{import_path}/service/ecr/ecriface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/ecs) = %{version}-%{release}
-Provides: golang(%{import_path}/service/ecs/ecsiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/efs) = %{version}-%{release}
-Provides: golang(%{import_path}/service/efs/efsiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/elasticache) = %{version}-%{release}
-Provides: golang(%{import_path}/service/elasticache/elasticacheiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/elasticbeanstalk) = %{version}-%{release}
-Provides: golang(%{import_path}/service/elasticbeanstalk/elasticbeanstalkiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/elasticsearchservice) = %{version}-%{release}
-Provides: golang(%{import_path}/service/elasticsearchservice/elasticsearchserviceiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/elastictranscoder) = %{version}-%{release}
-Provides: golang(%{import_path}/service/elastictranscoder/elastictranscoderiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/elb) = %{version}-%{release}
-Provides: golang(%{import_path}/service/elb/elbiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/elbv2) = %{version}-%{release}
-Provides: golang(%{import_path}/service/elbv2/elbv2iface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/emr) = %{version}-%{release}
-Provides: golang(%{import_path}/service/emr/emriface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/firehose) = %{version}-%{release}
-Provides: golang(%{import_path}/service/firehose/firehoseiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/gamelift) = %{version}-%{release}
-Provides: golang(%{import_path}/service/gamelift/gameliftiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/glacier) = %{version}-%{release}
-Provides: golang(%{import_path}/service/glacier/glacieriface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/greengrass) = %{version}-%{release}
-Provides: golang(%{import_path}/service/greengrass/greengrassiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/health) = %{version}-%{release}
-Provides: golang(%{import_path}/service/health/healthiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/iam) = %{version}-%{release}
-Provides: golang(%{import_path}/service/iam/iamiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/inspector) = %{version}-%{release}
-Provides: golang(%{import_path}/service/inspector/inspectoriface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/iot) = %{version}-%{release}
-Provides: golang(%{import_path}/service/iot/iotiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/iotdataplane) = %{version}-%{release}
-Provides: golang(%{import_path}/service/iotdataplane/iotdataplaneiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/kinesis) = %{version}-%{release}
-Provides: golang(%{import_path}/service/kinesis/kinesisiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/kinesisanalytics) = %{version}-%{release}
-Provides: golang(%{import_path}/service/kinesisanalytics/kinesisanalyticsiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/kms) = %{version}-%{release}
-Provides: golang(%{import_path}/service/kms/kmsiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/lambda) = %{version}-%{release}
-Provides: golang(%{import_path}/service/lambda/lambdaiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/lexmodelbuildingservice) = %{version}-%{release}
-Provides: golang(%{import_path}/service/lexmodelbuildingservice/lexmodelbuildingserviceiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/lexruntimeservice) = %{version}-%{release}
-Provides: golang(%{import_path}/service/lexruntimeservice/lexruntimeserviceiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/lightsail) = %{version}-%{release}
-Provides: golang(%{import_path}/service/lightsail/lightsailiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/machinelearning) = %{version}-%{release}
-Provides: golang(%{import_path}/service/machinelearning/machinelearningiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/marketplacecommerceanalytics) = %{version}-%{release}
-Provides: golang(%{import_path}/service/marketplacecommerceanalytics/marketplacecommerceanalyticsiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/marketplaceentitlementservice) = %{version}-%{release}
-Provides: golang(%{import_path}/service/marketplaceentitlementservice/marketplaceentitlementserviceiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/marketplacemetering) = %{version}-%{release}
-Provides: golang(%{import_path}/service/marketplacemetering/marketplacemeteringiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/mobileanalytics) = %{version}-%{release}
-Provides: golang(%{import_path}/service/mobileanalytics/mobileanalyticsiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/mturk) = %{version}-%{release}
-Provides: golang(%{import_path}/service/mturk/mturkiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/opsworks) = %{version}-%{release}
-Provides: golang(%{import_path}/service/opsworks/opsworksiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/opsworkscm) = %{version}-%{release}
-Provides: golang(%{import_path}/service/opsworkscm/opsworkscmiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/organizations) = %{version}-%{release}
-Provides: golang(%{import_path}/service/organizations/organizationsiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/pinpoint) = %{version}-%{release}
-Provides: golang(%{import_path}/service/pinpoint/pinpointiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/polly) = %{version}-%{release}
-Provides: golang(%{import_path}/service/polly/pollyiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/rds) = %{version}-%{release}
-Provides: golang(%{import_path}/service/rds/rdsiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/rds/rdsutils) = %{version}-%{release}
-Provides: golang(%{import_path}/service/redshift) = %{version}-%{release}
-Provides: golang(%{import_path}/service/redshift/redshiftiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/rekognition) = %{version}-%{release}
-Provides: golang(%{import_path}/service/rekognition/rekognitioniface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/resourcegroupstaggingapi) = %{version}-%{release}
-Provides: golang(%{import_path}/service/resourcegroupstaggingapi/resourcegroupstaggingapiiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/route53) = %{version}-%{release}
-Provides: golang(%{import_path}/service/route53/route53iface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/route53domains) = %{version}-%{release}
-Provides: golang(%{import_path}/service/route53domains/route53domainsiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/s3) = %{version}-%{release}
-Provides: golang(%{import_path}/service/s3/s3crypto) = %{version}-%{release}
-Provides: golang(%{import_path}/service/s3/s3iface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/s3/s3manager) = %{version}-%{release}
-Provides: golang(%{import_path}/service/s3/s3manager/s3manageriface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/servicecatalog) = %{version}-%{release}
-Provides: golang(%{import_path}/service/servicecatalog/servicecatalogiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/ses) = %{version}-%{release}
-Provides: golang(%{import_path}/service/ses/sesiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/sfn) = %{version}-%{release}
-Provides: golang(%{import_path}/service/sfn/sfniface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/shield) = %{version}-%{release}
-Provides: golang(%{import_path}/service/shield/shieldiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/simpledb) = %{version}-%{release}
-Provides: golang(%{import_path}/service/simpledb/simpledbiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/sms) = %{version}-%{release}
-Provides: golang(%{import_path}/service/sms/smsiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/snowball) = %{version}-%{release}
-Provides: golang(%{import_path}/service/snowball/snowballiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/sns) = %{version}-%{release}
-Provides: golang(%{import_path}/service/sns/snsiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/sqs) = %{version}-%{release}
-Provides: golang(%{import_path}/service/sqs/sqsiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/ssm) = %{version}-%{release}
-Provides: golang(%{import_path}/service/ssm/ssmiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/storagegateway) = %{version}-%{release}
-Provides: golang(%{import_path}/service/storagegateway/storagegatewayiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/sts) = %{version}-%{release}
-Provides: golang(%{import_path}/service/sts/stsiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/support) = %{version}-%{release}
-Provides: golang(%{import_path}/service/support/supportiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/swf) = %{version}-%{release}
-Provides: golang(%{import_path}/service/swf/swfiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/waf) = %{version}-%{release}
-Provides: golang(%{import_path}/service/waf/wafiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/wafregional) = %{version}-%{release}
-Provides: golang(%{import_path}/service/wafregional/wafregionaliface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/workdocs) = %{version}-%{release}
-Provides: golang(%{import_path}/service/workdocs/workdocsiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/workspaces) = %{version}-%{release}
-Provides: golang(%{import_path}/service/workspaces/workspacesiface) = %{version}-%{release}
-Provides: golang(%{import_path}/service/xray) = %{version}-%{release}
-Provides: golang(%{import_path}/service/xray/xrayiface) = %{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
-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}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%install
-%if !0%{?with_bundled}
-pushd vendor
-mkdir -p src
-mv $(ls | grep -v "src") src/.
-popd
-%endif
-
-# 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" \! -iname "*_test.go" | grep -v "./vendor") ; 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
-%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.file-list
-for file in $(find . -iname "*_test.go" | grep -v "./vendor"); 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
-for file in $(find . -iname "*.json" | grep -v "./vendor"); 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
-for file in ./aws/credentials/example.ini; 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
+%goinstall $(find . -iname "testdata" -type d) aws/credentials/example.ini
%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)/vendor:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}/aws
-%gotest %{import_path}/aws/awsutil
-%gotest %{import_path}/aws/client
-%gotest %{import_path}/aws/corehandlers
-%gotest %{import_path}/aws/credentials
-%gotest %{import_path}/aws/credentials/ec2rolecreds
-%gotest %{import_path}/aws/credentials/endpointcreds
-%gotest %{import_path}/aws/credentials/plugincreds
-%gotest %{import_path}/aws/credentials/stscreds
-%gotest %{import_path}/aws/defaults
-%gotest %{import_path}/aws/ec2metadata
-%gotest %{import_path}/aws/endpoints
-%gotest %{import_path}/aws/request
-#%gotest %{import_path}/aws/session
-%gotest %{import_path}/aws/signer/v4
-%gotest %{import_path}/awstesting
-%gotest %{import_path}/awstesting/integration/customizations/s3
-%gotest %{import_path}/awstesting/integration/customizations/s3/s3manager
-%gotest %{import_path}/internal/shareddefaults
-%gotest %{import_path}/private/model/api
-%gotest %{import_path}/private/protocol
-%gotest %{import_path}/private/protocol/ec2query
-%gotest %{import_path}/private/protocol/json/jsonutil
-%gotest %{import_path}/private/protocol/jsonrpc
-%gotest %{import_path}/private/protocol/query
-%gotest %{import_path}/private/protocol/rest
-%gotest %{import_path}/private/protocol/restjson
-%gotest %{import_path}/private/protocol/restxml
-%gotest %{import_path}/private/protocol/xml/xmlutil
-%gotest %{import_path}/private/signer/v2
-%gotest %{import_path}/service/applicationautoscaling
-%gotest %{import_path}/service/autoscaling
-%gotest %{import_path}/service/batch
-%gotest %{import_path}/service/cloudfront
-%gotest %{import_path}/service/cloudfront/sign
-%gotest %{import_path}/service/cloudsearchdomain
-%gotest %{import_path}/service/cognitoidentity
-%gotest %{import_path}/service/databasemigrationservice
-%gotest %{import_path}/service/devicefarm
-%gotest %{import_path}/service/dynamodb
-%gotest %{import_path}/service/dynamodb/dynamodbattribute
-%gotest %{import_path}/service/dynamodbstreams
-%gotest %{import_path}/service/ec2
-%gotest %{import_path}/service/ecr
-%gotest %{import_path}/service/ecs
-%gotest %{import_path}/service/efs
-%gotest %{import_path}/service/elasticache
-%gotest %{import_path}/service/elasticbeanstalk
-%gotest %{import_path}/service/elb
-%gotest %{import_path}/service/elbv2
-%gotest %{import_path}/service/glacier
-%gotest %{import_path}/service/iam
-%gotest %{import_path}/service/inspector
-%gotest %{import_path}/service/iotdataplane
-%gotest %{import_path}/service/kinesis
-%gotest %{import_path}/service/kms
-%gotest %{import_path}/service/lambda
-%gotest %{import_path}/service/lexmodelbuildingservice
-%gotest %{import_path}/service/machinelearning
-%gotest %{import_path}/service/organizations
-%gotest %{import_path}/service/polly
-%gotest %{import_path}/service/rds
-%gotest %{import_path}/service/rds/rdsutils
-%gotest %{import_path}/service/rekognition
-%gotest %{import_path}/service/route53
-%gotest %{import_path}/service/s3
-%gotest %{import_path}/service/s3/s3crypto
-%gotest %{import_path}/service/s3/s3manager
-%gotest %{import_path}/service/ses
-%gotest %{import_path}/service/simpledb
-%gotest %{import_path}/service/snowball
-%gotest %{import_path}/service/sqs
-%gotest %{import_path}/service/storagegateway
-%gotest %{import_path}/service/sts
-%gotest %{import_path}/service/waf
-%gotest %{import_path}/service/wafregional
-%endif
+%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE.txt
%doc README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test -f unit-test.file-list
-%license LICENSE.txt
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1.4.22-0.7.20170628git50762c1
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.4.22-0.6.git50762c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 3 months
Architecture specific change in rpms/golang-github-Azure-azure-sdk-for-go.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-Azure-azure-sdk-for-go.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-Azure-azure-sdk-for....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 3f7cf312de563143faa9037a1e7d97453e6beb06
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 09:19:26 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-Azure-azure-sdk-for-go.spec b/golang-github-Azure-azure-sdk-for-go.spec
index 7b23475..eaa8b80 100644
--- a/golang-github-Azure-azure-sdk-for-go.spec
+++ b/golang-github-Azure-azure-sdk-for-go.spec
@@ -1,161 +1,57 @@
-%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 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%endif
-
-%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 Azure
-%global repo azure-sdk-for-go
# https://github.com/Azure/azure-sdk-for-go
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/Azure/azure-sdk-for-go
+%global gobaseipath %{provider_prefix}
%global commit 97d9593768bbbbd316f9c055dfc5f780933cd7fc
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150612
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 1.2
-Release: 0.9.git%{shortcommit}%{?dist}
+Release: 0.10.%{commitdate}git%{shortcommit}%{?dist}
Summary: Microsoft Azure SDK 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}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
BuildRequires: golang(gopkg.in/check.v1)
-%endif
-
-Requires: golang(gopkg.in/check.v1)
-
-Provides: golang(%{import_path}/storage) = %{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
-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}
-
-%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
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%install
# source codes for building projects
-%if 0%{?with_devel}
rm -rf $(ls -d */ | grep -v "storage")
-
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-done
-%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.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
+%goinstall
%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
-
-# needs login credentials
-#%%gotest %%{import_path}/storage
-%endif
+%gochecks %{gobaseipath}/storage
#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 -f unit-test.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1.2-0.10.20150612git97d9593
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2-0.9.git97d9593
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 3 months
Architecture specific change in rpms/golang-github-armon-go-radix.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-armon-go-radix.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-armon-go-radix.git/....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 7e56c5bbfeeb2d1d377ab563c16b3688af27a84c
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 08:56:56 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-armon-go-radix.spec b/golang-github-armon-go-radix.spec
index 68be1a8..af05d15 100644
--- a/golang-github-armon-go-radix.spec
+++ b/golang-github-armon-go-radix.spec
@@ -1,155 +1,53 @@
-%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
-
-%global provider github
-%global provider_tld com
-%global project armon
-%global repo go-radix
# https://github.com/armon/go-radix
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/armon/go-radix
+%global gobaseipath %{provider_prefix}
%global commit fbd82e84e2b13651f3abc5ffd26b65ba71bc8f93
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150603
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.11.git%{shortcommit}%{?dist}
+Release: 0.12.%{commitdate}git%{shortcommit}%{?dist}
Summary: Golang implementation of Radix trees
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 %{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}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-%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
-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}
-
-%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
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%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" \! -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
-%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.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
+%goinstall
%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}
-%endif
+%gochecks
#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 -f unit-test.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.12.20150603gitfbd82e8
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.11.gitfbd82e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 3 months
Architecture specific change in rpms/skyviewer.git
by githook-noreply@fedoraproject.org
The package rpms/skyviewer.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/skyviewer.git/commit/?id=e969f9c9....
Change:
+ExcludeArch: %{arm}
Thanks.
Full change:
============
commit e969f9c95d46796d635a4b81f998d8b7477b3143
Author: Christian Dersch <lupinix(a)mailbox.org>
Date: Sat Feb 24 12:09:33 2018 +0100
ExcludeArch: %{arm} (#1548678)
diff --git a/skyviewer.spec b/skyviewer.spec
index 4298291..0b16667 100644
--- a/skyviewer.spec
+++ b/skyviewer.spec
@@ -16,6 +16,9 @@ BuildRequires: libQGLViewer-devel
BuildRequires: qt4-devel
BuildRequires: mesa-libGLU-devel
+# FTBFS on ARM, RHBZ #1548678
+ExcludeArch: %{arm}
+
%description
SkyViewer is an OpenGL based program to display HEALPix-based skymaps,
saved in FITS format files. The loaded skymaps can be viewed either on a 3D
@@ -72,6 +75,7 @@ desktop-file-install --vendor='' %{SOURCE1} \
%changelog
* Fri Feb 23 2018 Christian Dersch <lupinix(a)mailbox.org> - 1.0.1-14
- rebuilt for cfitsio 3.420 (so version bump)
+- exclude ARM builds for now as builds are failing since last mass rebuild (#1548678)
* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit f9a02b4292675434354e35cc5939472201458440
Author: Christian Dersch <lupinix(a)mailbox.org>
Date: Fri Feb 23 20:36:11 2018 +0100
rebuilt for cfitsio 3.420 (so version bump)
diff --git a/skyviewer.spec b/skyviewer.spec
index 0d675a9..4298291 100644
--- a/skyviewer.spec
+++ b/skyviewer.spec
@@ -1,6 +1,6 @@
Name: skyviewer
Version: 1.0.1
-Release: 13%{?dist}
+Release: 14%{?dist}
Summary: Program to display HEALPix-based skymaps in FITS files
License: Public Domain
@@ -70,6 +70,9 @@ desktop-file-install --vendor='' %{SOURCE1} \
%changelog
+* Fri Feb 23 2018 Christian Dersch <lupinix(a)mailbox.org> - 1.0.1-14
+- rebuilt for cfitsio 3.420 (so version bump)
+
* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 3 months
Architecture specific change in rpms/glusterfs.git
by githook-noreply@fedoraproject.org
The package rpms/glusterfs.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/glusterfs.git/commit/?id=06620abb....
Change:
+%ifarch s390 s390x %{arm}
Thanks.
Full change:
============
commit 06620abb6ea10bd86972d5305340115d8f258a04
Author: Kaleb S. KEITHLEY <kkeithle(a)redhat.com>
Date: Tue Feb 27 08:58:41 2018 -0500
4.0.0 RC1
Signed-off-by: Kaleb S. KEITHLEY <kkeithle(a)redhat.com>
diff --git a/glusterfs.spec b/glusterfs.spec
index 471c082..f204578 100644
--- a/glusterfs.spec
+++ b/glusterfs.spec
@@ -1,51 +1,58 @@
%global _hardened_build 1
+%if ( 0%{?fedora} && 0%{?fedora} > 27 )
+%undefine _strict_symbol_defs_build
+%endif
+
%global _for_fedora_koji_builds 1
# uncomment and add '%' to use the prereltag for pre-releases
-# %%global prereltag rc1
+%global prereltag rc1
##-----------------------------------------------------------------------------
## All argument definitions should be placed here and keep them sorted
##
-# if you wish to compile an rpm with debugging...
-# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --with debug
-%{?_with_debug:%global _with_debug --enable-debug}
-
-# if you wish to compile an rpm to run all processes under valgrind...
-# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --with valgrind
-%{?_with_valgrind:%global _with_valgrind --enable-valgrind}
+# bd
+# if you wish to compile an rpm without the BD map support...
+# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without bd
+%{?_without_bd:%global _without_bd --disable-bd-xlator}
-# if you wish to compile an rpm with IPv6 default...
-# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --with ipv6default
-%{?_with_ipv6default:%global _with_ipv6default --with-ipv6default}
+%if ( 0%{?rhel} && 0%{?rhel} < 6 || 0%{?sles_version} )
+%global _without_bd --disable-bd-xlator
+%endif
+# cmocka
# if you wish to compile an rpm with cmocka unit testing...
# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --with cmocka
%{?_with_cmocka:%global _with_cmocka --enable-cmocka}
-# if you wish to compile an rpm without rdma support, compile like this...
-# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without rdma
-%{?_without_rdma:%global _without_rdma --disable-ibverbs}
-
-# No RDMA Support on s390(x)
-%ifarch s390 s390x %{arm}
-%global _without_rdma --disable-ibverbs
-%endif
+# debug
+# if you wish to compile an rpm with debugging...
+# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --with debug
+%{?_with_debug:%global _with_debug --enable-debug}
+# epoll
# if you wish to compile an rpm without epoll...
# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without epoll
%{?_without_epoll:%global _without_epoll --disable-epoll}
+# fusermount
# if you wish to compile an rpm without fusermount...
# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without fusermount
%{?_without_fusermount:%global _without_fusermount --disable-fusermount}
+# geo-rep
# if you wish to compile an rpm without geo-replication support, compile like this...
# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without georeplication
%{?_without_georeplication:%global _without_georeplication --disable-georeplication}
+# Disable geo-replication on EL5, as its default Python is too old
+%if ( 0%{?rhel} && 0%{?rhel} < 6 )
+%global _without_georeplication --disable-georeplication
+%endif
+
+# gnfs
# if you wish to compile an rpm with the legacy gNFS server xlator
# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --with gnfs
%{?_with_gnfs:%global _with_gnfs --enable-gnfs}
@@ -54,15 +61,48 @@
%global _with_gnfs --enable-gnfs
%endif
-# Disable geo-replication on EL5, as its default Python is too old
-%if ( 0%{?rhel} && 0%{?rhel} < 6 )
-%global _without_georeplication --disable-georeplication
+# ipv6default
+# if you wish to compile an rpm with IPv6 default...
+# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --with ipv6default
+%{?_with_ipv6default:%global _with_ipv6default --with-ipv6default}
+
+# libtirpc
+# if you wish to compile an rpm without TIRPC (i.e. use legacy glibc rpc)
+# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without libtirpc
+%{?_without_libtirpc:%global _without_libtirpc --without-libtirpc}
+
+# Do not use libtirpc on EL6, it does not have xdr_uint64_t() and xdr_uint32_t
+# Do not use libtirpc on EL7, it does not have xdr_sizeof()
+%if ( 0%{?rhel} && 0%{?rhel} <= 7 )
+%global _without_libtirpc --without-libtirpc
%endif
+# ocf
# if you wish to compile an rpm without the OCF resource agents...
# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without ocf
%{?_without_ocf:%global _without_ocf --without-ocf}
+#rdma
+# if you wish to compile an rpm without rdma support, compile like this...
+# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without rdma
+%{?_without_rdma:%global _without_rdma --disable-ibverbs}
+
+# No RDMA Support on s390(x)
+%ifarch s390 s390x %{arm}
+%global _without_rdma --disable-ibverbs
+%endif
+
+# server
+# if you wish to build rpms without server components, compile like this
+# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without server
+%{?_without_server:%global _without_server --without-server}
+
+# disable server components forcefully as rhel <= 6
+%if ( 0%{?rhel} && 0%{?rhel} <= 6 )
+%global _without_server --without-server
+%endif
+
+# syslog
# if you wish to build rpms without syslog logging, compile like this
# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without syslog
%{?_without_syslog:%global _without_syslog --disable-syslog}
@@ -71,40 +111,34 @@
# Fedora deprecated syslog, see
# https://fedoraproject.org/wiki/Changes/NoDefaultSyslog
# (And what about RHEL7?)
-%if ( 0%{?fedora} && 0%{?fedora} >= 20 ) || ( 0%{?rhel} && 0%{?rhel} < 7 )
+%if ( ( 0%{?fedora} && 0%{?fedora} >= 20 ) || ( 0%{?rhel} && 0%{?rhel} < 7 ) )
%global _without_syslog --disable-syslog
%endif
-# if you wish to compile an rpm without the BD map support...
-# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without bd
-%{?_without_bd:%global _without_bd --disable-bd-xlator}
-
-%if ( 0%{?rhel} && 0%{?rhel} < 6 || 0%{?sles_version} )
-%global _without_bd --disable-bd-xlator
-%endif
-
+# tier
# Disable data-tiering on EL5, sqlite is too old
%if ( 0%{?rhel} && 0%{?rhel} < 6 )
%global _without_tiering --disable-tiering
%endif
-%if ( 0%{?fedora} && 0%{?fedora} > 27 )
-%global _with_libtirpc --with-libtirpc
-%endif
+# valgrind
+# if you wish to compile an rpm to run all processes under valgrind...
+# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --with valgrind
+%{?_with_valgrind:%global _with_valgrind --enable-valgrind}
##-----------------------------------------------------------------------------
## All %%global definitions should be placed here and keep them sorted
##
-%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} > 6 )
+%if ( 0%{?fedora} || ( 0%{?rhel} && 0%{?rhel} > 6 ) )
%global _with_systemd true
%endif
-%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} > 6 )
+%if ( 0%{?fedora} || ( 0%{?rhel} && 0%{?rhel} > 6 ) )
%global _with_firewalld --enable-firewalld
%endif
-%if 0%{?_tmpfilesdir:1}
+%if ( 0%{?_tmpfilesdir:1} )
%global _with_tmpfilesdir --with-tmpfilesdir=%{_tmpfilesdir}
%else
%global _with_tmpfilesdir --without-tmpfilesdir
@@ -115,6 +149,14 @@
%global _without_events --disable-events
%endif
+# without server should also disable some server-only components
+%if ( 0%{?_without_server:1} )
+%global _without_events --disable-events
+%global _without_georeplication --disable-georeplication
+%global _with_gnfs %{nil}
+%global _without_tiering --disable-tiering
+%endif
+
# From https://fedoraproject.org/wiki/Packaging:Python#Macros
%if ( 0%{?rhel} && 0%{?rhel} < 7 )
%{!?python2_sitelib: %global python2_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
@@ -183,17 +225,17 @@
Summary: Distributed File System
%if ( 0%{_for_fedora_koji_builds} )
Name: glusterfs
-Version: 3.13.2
-Release: %{?prereltag:0.}2%{?prereltag:.%{prereltag}}%{?dist}
+Version: 4.0.0
+Release: %{?prereltag:0.}1%{?prereltag:.%{prereltag}}%{?dist}
%else
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
-Release: 0.@PACKAGE_RELEASE(a)%{?dist}.6
+Release: 0.@PACKAGE_RELEASE(a)%{?dist}.5
%endif
License: GPLv2 or LGPLv3+
URL: http://docs.gluster.org/
%if ( 0%{_for_fedora_koji_builds} )
-Source0: http://bits.gluster.org/pub/gluster/%{name}/src/%{name}-%{version}%{?prer...
+Source0: http://download.gluster.org/pub/gluster/%{name}/qa-releases/%{version}%{?...
Source1: glusterd.sysconfig
Source2: glusterfsd.sysconfig
Source6: rhel5-load-fuse-modules
@@ -202,8 +244,8 @@ Source8: glusterfsd.init
%else
Source0: @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz
%endif
-Patch0: 0001-libtirpc.patch
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Requires(pre): shadow-utils
%if ( 0%{?rhel} && 0%{?rhel} < 6 )
@@ -226,7 +268,7 @@ BuildRequires: python2-devel
%if ( 0%{?rhel} && 0%{?rhel} <= 7 )
BuildRequires: python-ctypes
%endif
-%if ( 0%{?fedora} && 0%{?fedora} > 27 ) || ( 0%{?_with_ipv6default:1} )
+%if ( 0%{?_with_ipv6default:1} || 0%{!?_without_libtirpc:1} )
BuildRequires: libtirpc-devel
%endif
%if ( 0%{?fedora} && 0%{?fedora} > 27 )
@@ -254,7 +296,7 @@ BuildRequires: lvm2-devel
BuildRequires: libattr-devel
%endif
-%if (0%{?_with_firewalld:1})
+%if ( 0%{?_with_firewalld:1} )
BuildRequires: firewalld
%endif
@@ -315,6 +357,7 @@ is in user space and easily manageable.
This package provides the api include files.
+%if ( 0%{!?_without_server:1} )
%package cli
Summary: GlusterFS CLI
Requires: %{name}-libs = %{version}-%{release}
@@ -329,6 +372,7 @@ called Translators from GNU Hurd kernel. Much of the code in GlusterFS
is in user space and easily manageable.
This package provides the GlusterFS CLI application and its man page
+%endif
%package client-xlators
Summary: GlusterFS client-side translators
@@ -370,10 +414,8 @@ Requires: python2 python-prettytable
Requires: python2-gluster = %{version}-%{release}
%if ( 0%{?rhel} )
Requires: python-requests
-Requires: python-jwt
%else
Requires: python2-requests
-Requires: python2-jwt
%endif
%if ( 0%{?rhel} && 0%{?rhel} < 7 )
Requires: python-argparse
@@ -595,6 +637,7 @@ Open Cluster Framework (OCF) compliant cluster resource managers,
like Pacemaker.
%endif
+%if ( 0%{!?_without_server:1} )
%package server
Summary: Distributed file-system server
Requires: %{name} = %{version}-%{release}
@@ -602,9 +645,6 @@ Requires: %{name}-libs = %{version}-%{release}
Requires: %{name}-cli = %{version}-%{release}
# some daemons (like quota) use a fuse-mount, glusterfsd is part of -fuse
Requires: %{name}-fuse = %{version}-%{release}
-%if ( 0%{?_with_ipv6default:1} )
-Requires: libtirpc
-%endif
# self-heal daemon, rebalance, nfs-server etc. are actually clients
Requires: %{name}-api = %{version}-%{release}
Requires: %{name}-client-xlators = %{version}-%{release}
@@ -657,11 +697,11 @@ called Translators from GNU Hurd kernel. Much of the code in GlusterFS
is in user space and easily manageable.
This package provides the glusterfs server daemon.
+%endif
%prep
%setup -q -n %{name}-%{version}%{?prereltag}
-%patch0 -p1
%build
%if ( 0%{?rhel} && 0%{?rhel} < 6 )
@@ -685,9 +725,10 @@ sed -i -e 's/--quiet//' configure.ac
%{?_without_ocf} \
%{?_without_rdma} \
%{?_without_syslog} \
+ %{?_without_server} \
%{?_without_tiering} \
%{?_with_ipv6default} \
- %{?_with_libtirpc}
+ %{?_without_libtirpc}
# fix hardening and remove rpath in shlibs
%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} > 6 )
@@ -713,9 +754,11 @@ install -D -p -m 0644 %{SOURCE1} \
install -D -p -m 0644 %{SOURCE2} \
%{buildroot}%{_sysconfdir}/sysconfig/glusterfsd
%else
+%if ( 0%{!?_without_server:1} )
install -D -p -m 0644 extras/glusterd-sysconfig \
%{buildroot}%{_sysconfdir}/sysconfig/glusterd
%endif
+%endif
%if ( 0%{_for_fedora_koji_builds} )
%if ( 0%{?rhel} && 0%{?rhel} < 6 )
@@ -762,12 +805,14 @@ rm -f %{buildroot}%{_defaultdocdir}/%{name}/glusterfs-mode.el
rm -f %{buildroot}%{_defaultdocdir}/%{name}/glusterfs.vim
%endif
+%if ( 0%{!?_without_server:1} )
# Create working directory
mkdir -p %{buildroot}%{_sharedstatedir}/glusterd
# Update configuration file to /var/lib working directory
sed -i 's|option working-directory /etc/glusterd|option working-directory %{_sharedstatedir}/glusterd|g' \
%{buildroot}%{_sysconfdir}/glusterfs/glusterd.vol
+%endif
# Install glusterfsd .service or init.d file
%if ( 0%{_for_fedora_koji_builds} )
@@ -785,6 +830,7 @@ install -D -p -m 0644 extras/glusterfs-georep-logrotate \
%{buildroot}%{_sysconfdir}/logrotate.d/glusterfs-georep
%endif
+%if ( 0%{!?_without_server:1} )
# the rest of the ghosts
touch %{buildroot}%{_sharedstatedir}/glusterd/glusterd.info
touch %{buildroot}%{_sharedstatedir}/glusterd/options
@@ -803,19 +849,26 @@ mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/snaps
mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/ss_brick
touch %{buildroot}%{_sharedstatedir}/glusterd/nfs/nfs-server.vol
touch %{buildroot}%{_sharedstatedir}/glusterd/nfs/run/nfs.pid
+%endif
%if ( ! 0%{_for_fedora_koji_builds} )
find ./tests ./run-tests.sh -type f | cpio -pd %{buildroot}%{_prefix}/share/glusterfs
%endif
+%if ( 0%{!?_without_server:1} )
## Install bash completion for cli
install -p -m 0755 -D extras/command-completion/gluster.bash \
%{buildroot}%{_sysconfdir}/bash_completion.d/gluster
+%endif
+
+%clean
+rm -rf %{buildroot}
##-----------------------------------------------------------------------------
## All %%post should be placed here and keep them sorted
##
%post
+/sbin/ldconfig
%if ( 0%{!?_without_syslog:1} )
%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 )
%systemd_postun_with_restart rsyslog
@@ -823,6 +876,8 @@ install -p -m 0755 -D extras/command-completion/gluster.bash \
%endif
exit 0
+%post api -p /sbin/ldconfig
+
%if ( 0%{!?_without_events:1} )
%post events
%systemd_post glustereventsd
@@ -843,6 +898,11 @@ fi
exit 0
%endif
+%post libs
+/sbin/ldconfig
+exit 0
+
+%if ( 0%{!?_without_server:1} )
%post server
# Legacy server
%systemd_post glusterd
@@ -885,6 +945,7 @@ fi
# BZ 834847
if [ -e /etc/ld.so.conf.d/glusterfs.conf ]; then
rm -f /etc/ld.so.conf.d/glusterfs.conf
+ /sbin/ldconfig
fi
%if (0%{?_with_firewalld:1})
@@ -913,6 +974,7 @@ else
rm -f %{_rundir}/glusterd.socket
fi
exit 0
+%endif
##-----------------------------------------------------------------------------
## All %%pre should be placed here and keep them sorted
@@ -936,6 +998,7 @@ fi
exit 0
%endif
+%if ( 0%{!?_without_server:1} )
%preun server
if [ $1 -eq 0 ]; then
if [ -f %glusterfsd_svcfile ]; then
@@ -954,11 +1017,13 @@ if [ $1 -ge 1 ]; then
%systemd_postun_with_restart glusterd
fi
exit 0
+%endif
##-----------------------------------------------------------------------------
## All %%postun should be placed here and keep them sorted
##
%postun
+/sbin/ldconfig
%if ( 0%{!?_without_syslog:1} )
%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 )
%systemd_postun_with_restart rsyslog
@@ -966,11 +1031,22 @@ exit 0
%endif
exit 0
+%postun api
+/sbin/ldconfig
+exit 0
+
+%postun libs
+/sbin/ldconfig
+exit 0
+
+%if ( 0%{!?_without_server:1} )
%postun server
+/sbin/ldconfig
%if (0%{?_with_firewalld:1})
%firewalld_reload
%endif
exit 0
+%endif
##-----------------------------------------------------------------------------
## All %%files should be placed here and keep them sorted by groups
@@ -979,16 +1055,20 @@ exit 0
%{!?_licensedir:%global license %%doc}
%license COPYING-GPLV2 COPYING-LGPLV3
%doc ChangeLog INSTALL README.md THANKS
+%if ( 0%{!?_without_server:1} )
%{_mandir}/man8/*gluster*.8*
+%endif
%exclude %{_mandir}/man8/gluster.8*
%dir %{_localstatedir}/log/glusterfs
%if ( 0%{!?_without_rdma:1} )
%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/rpc-transport/rdma*
%endif
+%if ( 0%{!?_without_server:1} )
%dir %{_datadir}/glusterfs
%dir %{_datadir}/glusterfs/scripts
%{_datadir}/glusterfs/scripts/post-upgrade-script-for-quota.sh
%{_datadir}/glusterfs/scripts/pre-upgrade-script-for-quota.sh
+%endif
# xlators that are needed on the client- and on the server-side
%dir %{_libdir}/glusterfs
%dir %{_libdir}/glusterfs/%{version}%{?prereltag}
@@ -1034,7 +1114,7 @@ exit 0
%dir %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/system
%{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/system/posix-acl.so
%dir %attr(0775,gluster,gluster) %{_rundir}/gluster
-%if 0%{?_tmpfilesdir:1}
+%if 0%{?_tmpfilesdir:1} && 0%{!?_without_server:1}
%{_tmpfilesdir}/gluster.conf
%endif
@@ -1052,10 +1132,12 @@ exit 0
%dir %{_includedir}/glusterfs/api
%{_includedir}/glusterfs/api/*
+%if ( 0%{!?_without_server:1} )
%files cli
%{_sbindir}/gluster
%{_mandir}/man8/gluster.8*
%{_sysconfdir}/bash_completion.d/gluster
+%endif
%files client-xlators
%dir %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/cluster
@@ -1114,7 +1196,7 @@ exit 0
%endif
%endif
-%if ( 0%{?_with_gnfs:1} )
+%if ( 0%{?_with_gnfs:1} && 0%{!?_without_server:1} )
%files gnfs
%dir %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/nfs
%{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/nfs/*
@@ -1199,6 +1281,7 @@ exit 0
%{_prefix}/lib/ocf/resource.d/glusterfs
%endif
+%if ( 0%{!?_without_server:1} )
%files server
%doc extras/clear_xattrs.sh
# sysconf
@@ -1239,6 +1322,7 @@ exit 0
%{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/arbiter.so
%{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/bit-rot.so
%{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/bitrot-stub.so
+ %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/sdfs.so
%if ( 0%{!?_without_tiering:1} )
%{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/changetimerecorder.so
%{_libdir}/libgfdb.so.*
@@ -1334,6 +1418,8 @@ exit 0
%{_datadir}/glusterfs/scripts/stop-all-gluster-processes.sh
%if ( 0%{?_with_systemd:1} )
%{_libexecdir}/glusterfs/mount-shared-storage.sh
+ %{_datadir}/glusterfs/scripts/control-cpu-load.sh
+ %{_datadir}/glusterfs/scripts/control-mem.sh
%endif
# Incrementalapi
@@ -1345,6 +1431,7 @@ exit 0
%if ( 0%{?_with_firewalld:1} )
%{_prefix}/lib/firewalld/services/glusterfs.xml
%endif
+%endif
# Events
%if ( 0%{!?_without_events:1} )
@@ -1367,11 +1454,11 @@ exit 0
%endif
%changelog
-* Thu Feb 15 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 3.13.2-2
-- shared lib scriptlets, ldconfig
+* Tue Feb 27 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 4.0.0rc1-1
+- 4.0.0 RC1
-* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 3.13.2-1.1
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+* Fri Feb 2 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 4.0.0rc0-1
+- 4.0.0 RC0
* Sat Jan 20 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 3.13.2-1
- 3.13.2 GA
diff --git a/sources b/sources
index fd2ca38..d42037c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (glusterfs-3.13.2.tar.gz) = 5c89390805b8c5cb3b1eed91300e239a3772a076c2ee1c14332688b509cb396e7ef5772d0b45905807515798bcaeef26c806017bdcdbb0efc83048c07b772d81
+SHA512 (glusterfs-4.0.0rc1.tar.gz) = afba232d8d4c7ce3932f64463bd41d902c97dea48bd6b2fc6dd52d2e35d69233adbada2e564f91752e25370d92e4a6de74bc3f6883a9133dfed8545d57ff0a06
6 years, 3 months