Architecture specific change in rpms/golang-github-kdar-factorlog.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-kdar-factorlog.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-kdar-factorlog.git/....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit debf10a6bec9dafc99d0eb0db97465d5f297d0a8
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 16:13:35 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index eb0686e..a8634aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/context-814d8f7.tar.gz
+/factorlog-814d8f7ea0cba0a35203db9181a3269699eca59e.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..2a0047b
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,13 @@
+hash: 23aa32cc14c5ec0876e5eacfd8a406a6bf2ffaf6bbd0f1d9c51ac378d494a34f
+imports:
+- name: github.com/mgutz/ansi
+ version: 376eb392d7d7e2ae025da0037c73cf8c20a428d8
+- name: github.com/kdar/factorlog-contrib
+ subpackages:
+ - glog
+ - gelf
+ version: 40ee7548d780a8f3f949635ae794a5c3a49d1569
+- name: bitbucket.org/kardianos/osext
+ version: 364fb577de68fb646c4cb39cc0e09c887ee16376
+updated: '2018-06-17T14:11:04.736069+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..db2c2fb
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,12 @@
+import:
+- package: github.com/mgutz/ansi
+ version: 376eb392d7d7e2ae025da0037c73cf8c20a428d8
+- package: github.com/kdar/factorlog-contrib
+ subpackages:
+ - glog
+ - gelf
+ version: 40ee7548d780a8f3f949635ae794a5c3a49d1569
+- package: bitbucket.org/kardianos/osext
+ version: 364fb577de68fb646c4cb39cc0e09c887ee16376
+package: github.com/kdar/factorlog
+
diff --git a/golang-github-kdar-factorlog.spec b/golang-github-kdar-factorlog.spec
index e2759eb..53755f3 100644
--- a/golang-github-kdar-factorlog.spec
+++ b/golang-github-kdar-factorlog.spec
@@ -1,62 +1,29 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-# Test requires additional dependency "github.com/mgutz/ansi"
-%global with_check 0
-%global with_unit_test 1
-%else
-%global with_devel 0
-%global with_bundled 0
-%global with_debug 0
-%global with_check 0
-%global with_unit_test 0
-%endif
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project kdar
-%global repo factorlog
-# https://github.com/kdar/factorlog
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/kdar/factorlog
+
+%global goipath github.com/kdar/factorlog
%global commit 814d8f7ea0cba0a35203db9181a3269699eca59e
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-%{provider}-%{project}-%{repo}
+
+%gometa -i
+
+Name: %{goname}
Version: 0
-Release: 0.12.git%{shortcommit}%{?dist}
+Release: 0.13%{?dist}
Summary: Fast logging infrastructure for Go
License: MIT
-URL: http://www.gorillatoolkit.org/pkg/context
-Source0: https://%{provider_prefix}/archive/%{commit}/context-%{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}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-#BuildRequires: golang(github.com/mgutz/ansi)
-%endif
-
-#Requires: golang(github.com/mgutz/ansi)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
+BuildRequires: golang(github.com/mgutz/ansi)
%description devel
%{summary}
@@ -68,101 +35,27 @@ functions such as SetFlags()).
This package contains library source intended for building other packages
which use kdar/factorlog.
-%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
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
-
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
%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 glide.lock glide.yaml
%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 %attr(755,root,root) %{gopath}
-%dir %attr(755,root,root) %{gopath}/src
-%dir %attr(755,root,root) %{gopath}/src/github.com
-%dir %attr(755,root,root) %{gopath}/src/github.com/kdar
-%dir %attr(755,root,root) %{gopath}/src/%{import_path}
-%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
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.13.git814d8f7
+- Upload glide files
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.12.git814d8f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 5cd21d5..45a08e3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-68d47f36fbff0f517848f21e176f3394 context-814d8f7.tar.gz
+SHA512 (factorlog-814d8f7ea0cba0a35203db9181a3269699eca59e.tar.gz) = f23366c0504226536aacab0a209755850cd4a68c49e8b9844e4f9446b57fe42119aa8f8d1b1c2c08050bd1f8c05928092369f37ca24cc6515d2b98e006c6de00
5 years, 11 months
Architecture specific change in rpms/golang-github-kdar-factorlog.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-kdar-factorlog.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-kdar-factorlog.git/....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit debf10a6bec9dafc99d0eb0db97465d5f297d0a8
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 16:13:35 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index eb0686e..a8634aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/context-814d8f7.tar.gz
+/factorlog-814d8f7ea0cba0a35203db9181a3269699eca59e.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..2a0047b
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,13 @@
+hash: 23aa32cc14c5ec0876e5eacfd8a406a6bf2ffaf6bbd0f1d9c51ac378d494a34f
+imports:
+- name: github.com/mgutz/ansi
+ version: 376eb392d7d7e2ae025da0037c73cf8c20a428d8
+- name: github.com/kdar/factorlog-contrib
+ subpackages:
+ - glog
+ - gelf
+ version: 40ee7548d780a8f3f949635ae794a5c3a49d1569
+- name: bitbucket.org/kardianos/osext
+ version: 364fb577de68fb646c4cb39cc0e09c887ee16376
+updated: '2018-06-17T14:11:04.736069+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..db2c2fb
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,12 @@
+import:
+- package: github.com/mgutz/ansi
+ version: 376eb392d7d7e2ae025da0037c73cf8c20a428d8
+- package: github.com/kdar/factorlog-contrib
+ subpackages:
+ - glog
+ - gelf
+ version: 40ee7548d780a8f3f949635ae794a5c3a49d1569
+- package: bitbucket.org/kardianos/osext
+ version: 364fb577de68fb646c4cb39cc0e09c887ee16376
+package: github.com/kdar/factorlog
+
diff --git a/golang-github-kdar-factorlog.spec b/golang-github-kdar-factorlog.spec
index e2759eb..53755f3 100644
--- a/golang-github-kdar-factorlog.spec
+++ b/golang-github-kdar-factorlog.spec
@@ -1,62 +1,29 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-# Test requires additional dependency "github.com/mgutz/ansi"
-%global with_check 0
-%global with_unit_test 1
-%else
-%global with_devel 0
-%global with_bundled 0
-%global with_debug 0
-%global with_check 0
-%global with_unit_test 0
-%endif
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project kdar
-%global repo factorlog
-# https://github.com/kdar/factorlog
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/kdar/factorlog
+
+%global goipath github.com/kdar/factorlog
%global commit 814d8f7ea0cba0a35203db9181a3269699eca59e
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-%{provider}-%{project}-%{repo}
+
+%gometa -i
+
+Name: %{goname}
Version: 0
-Release: 0.12.git%{shortcommit}%{?dist}
+Release: 0.13%{?dist}
Summary: Fast logging infrastructure for Go
License: MIT
-URL: http://www.gorillatoolkit.org/pkg/context
-Source0: https://%{provider_prefix}/archive/%{commit}/context-%{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}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-#BuildRequires: golang(github.com/mgutz/ansi)
-%endif
-
-#Requires: golang(github.com/mgutz/ansi)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
+BuildRequires: golang(github.com/mgutz/ansi)
%description devel
%{summary}
@@ -68,101 +35,27 @@ functions such as SetFlags()).
This package contains library source intended for building other packages
which use kdar/factorlog.
-%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
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
-
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
%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 glide.lock glide.yaml
%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 %attr(755,root,root) %{gopath}
-%dir %attr(755,root,root) %{gopath}/src
-%dir %attr(755,root,root) %{gopath}/src/github.com
-%dir %attr(755,root,root) %{gopath}/src/github.com/kdar
-%dir %attr(755,root,root) %{gopath}/src/%{import_path}
-%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
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.13.git814d8f7
+- Upload glide files
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.12.git814d8f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 5cd21d5..45a08e3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-68d47f36fbff0f517848f21e176f3394 context-814d8f7.tar.gz
+SHA512 (factorlog-814d8f7ea0cba0a35203db9181a3269699eca59e.tar.gz) = f23366c0504226536aacab0a209755850cd4a68c49e8b9844e4f9446b57fe42119aa8f8d1b1c2c08050bd1f8c05928092369f37ca24cc6515d2b98e006c6de00
5 years, 11 months
Architecture specific change in rpms/golang-github-kdar-factorlog.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-kdar-factorlog.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-kdar-factorlog.git/....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit debf10a6bec9dafc99d0eb0db97465d5f297d0a8
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 16:13:35 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index eb0686e..a8634aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/context-814d8f7.tar.gz
+/factorlog-814d8f7ea0cba0a35203db9181a3269699eca59e.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..2a0047b
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,13 @@
+hash: 23aa32cc14c5ec0876e5eacfd8a406a6bf2ffaf6bbd0f1d9c51ac378d494a34f
+imports:
+- name: github.com/mgutz/ansi
+ version: 376eb392d7d7e2ae025da0037c73cf8c20a428d8
+- name: github.com/kdar/factorlog-contrib
+ subpackages:
+ - glog
+ - gelf
+ version: 40ee7548d780a8f3f949635ae794a5c3a49d1569
+- name: bitbucket.org/kardianos/osext
+ version: 364fb577de68fb646c4cb39cc0e09c887ee16376
+updated: '2018-06-17T14:11:04.736069+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..db2c2fb
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,12 @@
+import:
+- package: github.com/mgutz/ansi
+ version: 376eb392d7d7e2ae025da0037c73cf8c20a428d8
+- package: github.com/kdar/factorlog-contrib
+ subpackages:
+ - glog
+ - gelf
+ version: 40ee7548d780a8f3f949635ae794a5c3a49d1569
+- package: bitbucket.org/kardianos/osext
+ version: 364fb577de68fb646c4cb39cc0e09c887ee16376
+package: github.com/kdar/factorlog
+
diff --git a/golang-github-kdar-factorlog.spec b/golang-github-kdar-factorlog.spec
index e2759eb..53755f3 100644
--- a/golang-github-kdar-factorlog.spec
+++ b/golang-github-kdar-factorlog.spec
@@ -1,62 +1,29 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-# Test requires additional dependency "github.com/mgutz/ansi"
-%global with_check 0
-%global with_unit_test 1
-%else
-%global with_devel 0
-%global with_bundled 0
-%global with_debug 0
-%global with_check 0
-%global with_unit_test 0
-%endif
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project kdar
-%global repo factorlog
-# https://github.com/kdar/factorlog
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/kdar/factorlog
+
+%global goipath github.com/kdar/factorlog
%global commit 814d8f7ea0cba0a35203db9181a3269699eca59e
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-%{provider}-%{project}-%{repo}
+
+%gometa -i
+
+Name: %{goname}
Version: 0
-Release: 0.12.git%{shortcommit}%{?dist}
+Release: 0.13%{?dist}
Summary: Fast logging infrastructure for Go
License: MIT
-URL: http://www.gorillatoolkit.org/pkg/context
-Source0: https://%{provider_prefix}/archive/%{commit}/context-%{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}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-#BuildRequires: golang(github.com/mgutz/ansi)
-%endif
-
-#Requires: golang(github.com/mgutz/ansi)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
+BuildRequires: golang(github.com/mgutz/ansi)
%description devel
%{summary}
@@ -68,101 +35,27 @@ functions such as SetFlags()).
This package contains library source intended for building other packages
which use kdar/factorlog.
-%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
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
-
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
%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 glide.lock glide.yaml
%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 %attr(755,root,root) %{gopath}
-%dir %attr(755,root,root) %{gopath}/src
-%dir %attr(755,root,root) %{gopath}/src/github.com
-%dir %attr(755,root,root) %{gopath}/src/github.com/kdar
-%dir %attr(755,root,root) %{gopath}/src/%{import_path}
-%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
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.13.git814d8f7
+- Upload glide files
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.12.git814d8f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 5cd21d5..45a08e3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-68d47f36fbff0f517848f21e176f3394 context-814d8f7.tar.gz
+SHA512 (factorlog-814d8f7ea0cba0a35203db9181a3269699eca59e.tar.gz) = f23366c0504226536aacab0a209755850cd4a68c49e8b9844e4f9446b57fe42119aa8f8d1b1c2c08050bd1f8c05928092369f37ca24cc6515d2b98e006c6de00
commit dc0acfde337c525dba11575fe7773598419ede58
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:33:56 2018 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/golang-github-kdar-factorlog.spec b/golang-github-kdar-factorlog.spec
index 4088695..e2759eb 100644
--- a/golang-github-kdar-factorlog.spec
+++ b/golang-github-kdar-factorlog.spec
@@ -31,7 +31,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.11.git%{shortcommit}%{?dist}
+Release: 0.12.git%{shortcommit}%{?dist}
Summary: Fast logging infrastructure for Go
License: MIT
URL: http://www.gorillatoolkit.org/pkg/context
@@ -163,6 +163,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.12.git814d8f7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.11.git814d8f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-kballard-go-shellquote.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-kballard-go-shellquote.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-kballard-go-shellqu....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit aa4f950017e28385195045142ab387c8d96677cc
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 16:07:01 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 06c5d7e..b277ea7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/go-shellquote-d8ec1a6.tar.gz
+/go-shellquote-d8ec1a69a250a17bb0e419c386eac1f3711dc142.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..8f59bb9
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: 0046438d8e27df320a9100761eb71243038d6cdff6a03f246638c2bf2f2df983
+imports: []
+updated: '2018-06-17T14:06:52.356740+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..a9f1be6
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/kballard/go-shellquote
+
diff --git a/golang-github-kballard-go-shellquote.spec b/golang-github-kballard-go-shellquote.spec
index 8f9f872..2e4b9f3 100644
--- a/golang-github-kballard-go-shellquote.spec
+++ b/golang-github-kballard-go-shellquote.spec
@@ -1,20 +1,22 @@
-# https://github.com/kballard/go-shellquote
-%global provider_prefix github.com/kballard/go-shellquote
-%global gobaseipath %{provider_prefix}
+# http://github.com/kballard/go-shellquote
+
+%global goipath github.com/kballard/go-shellquote
%global commit d8ec1a69a250a17bb0e419c386eac1f3711dc142
-%global commitdate 20150810
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.7.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.8%{?dist}
Summary: Go utilities for performing shell-like word splitting/joining
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE'
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -28,13 +30,13 @@ BuildArch: noarch
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
-%gosetup
-
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
%gochecks
@@ -47,6 +49,9 @@ building other packages which use import path with
%doc README
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.8.gitd8ec1a6
+- Upload glide files
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.7.20150810gitd8ec1a6
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 5b00c60..6dc2ab5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4c23dbf5c5aaae4709e1b12828c2d28c go-shellquote-d8ec1a6.tar.gz
+SHA512 (go-shellquote-d8ec1a69a250a17bb0e419c386eac1f3711dc142.tar.gz) = ec09244c4cfda891e4978573fd427972d2a85e48ac66b91736b2a5d158f5e6b511e83294e813fb867cee7e8fe05341b429de857c6b7ff5b4f8581722de66529a
commit efb75a99be8b748d0084e3f3614297acaf498a68
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 12:40:32 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-kballard-go-shellquote.spec b/golang-github-kballard-go-shellquote.spec
index 4b233da..8f9f872 100644
--- a/golang-github-kballard-go-shellquote.spec
+++ b/golang-github-kballard-go-shellquote.spec
@@ -1,157 +1,55 @@
-%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 kballard
-%global repo go-shellquote
# https://github.com/kballard/go-shellquote
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/kballard/go-shellquote
+%global gobaseipath %{provider_prefix}
%global commit d8ec1a69a250a17bb0e419c386eac1f3711dc142
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150810
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.6.git%{shortcommit}%{?dist}
+Release: 0.7.%{commitdate}git%{shortcommit}%{?dist}
Summary: Go utilities for performing shell-like word splitting/joining
# 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 %{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}
-
-%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-devel.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-devel.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
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test-devel -f unit-test-devel.file-list
-%license LICENSE
-%doc README
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.7.20150810gitd8ec1a6
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.6.gitd8ec1a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-kballard-go-shellquote.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-kballard-go-shellquote.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-kballard-go-shellqu....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit aa4f950017e28385195045142ab387c8d96677cc
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 16:07:01 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 06c5d7e..b277ea7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/go-shellquote-d8ec1a6.tar.gz
+/go-shellquote-d8ec1a69a250a17bb0e419c386eac1f3711dc142.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..8f59bb9
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: 0046438d8e27df320a9100761eb71243038d6cdff6a03f246638c2bf2f2df983
+imports: []
+updated: '2018-06-17T14:06:52.356740+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..a9f1be6
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/kballard/go-shellquote
+
diff --git a/golang-github-kballard-go-shellquote.spec b/golang-github-kballard-go-shellquote.spec
index 8f9f872..2e4b9f3 100644
--- a/golang-github-kballard-go-shellquote.spec
+++ b/golang-github-kballard-go-shellquote.spec
@@ -1,20 +1,22 @@
-# https://github.com/kballard/go-shellquote
-%global provider_prefix github.com/kballard/go-shellquote
-%global gobaseipath %{provider_prefix}
+# http://github.com/kballard/go-shellquote
+
+%global goipath github.com/kballard/go-shellquote
%global commit d8ec1a69a250a17bb0e419c386eac1f3711dc142
-%global commitdate 20150810
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.7.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.8%{?dist}
Summary: Go utilities for performing shell-like word splitting/joining
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE'
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -28,13 +30,13 @@ BuildArch: noarch
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
-%gosetup
-
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
%gochecks
@@ -47,6 +49,9 @@ building other packages which use import path with
%doc README
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.8.gitd8ec1a6
+- Upload glide files
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.7.20150810gitd8ec1a6
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 5b00c60..6dc2ab5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4c23dbf5c5aaae4709e1b12828c2d28c go-shellquote-d8ec1a6.tar.gz
+SHA512 (go-shellquote-d8ec1a69a250a17bb0e419c386eac1f3711dc142.tar.gz) = ec09244c4cfda891e4978573fd427972d2a85e48ac66b91736b2a5d158f5e6b511e83294e813fb867cee7e8fe05341b429de857c6b7ff5b4f8581722de66529a
commit efb75a99be8b748d0084e3f3614297acaf498a68
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 12:40:32 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-kballard-go-shellquote.spec b/golang-github-kballard-go-shellquote.spec
index 4b233da..8f9f872 100644
--- a/golang-github-kballard-go-shellquote.spec
+++ b/golang-github-kballard-go-shellquote.spec
@@ -1,157 +1,55 @@
-%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 kballard
-%global repo go-shellquote
# https://github.com/kballard/go-shellquote
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/kballard/go-shellquote
+%global gobaseipath %{provider_prefix}
%global commit d8ec1a69a250a17bb0e419c386eac1f3711dc142
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150810
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.6.git%{shortcommit}%{?dist}
+Release: 0.7.%{commitdate}git%{shortcommit}%{?dist}
Summary: Go utilities for performing shell-like word splitting/joining
# 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 %{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}
-
-%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-devel.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-devel.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
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test-devel -f unit-test-devel.file-list
-%license LICENSE
-%doc README
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.7.20150810gitd8ec1a6
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.6.gitd8ec1a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit efbf1d2e000f42eef63cd4443eb4295b2139d99c
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:33:47 2018 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/golang-github-kballard-go-shellquote.spec b/golang-github-kballard-go-shellquote.spec
index b0d8d05..4b233da 100644
--- a/golang-github-kballard-go-shellquote.spec
+++ b/golang-github-kballard-go-shellquote.spec
@@ -30,7 +30,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.5.git%{shortcommit}%{?dist}
+Release: 0.6.git%{shortcommit}%{?dist}
Summary: Go utilities for performing shell-like word splitting/joining
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE'
@@ -152,6 +152,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.6.gitd8ec1a6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.5.gitd8ec1a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-karlseguin-expect.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-karlseguin-expect.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-karlseguin-expect.g....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 602874e37faab22d3da9730a8aa1b345db09771c
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 15:59:20 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 98bff3a..cf43c99 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/expect-5c2eadb.tar.gz
+/expect-5c2eadb35b136ae1529cef7fc966188c6267323e.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..b2cd17f
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,8 @@
+hash: 1185ffa684fc0811ec38947498a5b60f004c3a66cdb62032532084ac0f65993f
+imports:
+- name: github.com/wsxiaoys/terminal
+ subpackages:
+ - color
+ version: 0940f3fc43a0ed42d04916b1c04578462c650b09
+updated: '2018-06-17T13:59:08.472340+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..5f90f30
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,7 @@
+import:
+- package: github.com/wsxiaoys/terminal
+ subpackages:
+ - color
+ version: 0940f3fc43a0ed42d04916b1c04578462c650b09
+package: github.com/karlseguin/expect
+
diff --git a/golang-github-karlseguin-expect.spec b/golang-github-karlseguin-expect.spec
index 3e1853c..6759cfa 100644
--- a/golang-github-karlseguin-expect.spec
+++ b/golang-github-karlseguin-expect.spec
@@ -1,20 +1,22 @@
# http://github.com/karlseguin/expect
-%global provider_prefix github.com/karlseguin/expect
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/karlseguin/expect
%global commit 5c2eadb35b136ae1529cef7fc966188c6267323e
-%global commitdate 20160716
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.5.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.6%{?dist}
Summary: A testing framework for Go
# Detected licences
# - MIT/X11 (BSD like) at 'license.txt'
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -30,13 +32,13 @@ BuildRequires: golang(github.com/wsxiaoys/terminal/color)
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
-%gosetup
-
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
%gochecks
@@ -49,6 +51,9 @@ building other packages which use import path with
%doc readme.md
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.6.git5c2eadb
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.5.20160716git5c2eadb
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index ef9ea23..2031dc0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (expect-5c2eadb.tar.gz) = 2d3ec9539aedcc8ccf78748e21507c35d4fd699e717cb5885a4680c6eb012c81485ec3e694a010c8ac287df87d8f34cbd4c9fc80f09f57ce8d2e8d6fbb20681a
+SHA512 (expect-5c2eadb35b136ae1529cef7fc966188c6267323e.tar.gz) = 2d3ec9539aedcc8ccf78748e21507c35d4fd699e717cb5885a4680c6eb012c81485ec3e694a010c8ac287df87d8f34cbd4c9fc80f09f57ce8d2e8d6fbb20681a
commit f83c104d2acce870846ccaec415125dd14d816f4
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 12:36:43 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-karlseguin-expect.spec b/golang-github-karlseguin-expect.spec
index c021f0b..3e1853c 100644
--- a/golang-github-karlseguin-expect.spec
+++ b/golang-github-karlseguin-expect.spec
@@ -1,190 +1,57 @@
-# 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 karlseguin
-%global repo expect
-# https://github.com/karlseguin/expect
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/karlseguin/expect
+%global provider_prefix github.com/karlseguin/expect
+%global gobaseipath %{provider_prefix}
%global commit 5c2eadb35b136ae1529cef7fc966188c6267323e
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20160716
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.4.git%{shortcommit}%{?dist}
+Release: 0.5.%{commitdate}git%{shortcommit}%{?dist}
Summary: A testing framework for Go
# Detected licences
# - MIT/X11 (BSD like) at 'license.txt'
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}
BuildRequires: golang(github.com/wsxiaoys/terminal/color)
-%endif
-
-Requires: golang(github.com/wsxiaoys/terminal/color)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/build) = %{version}-%{release}
-Provides: golang(%{import_path}/mock) = %{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}
-%gotest %{import_path}/build
-%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-devel -f unit-test-devel.file-list
-%license license.txt
-%doc readme.md
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.5.20160716git5c2eadb
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.4.git5c2eadb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-karlseguin-expect.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-karlseguin-expect.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-karlseguin-expect.g....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 602874e37faab22d3da9730a8aa1b345db09771c
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 15:59:20 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 98bff3a..cf43c99 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/expect-5c2eadb.tar.gz
+/expect-5c2eadb35b136ae1529cef7fc966188c6267323e.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..b2cd17f
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,8 @@
+hash: 1185ffa684fc0811ec38947498a5b60f004c3a66cdb62032532084ac0f65993f
+imports:
+- name: github.com/wsxiaoys/terminal
+ subpackages:
+ - color
+ version: 0940f3fc43a0ed42d04916b1c04578462c650b09
+updated: '2018-06-17T13:59:08.472340+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..5f90f30
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,7 @@
+import:
+- package: github.com/wsxiaoys/terminal
+ subpackages:
+ - color
+ version: 0940f3fc43a0ed42d04916b1c04578462c650b09
+package: github.com/karlseguin/expect
+
diff --git a/golang-github-karlseguin-expect.spec b/golang-github-karlseguin-expect.spec
index 3e1853c..6759cfa 100644
--- a/golang-github-karlseguin-expect.spec
+++ b/golang-github-karlseguin-expect.spec
@@ -1,20 +1,22 @@
# http://github.com/karlseguin/expect
-%global provider_prefix github.com/karlseguin/expect
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/karlseguin/expect
%global commit 5c2eadb35b136ae1529cef7fc966188c6267323e
-%global commitdate 20160716
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.5.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.6%{?dist}
Summary: A testing framework for Go
# Detected licences
# - MIT/X11 (BSD like) at 'license.txt'
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -30,13 +32,13 @@ BuildRequires: golang(github.com/wsxiaoys/terminal/color)
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
-%gosetup
-
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
%gochecks
@@ -49,6 +51,9 @@ building other packages which use import path with
%doc readme.md
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.6.git5c2eadb
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.5.20160716git5c2eadb
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index ef9ea23..2031dc0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (expect-5c2eadb.tar.gz) = 2d3ec9539aedcc8ccf78748e21507c35d4fd699e717cb5885a4680c6eb012c81485ec3e694a010c8ac287df87d8f34cbd4c9fc80f09f57ce8d2e8d6fbb20681a
+SHA512 (expect-5c2eadb35b136ae1529cef7fc966188c6267323e.tar.gz) = 2d3ec9539aedcc8ccf78748e21507c35d4fd699e717cb5885a4680c6eb012c81485ec3e694a010c8ac287df87d8f34cbd4c9fc80f09f57ce8d2e8d6fbb20681a
commit f83c104d2acce870846ccaec415125dd14d816f4
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 12:36:43 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-karlseguin-expect.spec b/golang-github-karlseguin-expect.spec
index c021f0b..3e1853c 100644
--- a/golang-github-karlseguin-expect.spec
+++ b/golang-github-karlseguin-expect.spec
@@ -1,190 +1,57 @@
-# 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 karlseguin
-%global repo expect
-# https://github.com/karlseguin/expect
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/karlseguin/expect
+%global provider_prefix github.com/karlseguin/expect
+%global gobaseipath %{provider_prefix}
%global commit 5c2eadb35b136ae1529cef7fc966188c6267323e
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20160716
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.4.git%{shortcommit}%{?dist}
+Release: 0.5.%{commitdate}git%{shortcommit}%{?dist}
Summary: A testing framework for Go
# Detected licences
# - MIT/X11 (BSD like) at 'license.txt'
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}
BuildRequires: golang(github.com/wsxiaoys/terminal/color)
-%endif
-
-Requires: golang(github.com/wsxiaoys/terminal/color)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/build) = %{version}-%{release}
-Provides: golang(%{import_path}/mock) = %{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}
-%gotest %{import_path}/build
-%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-devel -f unit-test-devel.file-list
-%license license.txt
-%doc readme.md
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.5.20160716git5c2eadb
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.4.git5c2eadb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit d937bf006143d9d388a39a8ccc76e56a37b2d121
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:33:38 2018 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/golang-github-karlseguin-expect.spec b/golang-github-karlseguin-expect.spec
index 3b2486a..c021f0b 100644
--- a/golang-github-karlseguin-expect.spec
+++ b/golang-github-karlseguin-expect.spec
@@ -42,7 +42,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.3.git%{shortcommit}%{?dist}
+Release: 0.4.git%{shortcommit}%{?dist}
Summary: A testing framework for Go
# Detected licences
# - MIT/X11 (BSD like) at 'license.txt'
@@ -185,6 +185,9 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.4.git5c2eadb
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.git5c2eadb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-karlseguin-ccache.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-karlseguin-ccache.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-karlseguin-ccache.g....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 101efd2ed26157ebac75593d93e404d688c59d53
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 15:51:34 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 3660aef..79277c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/ccache-a2d6215.tar.gz
+/ccache-a2d62155777b39595c825ed3824279e642a5db3c.tar.gz
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..e69de29
diff --git a/golang-github-karlseguin-ccache.spec b/golang-github-karlseguin-ccache.spec
index 041b91a..2af1f73 100644
--- a/golang-github-karlseguin-ccache.spec
+++ b/golang-github-karlseguin-ccache.spec
@@ -1,20 +1,22 @@
# http://github.com/karlseguin/ccache
-%global provider_prefix github.com/karlseguin/ccache
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/karlseguin/ccache
%global commit a2d62155777b39595c825ed3824279e642a5db3c
-%global commitdate 20161103
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 2.0.2
-Release: 0.5.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.6%{?dist}
Summary: A golang LRU Cache for high concurrency
# Detected licences
# - MIT/X11 (BSD like) at 'license.txt'
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -30,16 +32,16 @@ BuildRequires: golang(github.com/karlseguin/expect)
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
-%gosetup
-
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
-%gochecks %{gobaseipath}
+%gochecks -d .
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -49,6 +51,9 @@ building other packages which use import path with
%doc readme.md
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 2.0.2-0.6.gita2d6215
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 2.0.2-0.5.20161103gita2d6215
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 8097668..0d1d355 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ccache-a2d6215.tar.gz) = b43fa70d2a70afb77bb819969ae4aa80e5b9ac886e105209458bbef6df3d8f0dbd42e2795810e157b0126cb3264a799d19db4a7832194308eb3af2e35517850a
+SHA512 (ccache-a2d62155777b39595c825ed3824279e642a5db3c.tar.gz) = b43fa70d2a70afb77bb819969ae4aa80e5b9ac886e105209458bbef6df3d8f0dbd42e2795810e157b0126cb3264a799d19db4a7832194308eb3af2e35517850a
commit 5497283488c0c723235482390c5afded93ce0daa
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 12:36:02 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-karlseguin-ccache.spec b/golang-github-karlseguin-ccache.spec
index fb1eba1..041b91a 100644
--- a/golang-github-karlseguin-ccache.spec
+++ b/golang-github-karlseguin-ccache.spec
@@ -1,187 +1,57 @@
-# 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 karlseguin
-%global repo ccache
-# https://github.com/karlseguin/ccache
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/karlseguin/ccache
+%global provider_prefix github.com/karlseguin/ccache
+%global gobaseipath %{provider_prefix}
%global commit a2d62155777b39595c825ed3824279e642a5db3c
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20161103
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 2.0.2
-Release: 0.4.git%{shortcommit}%{?dist}
+Release: 0.5.%{commitdate}git%{shortcommit}%{?dist}
Summary: A golang LRU Cache for high concurrency
# Detected licences
# - MIT/X11 (BSD like) at 'license.txt'
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}
+BuildRequires: golang(github.com/karlseguin/expect)
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%if 0%{?with_check} && ! 0%{?with_bundled}
-BuildRequires: golang(github.com/karlseguin/expect)
-%endif
-
-Requires: golang(github.com/karlseguin/expect)
-
-%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 %{gobaseipath}
#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-devel -f unit-test-devel.file-list
-%license license.txt
-%doc readme.md
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 2.0.2-0.5.20161103gita2d6215
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.0.2-0.4.gita2d6215
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-karlseguin-ccache.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-karlseguin-ccache.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-karlseguin-ccache.g....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 101efd2ed26157ebac75593d93e404d688c59d53
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 15:51:34 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 3660aef..79277c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/ccache-a2d6215.tar.gz
+/ccache-a2d62155777b39595c825ed3824279e642a5db3c.tar.gz
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..e69de29
diff --git a/golang-github-karlseguin-ccache.spec b/golang-github-karlseguin-ccache.spec
index 041b91a..2af1f73 100644
--- a/golang-github-karlseguin-ccache.spec
+++ b/golang-github-karlseguin-ccache.spec
@@ -1,20 +1,22 @@
# http://github.com/karlseguin/ccache
-%global provider_prefix github.com/karlseguin/ccache
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/karlseguin/ccache
%global commit a2d62155777b39595c825ed3824279e642a5db3c
-%global commitdate 20161103
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 2.0.2
-Release: 0.5.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.6%{?dist}
Summary: A golang LRU Cache for high concurrency
# Detected licences
# - MIT/X11 (BSD like) at 'license.txt'
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -30,16 +32,16 @@ BuildRequires: golang(github.com/karlseguin/expect)
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
-%gosetup
-
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
-%gochecks %{gobaseipath}
+%gochecks -d .
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -49,6 +51,9 @@ building other packages which use import path with
%doc readme.md
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 2.0.2-0.6.gita2d6215
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 2.0.2-0.5.20161103gita2d6215
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 8097668..0d1d355 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ccache-a2d6215.tar.gz) = b43fa70d2a70afb77bb819969ae4aa80e5b9ac886e105209458bbef6df3d8f0dbd42e2795810e157b0126cb3264a799d19db4a7832194308eb3af2e35517850a
+SHA512 (ccache-a2d62155777b39595c825ed3824279e642a5db3c.tar.gz) = b43fa70d2a70afb77bb819969ae4aa80e5b9ac886e105209458bbef6df3d8f0dbd42e2795810e157b0126cb3264a799d19db4a7832194308eb3af2e35517850a
commit 5497283488c0c723235482390c5afded93ce0daa
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 12:36:02 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-karlseguin-ccache.spec b/golang-github-karlseguin-ccache.spec
index fb1eba1..041b91a 100644
--- a/golang-github-karlseguin-ccache.spec
+++ b/golang-github-karlseguin-ccache.spec
@@ -1,187 +1,57 @@
-# 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 karlseguin
-%global repo ccache
-# https://github.com/karlseguin/ccache
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/karlseguin/ccache
+%global provider_prefix github.com/karlseguin/ccache
+%global gobaseipath %{provider_prefix}
%global commit a2d62155777b39595c825ed3824279e642a5db3c
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20161103
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 2.0.2
-Release: 0.4.git%{shortcommit}%{?dist}
+Release: 0.5.%{commitdate}git%{shortcommit}%{?dist}
Summary: A golang LRU Cache for high concurrency
# Detected licences
# - MIT/X11 (BSD like) at 'license.txt'
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}
+BuildRequires: golang(github.com/karlseguin/expect)
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%if 0%{?with_check} && ! 0%{?with_bundled}
-BuildRequires: golang(github.com/karlseguin/expect)
-%endif
-
-Requires: golang(github.com/karlseguin/expect)
-
-%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 %{gobaseipath}
#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-devel -f unit-test-devel.file-list
-%license license.txt
-%doc readme.md
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 2.0.2-0.5.20161103gita2d6215
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.0.2-0.4.gita2d6215
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit ccb57a89204857e5631c8d00a4e88ea41ab0c774
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:33:30 2018 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/golang-github-karlseguin-ccache.spec b/golang-github-karlseguin-ccache.spec
index b4deef9..fb1eba1 100644
--- a/golang-github-karlseguin-ccache.spec
+++ b/golang-github-karlseguin-ccache.spec
@@ -42,7 +42,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 2.0.2
-Release: 0.3.git%{shortcommit}%{?dist}
+Release: 0.4.git%{shortcommit}%{?dist}
Summary: A golang LRU Cache for high concurrency
# Detected licences
# - MIT/X11 (BSD like) at 'license.txt'
@@ -182,6 +182,9 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.0.2-0.4.gita2d6215
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.0.2-0.3.gita2d6215
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-juju-ratelimit.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-juju-ratelimit.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-juju-ratelimit.git/....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 618ef3c3c61c03ae06fac8f20e325e2002144784
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 15:36:47 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index cc45786..f8b74aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/ratelimit-77ed1c8.tar.gz
+/ratelimit-77ed1c8a01217656d2080ad51981f6e99adaa177.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..3dc4d5b
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: bb77e360dba0f0b23f65eb7e4a7fb2fecbd039c7076db26f270cf951c45b92d4
+imports: []
+updated: '2018-06-17T13:36:10.256401+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..83dea72
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/juju/ratelimit
+
diff --git a/golang-github-juju-ratelimit.spec b/golang-github-juju-ratelimit.spec
index 72a0de6..b61514b 100644
--- a/golang-github-juju-ratelimit.spec
+++ b/golang-github-juju-ratelimit.spec
@@ -1,18 +1,20 @@
# http://github.com/juju/ratelimit
-%global provider_prefix github.com/juju/ratelimit
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/juju/ratelimit
%global commit 77ed1c8a01217656d2080ad51981f6e99adaa177
-%global commitdate 20151125
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.10.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.11%{?dist}
Summary: Efficient token-bucket-based rate limiter package
License: LGPLv3
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -28,13 +30,13 @@ BuildRequires: golang(launchpad.net/gocheck)
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
-%gosetup
-
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
%gochecks
@@ -47,6 +49,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.11.git77ed1c8
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.10.20151125git77ed1c8
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index a9fa71c..4a45aa9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ratelimit-77ed1c8.tar.gz) = 78e8fcd734177fd411b30d26150f623be8347583a1d6a849d4ef2e72085811d8295a97acfb484a84a20917bee8e324e7914c79258a24d7dd14fc04d4246589de
+SHA512 (ratelimit-77ed1c8a01217656d2080ad51981f6e99adaa177.tar.gz) = 78e8fcd734177fd411b30d26150f623be8347583a1d6a849d4ef2e72085811d8295a97acfb484a84a20917bee8e324e7914c79258a24d7dd14fc04d4246589de
commit 2cd0931915c5de3b75831fb370c12762dc8206ac
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 12:27:18 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-juju-ratelimit.spec b/golang-github-juju-ratelimit.spec
index fe586f8..72a0de6 100644
--- a/golang-github-juju-ratelimit.spec
+++ b/golang-github-juju-ratelimit.spec
@@ -1,166 +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 juju
-%global repo ratelimit
-# https://github.com/juju/ratelimit
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/juju/ratelimit
+%global provider_prefix github.com/juju/ratelimit
+%global gobaseipath %{provider_prefix}
%global commit 77ed1c8a01217656d2080ad51981f6e99adaa177
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20151125
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.9.git%{shortcommit}%{?dist}
+Release: 0.10.%{commitdate}git%{shortcommit}%{?dist}
Summary: Efficient token-bucket-based rate limiter package
License: LGPLv3
-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(launchpad.net/gocheck)
-%endif
-
-Requires: golang(launchpad.net/gocheck)
-
-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 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
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.10.20151125git77ed1c8
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.9.git77ed1c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5 years, 11 months