Architecture specific change in rpms/golang-github-kr-pty.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-kr-pty.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-kr-pty.git/commit/?....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit ccf5f1ac401829b5e0c3dbec8a4a81bb441e7265
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 23:02:38 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 0331134..c327453 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/pty-2c10821.tar.gz
+/pty-2c10821df3c3cf905230d078702dfbe9404c9b23.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..19f1fd7
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: 442695597ae46157318f71d1ddadc1d3aaf544c2dfb58a26279a325cb9003326
+imports: []
+updated: '2018-06-17T21:02:25.841143+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..ccd7810
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/kr/pty
+
diff --git a/golang-github-kr-pty.spec b/golang-github-kr-pty.spec
index 713e382..f29d7fc 100644
--- a/golang-github-kr-pty.spec
+++ b/golang-github-kr-pty.spec
@@ -1,18 +1,20 @@
# http://github.com/kr/pty
-%global provider_prefix github.com/kr/pty
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/kr/pty
%global commit 2c10821df3c3cf905230d078702dfbe9404c9b23
-%global commitdate 20170307
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.36.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.37%{?dist}
Summary: PTY interface for Go
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
Pty is a Go package for using UNIX pseudo-terminals.
@@ -25,13 +27,13 @@ Pty is a Go package for using UNIX pseudo-terminals.
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
@@ -44,6 +46,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.37.git2c10821
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.36.20170307git2c10821
- Autogenerate some parts using the new macros
@@ -139,7 +144,7 @@ https://github.com/dotcloud/docker/issues/5908 )
* Mon Sep 16 2013 Lokesh Mandvekar <lsm5(a)redhat.com> git27435c6-8
- No debuginfo generated, was empty to begin with
-- package owns all directories in gobaseipath
+- package owns all directories in goipath
* Mon Sep 16 2013 Lokesh Mandvekar <lsm5(a)redhat.com> git27435c6-7
- only devel package generated
diff --git a/sources b/sources
index fb2801e..ac92534 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pty-2c10821.tar.gz) = 00085638fe2dcc3d1e518dff1b1caecfec1cf55f84cef567d2dae092669ed08c7aa3909e8dbf9cf52a9e1c851edafff66f1b6e3d857af0ae5a7f8da6fe0d468e
+SHA512 (pty-2c10821df3c3cf905230d078702dfbe9404c9b23.tar.gz) = 00085638fe2dcc3d1e518dff1b1caecfec1cf55f84cef567d2dae092669ed08c7aa3909e8dbf9cf52a9e1c851edafff66f1b6e3d857af0ae5a7f8da6fe0d468e
commit 658e4de6471482e3d4acb22b86f60f8e277df761
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 13:09:09 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-kr-pty.spec b/golang-github-kr-pty.spec
index 2c2710d..713e382 100644
--- a/golang-github-kr-pty.spec
+++ b/golang-github-kr-pty.spec
@@ -1,155 +1,52 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-# No tests provided
-%global with_check 0
-%global with_unit_test 0
-%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 kr
-%global repo pty
-# https://github.com/kr/pty
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/kr/pty
+%global provider_prefix github.com/kr/pty
+%global gobaseipath %{provider_prefix}
%global commit 2c10821df3c3cf905230d078702dfbe9404c9b23
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20170307
-Name: golang-github-kr-pty
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.35.git%{shortcommit}%{?dist}
+Release: 0.36.%{commitdate}git%{shortcommit}%{?dist}
Summary: PTY interface for Go
License: MIT
-URL: https://godoc.org/%{import_path}
-Source0: https://%{provider_prefix}/archive/%{commit}/pty-%{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
Pty is a Go package for using UNIX pseudo-terminals.
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
-BuildArch: noarch
-
-%if 0%{?with_check}
-%endif
-
-Provides: golang(%{import_path}) = %{version}-%{release}
%description devel
Pty is a Go package for using UNIX pseudo-terminals.
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-done
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test} && 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go"); do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test.file-list
-done
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%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.36.20170307git2c10821
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.35.git2c10821
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -242,7 +139,7 @@ https://github.com/dotcloud/docker/issues/5908 )
* Mon Sep 16 2013 Lokesh Mandvekar <lsm5(a)redhat.com> git27435c6-8
- No debuginfo generated, was empty to begin with
-- package owns all directories in import_path
+- package owns all directories in gobaseipath
* Mon Sep 16 2013 Lokesh Mandvekar <lsm5(a)redhat.com> git27435c6-7
- only devel package generated
5 years, 11 months
Architecture specific change in rpms/golang-github-kr-pty.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-kr-pty.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-kr-pty.git/commit/?....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit ccf5f1ac401829b5e0c3dbec8a4a81bb441e7265
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 23:02:38 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 0331134..c327453 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/pty-2c10821.tar.gz
+/pty-2c10821df3c3cf905230d078702dfbe9404c9b23.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..19f1fd7
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: 442695597ae46157318f71d1ddadc1d3aaf544c2dfb58a26279a325cb9003326
+imports: []
+updated: '2018-06-17T21:02:25.841143+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..ccd7810
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/kr/pty
+
diff --git a/golang-github-kr-pty.spec b/golang-github-kr-pty.spec
index 713e382..f29d7fc 100644
--- a/golang-github-kr-pty.spec
+++ b/golang-github-kr-pty.spec
@@ -1,18 +1,20 @@
# http://github.com/kr/pty
-%global provider_prefix github.com/kr/pty
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/kr/pty
%global commit 2c10821df3c3cf905230d078702dfbe9404c9b23
-%global commitdate 20170307
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.36.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.37%{?dist}
Summary: PTY interface for Go
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
Pty is a Go package for using UNIX pseudo-terminals.
@@ -25,13 +27,13 @@ Pty is a Go package for using UNIX pseudo-terminals.
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
@@ -44,6 +46,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.37.git2c10821
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.36.20170307git2c10821
- Autogenerate some parts using the new macros
@@ -139,7 +144,7 @@ https://github.com/dotcloud/docker/issues/5908 )
* Mon Sep 16 2013 Lokesh Mandvekar <lsm5(a)redhat.com> git27435c6-8
- No debuginfo generated, was empty to begin with
-- package owns all directories in gobaseipath
+- package owns all directories in goipath
* Mon Sep 16 2013 Lokesh Mandvekar <lsm5(a)redhat.com> git27435c6-7
- only devel package generated
diff --git a/sources b/sources
index fb2801e..ac92534 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pty-2c10821.tar.gz) = 00085638fe2dcc3d1e518dff1b1caecfec1cf55f84cef567d2dae092669ed08c7aa3909e8dbf9cf52a9e1c851edafff66f1b6e3d857af0ae5a7f8da6fe0d468e
+SHA512 (pty-2c10821df3c3cf905230d078702dfbe9404c9b23.tar.gz) = 00085638fe2dcc3d1e518dff1b1caecfec1cf55f84cef567d2dae092669ed08c7aa3909e8dbf9cf52a9e1c851edafff66f1b6e3d857af0ae5a7f8da6fe0d468e
commit 658e4de6471482e3d4acb22b86f60f8e277df761
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 13:09:09 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-kr-pty.spec b/golang-github-kr-pty.spec
index 2c2710d..713e382 100644
--- a/golang-github-kr-pty.spec
+++ b/golang-github-kr-pty.spec
@@ -1,155 +1,52 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-# No tests provided
-%global with_check 0
-%global with_unit_test 0
-%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 kr
-%global repo pty
-# https://github.com/kr/pty
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/kr/pty
+%global provider_prefix github.com/kr/pty
+%global gobaseipath %{provider_prefix}
%global commit 2c10821df3c3cf905230d078702dfbe9404c9b23
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20170307
-Name: golang-github-kr-pty
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.35.git%{shortcommit}%{?dist}
+Release: 0.36.%{commitdate}git%{shortcommit}%{?dist}
Summary: PTY interface for Go
License: MIT
-URL: https://godoc.org/%{import_path}
-Source0: https://%{provider_prefix}/archive/%{commit}/pty-%{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
Pty is a Go package for using UNIX pseudo-terminals.
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
-BuildArch: noarch
-
-%if 0%{?with_check}
-%endif
-
-Provides: golang(%{import_path}) = %{version}-%{release}
%description devel
Pty is a Go package for using UNIX pseudo-terminals.
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-done
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test} && 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go"); do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test.file-list
-done
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%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.36.20170307git2c10821
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.35.git2c10821
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -242,7 +139,7 @@ https://github.com/dotcloud/docker/issues/5908 )
* Mon Sep 16 2013 Lokesh Mandvekar <lsm5(a)redhat.com> git27435c6-8
- No debuginfo generated, was empty to begin with
-- package owns all directories in import_path
+- package owns all directories in gobaseipath
* Mon Sep 16 2013 Lokesh Mandvekar <lsm5(a)redhat.com> git27435c6-7
- only devel package generated
commit ac0beb53e8846efe9dfe6a185d00f9b40192c050
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:35:25 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-kr-pty.spec b/golang-github-kr-pty.spec
index cf06c6e..2c2710d 100644
--- a/golang-github-kr-pty.spec
+++ b/golang-github-kr-pty.spec
@@ -31,7 +31,7 @@
Name: golang-github-kr-pty
Version: 0
-Release: 0.34.git%{shortcommit}%{?dist}
+Release: 0.35.git%{shortcommit}%{?dist}
Summary: PTY interface for Go
License: MIT
URL: https://godoc.org/%{import_path}
@@ -150,6 +150,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.35.git2c10821
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Fri Sep 22 2017 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.34.git2c10821
- Bump to upstream 2c10821df3c3cf905230d078702dfbe9404c9b23
related: #1313956
5 years, 11 months
Architecture specific change in rpms/golang-github-kr-pretty.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-kr-pretty.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-kr-pretty.git/commi....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit cb5dc64cc57b87e850f5fb45ff5341c2e39425de
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 22:53:24 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 653c6aa..0ee1a30 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/pretty-f31442d.tar.gz
+/pretty-f31442d60e51465c69811e2107ae978868dbea5c.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..118583c
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,6 @@
+hash: b950c00371af7418a0968792ebda025e216ee3f13e277246f157e7683e55bc68
+imports:
+- name: github.com/kr/text
+ version: 67253a98dcf0dd3273ea58929d7aaaa781ef6d13
+updated: '2018-06-17T20:52:28.711754+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..aaae8ec
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,5 @@
+import:
+- package: github.com/kr/text
+ version: 67253a98dcf0dd3273ea58929d7aaaa781ef6d13
+package: github.com/kr/pretty
+
diff --git a/golang-github-kr-pretty.spec b/golang-github-kr-pretty.spec
index 0e7b1c0..090b8b6 100644
--- a/golang-github-kr-pretty.spec
+++ b/golang-github-kr-pretty.spec
@@ -1,18 +1,20 @@
# http://github.com/kr/pretty
-%global provider_prefix github.com/kr/pretty
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/kr/pretty
%global commit f31442d60e51465c69811e2107ae978868dbea5c
-%global commitdate 20140811
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.16.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.17%{?dist}
Summary: Provides pretty-printing for go values
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
Package pretty provides pretty-printing for go values. This is useful during
@@ -34,13 +36,13 @@ debugging, to avoid wrapping long output lines in the terminal.
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
@@ -53,6 +55,9 @@ building other packages which use import path with
%doc Readme
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.17.gitf31442d
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.16.20140811gitf31442d
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index c37de74..3a5ee37 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-71401062e9f75255d89358a4cb962f87 pretty-f31442d.tar.gz
+SHA512 (pretty-f31442d60e51465c69811e2107ae978868dbea5c.tar.gz) = 1e8dcfac27f0c23ca4ca42bd9119946e0ea2f132a46738d4401f23680ad2c273bfae4f8fae4d7c126da9001f9dfec67aeaa95e1aec3f364d590976c4ef161e33
commit 47308b8eae8badb8fc795db92b1e8fc85f7fceab
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 13:08:35 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-kr-pretty.spec b/golang-github-kr-pretty.spec
index 4268d3f..0e7b1c0 100644
--- a/golang-github-kr-pretty.spec
+++ b/golang-github-kr-pretty.spec
@@ -1,46 +1,18 @@
-%if 0%{?fedora} || 0%{?rhel} >= 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-# tests fail
-%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 kr
-%global repo pretty
-# https://github.com/kr/pretty
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/kr/pretty
+%global provider_prefix github.com/kr/pretty
+%global gobaseipath %{provider_prefix}
%global commit f31442d60e51465c69811e2107ae978868dbea5c
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20140811
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.15.git%{shortcommit}%{?dist}
+Release: 0.16.%{commitdate}git%{shortcommit}%{?dist}
Summary: Provides pretty-printing for go values
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
Package pretty provides pretty-printing for go values. This is useful during
@@ -48,18 +20,11 @@ debugging, to avoid wrapping long output lines in the terminal.
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
BuildRequires: golang(github.com/kr/text)
-%endif
-
-Requires: golang(github.com/kr/text)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
%description devel
Package pretty provides pretty-printing for go values. This is useful during
@@ -69,97 +34,28 @@ debugging, to avoid wrapping long output lines in the terminal.
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-done
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test} && 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go"); do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test.file-list
-done
-%endif
-
-%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 -f unit-test.file-list
-%license License
-%doc Readme
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.16.20140811gitf31442d
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.15.gitf31442d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-kr-pretty.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-kr-pretty.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-kr-pretty.git/commi....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit cb5dc64cc57b87e850f5fb45ff5341c2e39425de
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 22:53:24 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 653c6aa..0ee1a30 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/pretty-f31442d.tar.gz
+/pretty-f31442d60e51465c69811e2107ae978868dbea5c.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..118583c
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,6 @@
+hash: b950c00371af7418a0968792ebda025e216ee3f13e277246f157e7683e55bc68
+imports:
+- name: github.com/kr/text
+ version: 67253a98dcf0dd3273ea58929d7aaaa781ef6d13
+updated: '2018-06-17T20:52:28.711754+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..aaae8ec
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,5 @@
+import:
+- package: github.com/kr/text
+ version: 67253a98dcf0dd3273ea58929d7aaaa781ef6d13
+package: github.com/kr/pretty
+
diff --git a/golang-github-kr-pretty.spec b/golang-github-kr-pretty.spec
index 0e7b1c0..090b8b6 100644
--- a/golang-github-kr-pretty.spec
+++ b/golang-github-kr-pretty.spec
@@ -1,18 +1,20 @@
# http://github.com/kr/pretty
-%global provider_prefix github.com/kr/pretty
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/kr/pretty
%global commit f31442d60e51465c69811e2107ae978868dbea5c
-%global commitdate 20140811
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.16.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.17%{?dist}
Summary: Provides pretty-printing for go values
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
Package pretty provides pretty-printing for go values. This is useful during
@@ -34,13 +36,13 @@ debugging, to avoid wrapping long output lines in the terminal.
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
@@ -53,6 +55,9 @@ building other packages which use import path with
%doc Readme
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.17.gitf31442d
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.16.20140811gitf31442d
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index c37de74..3a5ee37 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-71401062e9f75255d89358a4cb962f87 pretty-f31442d.tar.gz
+SHA512 (pretty-f31442d60e51465c69811e2107ae978868dbea5c.tar.gz) = 1e8dcfac27f0c23ca4ca42bd9119946e0ea2f132a46738d4401f23680ad2c273bfae4f8fae4d7c126da9001f9dfec67aeaa95e1aec3f364d590976c4ef161e33
commit 47308b8eae8badb8fc795db92b1e8fc85f7fceab
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 13:08:35 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-kr-pretty.spec b/golang-github-kr-pretty.spec
index 4268d3f..0e7b1c0 100644
--- a/golang-github-kr-pretty.spec
+++ b/golang-github-kr-pretty.spec
@@ -1,46 +1,18 @@
-%if 0%{?fedora} || 0%{?rhel} >= 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-# tests fail
-%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 kr
-%global repo pretty
-# https://github.com/kr/pretty
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/kr/pretty
+%global provider_prefix github.com/kr/pretty
+%global gobaseipath %{provider_prefix}
%global commit f31442d60e51465c69811e2107ae978868dbea5c
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20140811
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.15.git%{shortcommit}%{?dist}
+Release: 0.16.%{commitdate}git%{shortcommit}%{?dist}
Summary: Provides pretty-printing for go values
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
Package pretty provides pretty-printing for go values. This is useful during
@@ -48,18 +20,11 @@ debugging, to avoid wrapping long output lines in the terminal.
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
BuildRequires: golang(github.com/kr/text)
-%endif
-
-Requires: golang(github.com/kr/text)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
%description devel
Package pretty provides pretty-printing for go values. This is useful during
@@ -69,97 +34,28 @@ debugging, to avoid wrapping long output lines in the terminal.
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-done
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test} && 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go"); do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test.file-list
-done
-%endif
-
-%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 -f unit-test.file-list
-%license License
-%doc Readme
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.16.20140811gitf31442d
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.15.gitf31442d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 1f7ab93b1b70636a0dff98cce7e2d59c172a1da7
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:35:14 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-kr-pretty.spec b/golang-github-kr-pretty.spec
index 03e97c5..4268d3f 100644
--- a/golang-github-kr-pretty.spec
+++ b/golang-github-kr-pretty.spec
@@ -31,7 +31,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.14.git%{shortcommit}%{?dist}
+Release: 0.15.git%{shortcommit}%{?dist}
Summary: Provides pretty-printing for go values
License: MIT
URL: https://%{provider_prefix}
@@ -160,6 +160,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.15.gitf31442d
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Oct 04 2017 Troy Dawson <tdawson(a)redhat.com> - 0-0.14.gitf31442d
- Cleanup spec file conditionals
commit 0a289263d679aa754a6f58cc3698638c8aed2e7c
Author: Troy Dawson <tdawson(a)redhat.com>
Date: Wed Oct 4 15:08:46 2017 -0700
Cleanup spec file conditionals
diff --git a/golang-github-kr-pretty.spec b/golang-github-kr-pretty.spec
index 7be6ae6..03e97c5 100644
--- a/golang-github-kr-pretty.spec
+++ b/golang-github-kr-pretty.spec
@@ -1,4 +1,4 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
+%if 0%{?fedora} || 0%{?rhel} >= 6
%global with_devel 1
%global with_bundled 0
%global with_debug 0
@@ -31,7 +31,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.13.git%{shortcommit}%{?dist}
+Release: 0.14.git%{shortcommit}%{?dist}
Summary: Provides pretty-printing for go values
License: MIT
URL: https://%{provider_prefix}
@@ -160,6 +160,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Oct 04 2017 Troy Dawson <tdawson(a)redhat.com> - 0-0.14.gitf31442d
+- Cleanup spec file conditionals
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.13.gitf31442d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-kr-fs.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-kr-fs.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-kr-fs.git/commit/?i....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit eb033ed4475895726102cfb48ca38318531ffa0f
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 20:11:07 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index fce1c90..aabf748 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/fs-2788f0d.tar.gz
+/fs-2788f0dbd16903de03cb8186e5c7d97b69ad387b.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..46a0b4a
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: afc0622fbe8a82bc6f2e5c991a702fde91d9634c7a67bb232785b2a97f3921ec
+imports: []
+updated: '2018-06-17T18:10:37.151920+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..5516db1
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/kr/fs
+
diff --git a/golang-github-kr-fs.spec b/golang-github-kr-fs.spec
index 02e9644..f5d6a54 100644
--- a/golang-github-kr-fs.spec
+++ b/golang-github-kr-fs.spec
@@ -1,18 +1,20 @@
# http://github.com/kr/fs
-%global provider_prefix github.com/kr/fs
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/kr/fs
%global commit 2788f0dbd16903de03cb8186e5c7d97b69ad387b
-%global commitdate 20131106
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.13.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.14%{?dist}
Summary: Provides Go filesystem-related functions
License: BSD
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -26,13 +28,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
@@ -45,6 +47,9 @@ building other packages which use import path with
%doc Readme
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.14.git2788f0d
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.13.20131106git2788f0d
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 6e27470..0a687d9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-89bc0e244d8b085b5ee51271cf9fc4e8 fs-2788f0d.tar.gz
+SHA512 (fs-2788f0dbd16903de03cb8186e5c7d97b69ad387b.tar.gz) = 1d1687513caf338a82e5b15624fe7b3702fd42326c433cbf4100551a2f5aa587814201166946739a2dadfecf861661b0ed31934e13bfbe3aac6221ff2624733f
commit 5d0e48a08e64a4d9b5e1b6602ad8019842a34f98
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 13:06:47 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-kr-fs.spec b/golang-github-kr-fs.spec
index e36f060..02e9644 100644
--- a/golang-github-kr-fs.spec
+++ b/golang-github-kr-fs.spec
@@ -1,165 +1,53 @@
-# If any of the following macros should be set otherwise,
-# you can wrap any of them with the following conditions:
-# - %%if 0%%{centos} == 7
-# - %%if 0%%{?rhel} == 7
-# - %%if 0%%{?fedora} == 23
-# Or just test for particular distribution:
-# - %%if 0%%{centos}
-# - %%if 0%%{?rhel}
-# - %%if 0%%{?fedora}
-#
-# Be aware, on centos, both %%rhel and %%centos are set. If you want to test
-# rhel specific macros, you can use %%if 0%%{?rhel} && 0%%{?centos} == 0 condition.
-# (Don't forget to replace double percentage symbol with single one in order to apply a condition)
-
-# Generate devel rpm
-%global with_devel 1
-# Build project from bundled dependencies
-%global with_bundled 0
-# Build with debug info rpm
-%global with_debug 0
-# Run tests in check section
-%global with_check 1
-# Generate unit-test rpm
-%global with_unit_test 1
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project kr
-%global repo fs
-# https://github.com/kr/fs
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/kr/fs
+%global provider_prefix github.com/kr/fs
+%global gobaseipath %{provider_prefix}
%global commit 2788f0dbd16903de03cb8186e5c7d97b69ad387b
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20131106
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.12.git%{shortcommit}%{?dist}
+Release: 0.13.%{commitdate}git%{shortcommit}%{?dist}
Summary: Provides Go filesystem-related functions
License: BSD
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate 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
-%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
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.13.20131106git2788f0d
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.12.git2788f0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -199,5 +87,3 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
* Wed Oct 01 2014 Jan Chaloupka <jchaloup@redhat> - 0-0.1.git2788f0d
- First package for Fedora
-
-
5 years, 11 months
Architecture specific change in rpms/golang-github-kr-fs.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-kr-fs.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-kr-fs.git/commit/?i....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit eb033ed4475895726102cfb48ca38318531ffa0f
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 20:11:07 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index fce1c90..aabf748 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/fs-2788f0d.tar.gz
+/fs-2788f0dbd16903de03cb8186e5c7d97b69ad387b.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..46a0b4a
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: afc0622fbe8a82bc6f2e5c991a702fde91d9634c7a67bb232785b2a97f3921ec
+imports: []
+updated: '2018-06-17T18:10:37.151920+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..5516db1
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/kr/fs
+
diff --git a/golang-github-kr-fs.spec b/golang-github-kr-fs.spec
index 02e9644..f5d6a54 100644
--- a/golang-github-kr-fs.spec
+++ b/golang-github-kr-fs.spec
@@ -1,18 +1,20 @@
# http://github.com/kr/fs
-%global provider_prefix github.com/kr/fs
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/kr/fs
%global commit 2788f0dbd16903de03cb8186e5c7d97b69ad387b
-%global commitdate 20131106
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.13.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.14%{?dist}
Summary: Provides Go filesystem-related functions
License: BSD
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -26,13 +28,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
@@ -45,6 +47,9 @@ building other packages which use import path with
%doc Readme
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.14.git2788f0d
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.13.20131106git2788f0d
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 6e27470..0a687d9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-89bc0e244d8b085b5ee51271cf9fc4e8 fs-2788f0d.tar.gz
+SHA512 (fs-2788f0dbd16903de03cb8186e5c7d97b69ad387b.tar.gz) = 1d1687513caf338a82e5b15624fe7b3702fd42326c433cbf4100551a2f5aa587814201166946739a2dadfecf861661b0ed31934e13bfbe3aac6221ff2624733f
commit 5d0e48a08e64a4d9b5e1b6602ad8019842a34f98
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 13:06:47 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-kr-fs.spec b/golang-github-kr-fs.spec
index e36f060..02e9644 100644
--- a/golang-github-kr-fs.spec
+++ b/golang-github-kr-fs.spec
@@ -1,165 +1,53 @@
-# If any of the following macros should be set otherwise,
-# you can wrap any of them with the following conditions:
-# - %%if 0%%{centos} == 7
-# - %%if 0%%{?rhel} == 7
-# - %%if 0%%{?fedora} == 23
-# Or just test for particular distribution:
-# - %%if 0%%{centos}
-# - %%if 0%%{?rhel}
-# - %%if 0%%{?fedora}
-#
-# Be aware, on centos, both %%rhel and %%centos are set. If you want to test
-# rhel specific macros, you can use %%if 0%%{?rhel} && 0%%{?centos} == 0 condition.
-# (Don't forget to replace double percentage symbol with single one in order to apply a condition)
-
-# Generate devel rpm
-%global with_devel 1
-# Build project from bundled dependencies
-%global with_bundled 0
-# Build with debug info rpm
-%global with_debug 0
-# Run tests in check section
-%global with_check 1
-# Generate unit-test rpm
-%global with_unit_test 1
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project kr
-%global repo fs
-# https://github.com/kr/fs
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/kr/fs
+%global provider_prefix github.com/kr/fs
+%global gobaseipath %{provider_prefix}
%global commit 2788f0dbd16903de03cb8186e5c7d97b69ad387b
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20131106
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.12.git%{shortcommit}%{?dist}
+Release: 0.13.%{commitdate}git%{shortcommit}%{?dist}
Summary: Provides Go filesystem-related functions
License: BSD
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate 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
-%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
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.13.20131106git2788f0d
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.12.git2788f0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -199,5 +87,3 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
* Wed Oct 01 2014 Jan Chaloupka <jchaloup@redhat> - 0-0.1.git2788f0d
- First package for Fedora
-
-
commit e6c9d35e29f5b1f1b40495527cb01e3b2552f6ce
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:35:05 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-kr-fs.spec b/golang-github-kr-fs.spec
index fa562c5..e36f060 100644
--- a/golang-github-kr-fs.spec
+++ b/golang-github-kr-fs.spec
@@ -41,7 +41,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.11.git%{shortcommit}%{?dist}
+Release: 0.12.git%{shortcommit}%{?dist}
Summary: Provides Go filesystem-related functions
License: BSD
URL: https://%{provider_prefix}
@@ -160,6 +160,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.git2788f0d
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.11.git2788f0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-klauspost-crc32.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-klauspost-crc32.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-klauspost-crc32.git....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit e456e904eedfe24cb889ca85d11cba6225b4eb3d
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 20:08:41 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 6dfd6d9..b4d2618 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/crc32-89873b5.tar.gz
+/crc32-89873b58f19dea110d68c709d6dd7928601ffb18.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..831182e
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: d34536a580609b21813a4441a75783be8ab382ba4068435f09248f65cb4a27b2
+imports: []
+updated: '2018-06-17T18:08:22.657244+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..9456825
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/klauspost/crc32
+
diff --git a/golang-github-klauspost-crc32.spec b/golang-github-klauspost-crc32.spec
index 0fc46b8..8782249 100644
--- a/golang-github-klauspost-crc32.spec
+++ b/golang-github-klauspost-crc32.spec
@@ -1,20 +1,22 @@
# http://github.com/klauspost/crc32
-%global provider_prefix github.com/klauspost/crc32
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/klauspost/crc32
%global commit 89873b58f19dea110d68c709d6dd7928601ffb18
-%global commitdate 20160114
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.9.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.10%{?dist}
Summary: CRC32 hash with x64 optimizations
# Detected licences
# - BSD (3 clause) at 'LICENSE'
License: BSD
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -27,13 +29,13 @@ Summary: %{summary}
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
@@ -46,6 +48,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.10.git89873b5
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.9.20160114git89873b5
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 9321c20..5af35b5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1e507e6e768a2ec5c2c590f3490ff644 crc32-89873b5.tar.gz
+SHA512 (crc32-89873b58f19dea110d68c709d6dd7928601ffb18.tar.gz) = 4ddf882026dbff94ef0bb75d806cec24e5e4e6ffb87c5c73014a0aa2b2f8e8a582f145c8e575e2560084c73aa951289f43e9b437f756e6309d2caea7b0d0d168
commit ff9fde3d38992f468cfdbef59904596ed6440449
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 13:00:30 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-klauspost-crc32.spec b/golang-github-klauspost-crc32.spec
index 5e0d9b9..0fc46b8 100644
--- a/golang-github-klauspost-crc32.spec
+++ b/golang-github-klauspost-crc32.spec
@@ -1,157 +1,54 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%else
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%endif
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project klauspost
-%global repo crc32
-# https://github.com/klauspost/crc32
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/klauspost/crc32
+%global provider_prefix github.com/klauspost/crc32
+%global gobaseipath %{provider_prefix}
%global commit 89873b58f19dea110d68c709d6dd7928601ffb18
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20160114
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.8.git%{shortcommit}%{?dist}
+Release: 0.9.%{commitdate}git%{shortcommit}%{?dist}
Summary: CRC32 hash with x64 optimizations
# Detected licences
# - BSD (3 clause) at 'LICENSE'
License: BSD
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{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" -o -iname "*.s" \) \! -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.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test-devel -f unit-test-devel.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.9.20160114git89873b5
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.8.git89873b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-klauspost-crc32.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-klauspost-crc32.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-klauspost-crc32.git....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit e456e904eedfe24cb889ca85d11cba6225b4eb3d
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 20:08:41 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 6dfd6d9..b4d2618 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/crc32-89873b5.tar.gz
+/crc32-89873b58f19dea110d68c709d6dd7928601ffb18.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..831182e
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: d34536a580609b21813a4441a75783be8ab382ba4068435f09248f65cb4a27b2
+imports: []
+updated: '2018-06-17T18:08:22.657244+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..9456825
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/klauspost/crc32
+
diff --git a/golang-github-klauspost-crc32.spec b/golang-github-klauspost-crc32.spec
index 0fc46b8..8782249 100644
--- a/golang-github-klauspost-crc32.spec
+++ b/golang-github-klauspost-crc32.spec
@@ -1,20 +1,22 @@
# http://github.com/klauspost/crc32
-%global provider_prefix github.com/klauspost/crc32
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/klauspost/crc32
%global commit 89873b58f19dea110d68c709d6dd7928601ffb18
-%global commitdate 20160114
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.9.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.10%{?dist}
Summary: CRC32 hash with x64 optimizations
# Detected licences
# - BSD (3 clause) at 'LICENSE'
License: BSD
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -27,13 +29,13 @@ Summary: %{summary}
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
@@ -46,6 +48,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.10.git89873b5
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.9.20160114git89873b5
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 9321c20..5af35b5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1e507e6e768a2ec5c2c590f3490ff644 crc32-89873b5.tar.gz
+SHA512 (crc32-89873b58f19dea110d68c709d6dd7928601ffb18.tar.gz) = 4ddf882026dbff94ef0bb75d806cec24e5e4e6ffb87c5c73014a0aa2b2f8e8a582f145c8e575e2560084c73aa951289f43e9b437f756e6309d2caea7b0d0d168
commit ff9fde3d38992f468cfdbef59904596ed6440449
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 13:00:30 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-klauspost-crc32.spec b/golang-github-klauspost-crc32.spec
index 5e0d9b9..0fc46b8 100644
--- a/golang-github-klauspost-crc32.spec
+++ b/golang-github-klauspost-crc32.spec
@@ -1,157 +1,54 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%else
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%endif
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project klauspost
-%global repo crc32
-# https://github.com/klauspost/crc32
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/klauspost/crc32
+%global provider_prefix github.com/klauspost/crc32
+%global gobaseipath %{provider_prefix}
%global commit 89873b58f19dea110d68c709d6dd7928601ffb18
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20160114
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.8.git%{shortcommit}%{?dist}
+Release: 0.9.%{commitdate}git%{shortcommit}%{?dist}
Summary: CRC32 hash with x64 optimizations
# Detected licences
# - BSD (3 clause) at 'LICENSE'
License: BSD
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{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" -o -iname "*.s" \) \! -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.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test-devel -f unit-test-devel.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.9.20160114git89873b5
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.8.git89873b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 52ebeae0e225a8ee255e270e16be7b9051f21396
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:34:37 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-klauspost-crc32.spec b/golang-github-klauspost-crc32.spec
index 858ec8b..5e0d9b9 100644
--- a/golang-github-klauspost-crc32.spec
+++ b/golang-github-klauspost-crc32.spec
@@ -30,7 +30,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.7.git%{shortcommit}%{?dist}
+Release: 0.8.git%{shortcommit}%{?dist}
Summary: CRC32 hash with x64 optimizations
# Detected licences
# - BSD (3 clause) 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.8.git89873b5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.7.git89873b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-kimor79-gollectd.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-kimor79-gollectd.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-kimor79-gollectd.gi....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 3f5c5b6809e2aa11cb64216d9e3dbbed658a3c04
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 19:51:09 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index dd44193..7ba59e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/gollectd-1d0fc88.tar.gz
+/gollectd-1d0fc88b7c2bf0ba79021ddca2b5f5fd9cc3a5a3.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..35d7510
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: 1f91b1d3d6922fb19375fdcd907833dd4ba3e53ff6d75dcd9347a5612deb5ab1
+imports: []
+updated: '2018-06-17T17:50:50.640079+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..9a0fca7
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/kimor79/gollectd
+
diff --git a/golang-github-kimor79-gollectd.spec b/golang-github-kimor79-gollectd.spec
index 1d36e0a..e095d3e 100644
--- a/golang-github-kimor79-gollectd.spec
+++ b/golang-github-kimor79-gollectd.spec
@@ -1,18 +1,20 @@
# http://github.com/kimor79/gollectd
-%global provider_prefix github.com/kimor79/gollectd
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/kimor79/gollectd
%global commit 1d0fc88b7c2bf0ba79021ddca2b5f5fd9cc3a5a3
-%global commitdate 20141029
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.13.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.14%{?dist}
Summary: A go parser for the collectd binary protocol
License: BSD
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -28,13 +30,13 @@ BuildRequires: golang(github.com/stretchr/testify/assert)
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.14.git1d0fc88
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.13.20141029git1d0fc88
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 322b658..284373e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fea0e1a8c17955caef641cc06f33a372 gollectd-1d0fc88.tar.gz
+SHA512 (gollectd-1d0fc88b7c2bf0ba79021ddca2b5f5fd9cc3a5a3.tar.gz) = d572ed2b1859548ec9c8abfe697d69a95298714b4f820b0161b9d64826a231bcdb742ccb784f496af16ec0fa04a42c31e20f8e76ad95e01e001a50d8a90e96d3
commit 40c82ae4e7caf52810a5b040c1700307f97a486e
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 12:40:37 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-kimor79-gollectd.spec b/golang-github-kimor79-gollectd.spec
index 208edc2..1d36e0a 100644
--- a/golang-github-kimor79-gollectd.spec
+++ b/golang-github-kimor79-gollectd.spec
@@ -1,158 +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 kimor79
-%global repo gollectd
-# https://github.com/kimor79/gollectd
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/kimor79/gollectd
+%global provider_prefix github.com/kimor79/gollectd
+%global gobaseipath %{provider_prefix}
%global commit 1d0fc88b7c2bf0ba79021ddca2b5f5fd9cc3a5a3
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20141029
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.12.git%{shortcommit}%{?dist}
+Release: 0.13.%{commitdate}git%{shortcommit}%{?dist}
Summary: A go parser for the collectd binary protocol
License: BSD
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
BuildRequires: golang(github.com/stretchr/testify/assert)
-%endif
-
-Requires: golang(github.com/stretchr/testify/assert)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%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.13.20141029git1d0fc88
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.12.git1d0fc88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -193,4 +90,3 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
- First package for Fedora
resolves: #1162106
-
5 years, 11 months
Architecture specific change in rpms/golang-github-kimor79-gollectd.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-kimor79-gollectd.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-kimor79-gollectd.gi....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 3f5c5b6809e2aa11cb64216d9e3dbbed658a3c04
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 19:51:09 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index dd44193..7ba59e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/gollectd-1d0fc88.tar.gz
+/gollectd-1d0fc88b7c2bf0ba79021ddca2b5f5fd9cc3a5a3.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..35d7510
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: 1f91b1d3d6922fb19375fdcd907833dd4ba3e53ff6d75dcd9347a5612deb5ab1
+imports: []
+updated: '2018-06-17T17:50:50.640079+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..9a0fca7
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/kimor79/gollectd
+
diff --git a/golang-github-kimor79-gollectd.spec b/golang-github-kimor79-gollectd.spec
index 1d36e0a..e095d3e 100644
--- a/golang-github-kimor79-gollectd.spec
+++ b/golang-github-kimor79-gollectd.spec
@@ -1,18 +1,20 @@
# http://github.com/kimor79/gollectd
-%global provider_prefix github.com/kimor79/gollectd
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/kimor79/gollectd
%global commit 1d0fc88b7c2bf0ba79021ddca2b5f5fd9cc3a5a3
-%global commitdate 20141029
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.13.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.14%{?dist}
Summary: A go parser for the collectd binary protocol
License: BSD
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -28,13 +30,13 @@ BuildRequires: golang(github.com/stretchr/testify/assert)
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.14.git1d0fc88
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.13.20141029git1d0fc88
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 322b658..284373e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fea0e1a8c17955caef641cc06f33a372 gollectd-1d0fc88.tar.gz
+SHA512 (gollectd-1d0fc88b7c2bf0ba79021ddca2b5f5fd9cc3a5a3.tar.gz) = d572ed2b1859548ec9c8abfe697d69a95298714b4f820b0161b9d64826a231bcdb742ccb784f496af16ec0fa04a42c31e20f8e76ad95e01e001a50d8a90e96d3
commit 40c82ae4e7caf52810a5b040c1700307f97a486e
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 12:40:37 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-kimor79-gollectd.spec b/golang-github-kimor79-gollectd.spec
index 208edc2..1d36e0a 100644
--- a/golang-github-kimor79-gollectd.spec
+++ b/golang-github-kimor79-gollectd.spec
@@ -1,158 +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 kimor79
-%global repo gollectd
-# https://github.com/kimor79/gollectd
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/kimor79/gollectd
+%global provider_prefix github.com/kimor79/gollectd
+%global gobaseipath %{provider_prefix}
%global commit 1d0fc88b7c2bf0ba79021ddca2b5f5fd9cc3a5a3
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20141029
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.12.git%{shortcommit}%{?dist}
+Release: 0.13.%{commitdate}git%{shortcommit}%{?dist}
Summary: A go parser for the collectd binary protocol
License: BSD
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
BuildRequires: golang(github.com/stretchr/testify/assert)
-%endif
-
-Requires: golang(github.com/stretchr/testify/assert)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%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.13.20141029git1d0fc88
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.12.git1d0fc88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -193,4 +90,3 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
- First package for Fedora
resolves: #1162106
-
commit 4521441dd020959054028834ab8bd79a63b0ddc6
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:34:14 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-kimor79-gollectd.spec b/golang-github-kimor79-gollectd.spec
index 9a0e0b6..208edc2 100644
--- a/golang-github-kimor79-gollectd.spec
+++ b/golang-github-kimor79-gollectd.spec
@@ -30,7 +30,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.11.git%{shortcommit}%{?dist}
+Release: 0.12.git%{shortcommit}%{?dist}
Summary: A go parser for the collectd binary protocol
License: BSD
URL: https://%{provider_prefix}
@@ -153,6 +153,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.git1d0fc88
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.11.git1d0fc88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5 years, 11 months