Architecture specific change in rpms/golang-github-Masterminds-semver.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-Masterminds-semver.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-Masterminds-semver.....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit df0296d55239d3c996d857318d6486968afb5cae
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 23:54:26 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 074830d..cb3cb2c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/semver-8d04313.tar.gz
+/semver-8d0431362b544d1a3536cca26684828866a7de09.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..9c69dc2
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: 0e8ece7b2fa7c10d57bbf5b71ef3ccd3228712fb61cb3e599c329f7ba0975b1b
+imports: []
+updated: '2018-06-17T21:54:08.010240+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..48138aa
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/Masterminds/semver
+
diff --git a/golang-github-Masterminds-semver.spec b/golang-github-Masterminds-semver.spec
index 24cc549..1d1dcbb 100644
--- a/golang-github-Masterminds-semver.spec
+++ b/golang-github-Masterminds-semver.spec
@@ -1,20 +1,22 @@
# http://github.com/Masterminds/semver
-%global provider_prefix github.com/Masterminds/semver
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/Masterminds/semver
%global commit 8d0431362b544d1a3536cca26684828866a7de09
-%global commitdate 20160630
-%gocraftmeta -i
-Name: %{goname}
+%gometa -i
+
+Name: golang-github-Masterminds-semver
Version: 1.1.1
-Release: 0.6.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.7%{?dist}
Summary: Work with Semantic Versions in Go
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE.txt'
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -28,13 +30,13 @@ BuildArch: noarch
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
-%gosetup
-
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
%gochecks
@@ -47,6 +49,9 @@ building other packages which use import path with
%doc CHANGELOG.md README.md
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1.1.1-0.7.git8d04313
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1.1.1-0.6.20160630git8d04313
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 83c4f6a..57d20d5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d34ca8d73c247e04a01736d24cc2a8bf semver-8d04313.tar.gz
+SHA512 (semver-8d0431362b544d1a3536cca26684828866a7de09.tar.gz) = 14073d02956f36711d346c7da4d24fff06358e49a7c952c9142a631a10ced6415f938ce504927e7f985ddf06f6f9d94cb1257b62977a0098a0760ba7bae5b288
commit d37a6aca02899f9be2fefe8ff309b6b1949bea0e
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 13:47:36 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-Masterminds-semver.spec b/golang-github-Masterminds-semver.spec
index 8ca9954..24cc549 100644
--- a/golang-github-Masterminds-semver.spec
+++ b/golang-github-Masterminds-semver.spec
@@ -1,169 +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 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 Masterminds
-%global repo semver
-# https://github.com/Masterminds/semver
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/Masterminds/semver
+%global provider_prefix github.com/Masterminds/semver
+%global gobaseipath %{provider_prefix}
%global commit 8d0431362b544d1a3536cca26684828866a7de09
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20160630
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 1.1.1
-Release: 0.5.git%{shortcommit}%{?dist}
+Release: 0.6.%{commitdate}git%{shortcommit}%{?dist}
Summary: Work with Semantic Versions in Go
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE.txt'
License: MIT
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check} && ! 0%{?with_bundled}
-%endif
-
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%if 0%{?with_check} && ! 0%{?with_bundled}
-%endif
-
-
-%description unit-test-devel
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%gosetup
-%build
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go" | grep -v "Godeps/_workspace") ; do
- dirprefix=$(dirname $file)
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$dirprefix
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-
- while [ "$dirprefix" != "." ]; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list
- dirprefix=$(dirname $dirprefix)
- done
-done
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test} && 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test-devel.file-list
-for file in $(find . -iname "*_test.go" | grep -v "Godeps/_workspace") ; do
- dirprefix=$(dirname $file)
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$dirprefix
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list
-
- while [ "$dirprefix" != "." ]; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list
- dirprefix=$(dirname $dirprefix)
- done
-done
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-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.txt
%doc CHANGELOG.md README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test-devel -f unit-test-devel.file-list
-%license LICENSE.txt
-%doc CHANGELOG.md README.md
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1.1.1-0.6.20160630git8d04313
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.1-0.5.git8d04313
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-Masterminds-semver.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-Masterminds-semver.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-Masterminds-semver.....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit df0296d55239d3c996d857318d6486968afb5cae
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 23:54:26 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 074830d..cb3cb2c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/semver-8d04313.tar.gz
+/semver-8d0431362b544d1a3536cca26684828866a7de09.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..9c69dc2
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: 0e8ece7b2fa7c10d57bbf5b71ef3ccd3228712fb61cb3e599c329f7ba0975b1b
+imports: []
+updated: '2018-06-17T21:54:08.010240+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..48138aa
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/Masterminds/semver
+
diff --git a/golang-github-Masterminds-semver.spec b/golang-github-Masterminds-semver.spec
index 24cc549..1d1dcbb 100644
--- a/golang-github-Masterminds-semver.spec
+++ b/golang-github-Masterminds-semver.spec
@@ -1,20 +1,22 @@
# http://github.com/Masterminds/semver
-%global provider_prefix github.com/Masterminds/semver
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/Masterminds/semver
%global commit 8d0431362b544d1a3536cca26684828866a7de09
-%global commitdate 20160630
-%gocraftmeta -i
-Name: %{goname}
+%gometa -i
+
+Name: golang-github-Masterminds-semver
Version: 1.1.1
-Release: 0.6.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.7%{?dist}
Summary: Work with Semantic Versions in Go
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE.txt'
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -28,13 +30,13 @@ BuildArch: noarch
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
-%gosetup
-
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
%install
-%goinstall
+%goinstall glide.lock glide.yaml
%check
%gochecks
@@ -47,6 +49,9 @@ building other packages which use import path with
%doc CHANGELOG.md README.md
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1.1.1-0.7.git8d04313
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1.1.1-0.6.20160630git8d04313
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 83c4f6a..57d20d5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d34ca8d73c247e04a01736d24cc2a8bf semver-8d04313.tar.gz
+SHA512 (semver-8d0431362b544d1a3536cca26684828866a7de09.tar.gz) = 14073d02956f36711d346c7da4d24fff06358e49a7c952c9142a631a10ced6415f938ce504927e7f985ddf06f6f9d94cb1257b62977a0098a0760ba7bae5b288
commit d37a6aca02899f9be2fefe8ff309b6b1949bea0e
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 13:47:36 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-Masterminds-semver.spec b/golang-github-Masterminds-semver.spec
index 8ca9954..24cc549 100644
--- a/golang-github-Masterminds-semver.spec
+++ b/golang-github-Masterminds-semver.spec
@@ -1,169 +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 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 Masterminds
-%global repo semver
-# https://github.com/Masterminds/semver
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/Masterminds/semver
+%global provider_prefix github.com/Masterminds/semver
+%global gobaseipath %{provider_prefix}
%global commit 8d0431362b544d1a3536cca26684828866a7de09
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20160630
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 1.1.1
-Release: 0.5.git%{shortcommit}%{?dist}
+Release: 0.6.%{commitdate}git%{shortcommit}%{?dist}
Summary: Work with Semantic Versions in Go
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE.txt'
License: MIT
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check} && ! 0%{?with_bundled}
-%endif
-
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%if 0%{?with_check} && ! 0%{?with_bundled}
-%endif
-
-
-%description unit-test-devel
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
+%gosetup
-%build
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go" | grep -v "Godeps/_workspace") ; do
- dirprefix=$(dirname $file)
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$dirprefix
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-
- while [ "$dirprefix" != "." ]; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list
- dirprefix=$(dirname $dirprefix)
- done
-done
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test} && 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test-devel.file-list
-for file in $(find . -iname "*_test.go" | grep -v "Godeps/_workspace") ; do
- dirprefix=$(dirname $file)
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$dirprefix
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list
-
- while [ "$dirprefix" != "." ]; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list
- dirprefix=$(dirname $dirprefix)
- done
-done
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-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.txt
%doc CHANGELOG.md README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test-devel -f unit-test-devel.file-list
-%license LICENSE.txt
-%doc CHANGELOG.md README.md
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1.1.1-0.6.20160630git8d04313
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.1-0.5.git8d04313
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit d02e774d3f4d590c59f0fea52c1c433dd4572b02
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 13:53:01 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-Masterminds-semver.spec b/golang-github-Masterminds-semver.spec
index 3f29661..8ca9954 100644
--- a/golang-github-Masterminds-semver.spec
+++ b/golang-github-Masterminds-semver.spec
@@ -30,7 +30,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 1.1.1
-Release: 0.4.git%{shortcommit}%{?dist}
+Release: 0.5.git%{shortcommit}%{?dist}
Summary: Work with Semantic Versions in Go
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE.txt'
@@ -164,6 +164,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.1-0.5.git8d04313
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.1-0.4.git8d04313
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-MakeNowJust-heredoc.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-MakeNowJust-heredoc.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-MakeNowJust-heredoc....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 4c061a0b9f8bda0253e6b4b7172d24f8fe375be8
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 23:47:47 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 75985fa..957ad3a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-/heredoc-1d91351.tar.gz
-/heredoc-bb23615.tar.gz
+/heredoc-bb23615498cded5e105af4ce27de75b089cbe851.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..2db5f4b
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: b6a582d0ff1bb35bacf5a59bc454f13c34e92caf5b979fcd0de4811d283508ac
+imports: []
+updated: '2018-06-17T21:47:30.828098+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..2b88b3d
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/MakeNowJust/heredoc
+
diff --git a/golang-github-MakeNowJust-heredoc.spec b/golang-github-MakeNowJust-heredoc.spec
index 085df17..122cc45 100644
--- a/golang-github-MakeNowJust-heredoc.spec
+++ b/golang-github-MakeNowJust-heredoc.spec
@@ -1,18 +1,20 @@
# http://github.com/MakeNowJust/heredoc
-%global provider_prefix github.com/MakeNowJust/heredoc
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/MakeNowJust/heredoc
%global commit bb23615498cded5e105af4ce27de75b089cbe851
-%global commitdate 20170808
-%gocraftmeta -i
-Name: %{goname}
+%gometa -i
+
+Name: golang-github-MakeNowJust-heredoc
Version: 0
-Release: 0.11.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.12%{?dist}
Summary: Package heredoc provides the here-document with keeping indent
License: MIT
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.md
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.12.gitbb23615
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.11.20170808gitbb23615
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 28b631e..e391bed 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (heredoc-bb23615.tar.gz) = b877b8b0e67f300ed9773b32593a1edec2fb6df3b0d5026cc7b67490ec9a4cb0d9630fb30dc3dee6b7081f81c3fbf1399809c4bb171a5afab665ff93a9f3a034
+SHA512 (heredoc-bb23615498cded5e105af4ce27de75b089cbe851.tar.gz) = b877b8b0e67f300ed9773b32593a1edec2fb6df3b0d5026cc7b67490ec9a4cb0d9630fb30dc3dee6b7081f81c3fbf1399809c4bb171a5afab665ff93a9f3a034
commit 5e620ec432ab63d8e9ba24a41e7a3d24d10972de
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 13:33:45 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-MakeNowJust-heredoc.spec b/golang-github-MakeNowJust-heredoc.spec
index c7763aa..085df17 100644
--- a/golang-github-MakeNowJust-heredoc.spec
+++ b/golang-github-MakeNowJust-heredoc.spec
@@ -1,153 +1,53 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%else
-%global with_devel 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 MakeNowJust
-%global repo heredoc
-# https://github.com/MakeNowJust/heredoc
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/MakeNowJust/heredoc
+%global provider_prefix github.com/MakeNowJust/heredoc
+%global gobaseipath %{provider_prefix}
%global commit bb23615498cded5e105af4ce27de75b089cbe851
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20170808
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.10.git%{shortcommit}%{?dist}
+Release: 0.11.%{commitdate}git%{shortcommit}%{?dist}
Summary: Package heredoc provides the here-document with keeping indent
License: MIT
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/dot) = %{version}-%{release}
-
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-done
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test} && 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go"); do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test.file-list
-done
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}
-%endif
+%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test -f unit-test.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.11.20170808gitbb23615
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.10.gitbb23615
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-MakeNowJust-heredoc.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-MakeNowJust-heredoc.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-MakeNowJust-heredoc....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 4c061a0b9f8bda0253e6b4b7172d24f8fe375be8
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 23:47:47 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 75985fa..957ad3a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-/heredoc-1d91351.tar.gz
-/heredoc-bb23615.tar.gz
+/heredoc-bb23615498cded5e105af4ce27de75b089cbe851.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..2db5f4b
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: b6a582d0ff1bb35bacf5a59bc454f13c34e92caf5b979fcd0de4811d283508ac
+imports: []
+updated: '2018-06-17T21:47:30.828098+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..2b88b3d
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/MakeNowJust/heredoc
+
diff --git a/golang-github-MakeNowJust-heredoc.spec b/golang-github-MakeNowJust-heredoc.spec
index 085df17..122cc45 100644
--- a/golang-github-MakeNowJust-heredoc.spec
+++ b/golang-github-MakeNowJust-heredoc.spec
@@ -1,18 +1,20 @@
# http://github.com/MakeNowJust/heredoc
-%global provider_prefix github.com/MakeNowJust/heredoc
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/MakeNowJust/heredoc
%global commit bb23615498cded5e105af4ce27de75b089cbe851
-%global commitdate 20170808
-%gocraftmeta -i
-Name: %{goname}
+%gometa -i
+
+Name: golang-github-MakeNowJust-heredoc
Version: 0
-Release: 0.11.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.12%{?dist}
Summary: Package heredoc provides the here-document with keeping indent
License: MIT
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.md
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.12.gitbb23615
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.11.20170808gitbb23615
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 28b631e..e391bed 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (heredoc-bb23615.tar.gz) = b877b8b0e67f300ed9773b32593a1edec2fb6df3b0d5026cc7b67490ec9a4cb0d9630fb30dc3dee6b7081f81c3fbf1399809c4bb171a5afab665ff93a9f3a034
+SHA512 (heredoc-bb23615498cded5e105af4ce27de75b089cbe851.tar.gz) = b877b8b0e67f300ed9773b32593a1edec2fb6df3b0d5026cc7b67490ec9a4cb0d9630fb30dc3dee6b7081f81c3fbf1399809c4bb171a5afab665ff93a9f3a034
commit 5e620ec432ab63d8e9ba24a41e7a3d24d10972de
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 13:33:45 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-MakeNowJust-heredoc.spec b/golang-github-MakeNowJust-heredoc.spec
index c7763aa..085df17 100644
--- a/golang-github-MakeNowJust-heredoc.spec
+++ b/golang-github-MakeNowJust-heredoc.spec
@@ -1,153 +1,53 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%else
-%global with_devel 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 MakeNowJust
-%global repo heredoc
-# https://github.com/MakeNowJust/heredoc
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/MakeNowJust/heredoc
+%global provider_prefix github.com/MakeNowJust/heredoc
+%global gobaseipath %{provider_prefix}
%global commit bb23615498cded5e105af4ce27de75b089cbe851
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20170808
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.10.git%{shortcommit}%{?dist}
+Release: 0.11.%{commitdate}git%{shortcommit}%{?dist}
Summary: Package heredoc provides the here-document with keeping indent
License: MIT
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/dot) = %{version}-%{release}
-
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-done
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test} && 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go"); do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test.file-list
-done
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}
-%endif
+%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test -f unit-test.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.11.20170808gitbb23615
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.10.gitbb23615
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 5401072c7076c4522c613826070a47aaac51a3c9
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 13:52:52 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-MakeNowJust-heredoc.spec b/golang-github-MakeNowJust-heredoc.spec
index dd9fbf0..c7763aa 100644
--- a/golang-github-MakeNowJust-heredoc.spec
+++ b/golang-github-MakeNowJust-heredoc.spec
@@ -30,7 +30,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.9.git%{shortcommit}%{?dist}
+Release: 0.10.git%{shortcommit}%{?dist}
Summary: Package heredoc provides the here-document with keeping indent
License: MIT
URL: https://%{provider_prefix}
@@ -148,6 +148,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.10.gitbb23615
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Thu Aug 24 2017 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.9.gitbb23615
- Bump to upstream bb23615498cded5e105af4ce27de75b089cbe851
resolves: #1365480
commit c643b7461e0407b36c28dc1fcd99a0d2a86a8e80
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Aug 24 12:22:51 2017 +0200
Bump to upstream bb23615498cded5e105af4ce27de75b089cbe851
- resolves: #1365480
diff --git a/.gitignore b/.gitignore
index 169ece7..75985fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/heredoc-1d91351.tar.gz
+/heredoc-bb23615.tar.gz
diff --git a/golang-github-MakeNowJust-heredoc.spec b/golang-github-MakeNowJust-heredoc.spec
index aa2bf34..dd9fbf0 100644
--- a/golang-github-MakeNowJust-heredoc.spec
+++ b/golang-github-MakeNowJust-heredoc.spec
@@ -25,12 +25,12 @@
# https://github.com/MakeNowJust/heredoc
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix}
-%global commit 1d91351acdc1cb2f2c995864674b754134b86ca7
+%global commit bb23615498cded5e105af4ce27de75b089cbe851
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.8.git%{shortcommit}%{?dist}
+Release: 0.9.git%{shortcommit}%{?dist}
Summary: Package heredoc provides the here-document with keeping indent
License: MIT
URL: https://%{provider_prefix}
@@ -148,6 +148,10 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Thu Aug 24 2017 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.9.gitbb23615
+- Bump to upstream bb23615498cded5e105af4ce27de75b089cbe851
+ resolves: #1365480
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.8.git1d91351
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
diff --git a/sources b/sources
index 3f1a1bb..28b631e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-585100b210e29f3a185c63c5997466e0 heredoc-1d91351.tar.gz
+SHA512 (heredoc-bb23615.tar.gz) = b877b8b0e67f300ed9773b32593a1edec2fb6df3b0d5026cc7b67490ec9a4cb0d9630fb30dc3dee6b7081f81c3fbf1399809c4bb171a5afab665ff93a9f3a034
5 years, 11 months
Architecture specific change in rpms/golang-github-lsegal-gucumber.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-lsegal-gucumber.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-lsegal-gucumber.git....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 65095f7eb37042eeef496ab223c13d73c7e7d05b
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 23:31:13 2018 +0200
Upload glide files
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..aed62fa
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,23 @@
+hash: 52e0d0fb98aa5e255088308cd73a5d2293171e43140c02db1acc20c98ebdf4e1
+imports:
+- name: github.com/stretchr/testify
+ subpackages:
+ - assert
+ version: f6abca593680b2315d2075e0f5e2a9751e3f431a
+- name: github.com/pmezard/go-difflib
+ subpackages:
+ - difflib
+ version: 792786c7400a136282c1664665ae0a8db921c6c2
+- name: github.com/davecgh/go-spew
+ subpackages:
+ - spew
+ version: 782f4967f2dc4564575ca782fe2d04090b5faca8
+- name: github.com/gucumber/gucumber
+ subpackages:
+ - gherkin
+ - ''
+ version: 5903a8deba47bd11299556c6151b3cbe0fbec3d4
+- name: github.com/shiena/ansicolor
+ version: a422bbe96644373c5753384a59d678f7d261ff10
+updated: '2018-06-17T21:30:31.897769+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..d28a815
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,22 @@
+import:
+- package: github.com/stretchr/testify
+ subpackages:
+ - assert
+ version: f6abca593680b2315d2075e0f5e2a9751e3f431a
+- package: github.com/pmezard/go-difflib
+ subpackages:
+ - difflib
+ version: 792786c7400a136282c1664665ae0a8db921c6c2
+- package: github.com/davecgh/go-spew
+ subpackages:
+ - spew
+ version: 782f4967f2dc4564575ca782fe2d04090b5faca8
+- package: github.com/gucumber/gucumber
+ subpackages:
+ - gherkin
+ - ''
+ version: 5903a8deba47bd11299556c6151b3cbe0fbec3d4
+- package: github.com/shiena/ansicolor
+ version: a422bbe96644373c5753384a59d678f7d261ff10
+package: github.com/lsegal/gucumber
+
diff --git a/golang-github-lsegal-gucumber.spec b/golang-github-lsegal-gucumber.spec
index 7aaec42..be32a82 100644
--- a/golang-github-lsegal-gucumber.spec
+++ b/golang-github-lsegal-gucumber.spec
@@ -1,21 +1,21 @@
# http://github.com/gucumber/gucumber
-%global provider_prefix github.com/gucumber/gucumber
-%global gobaseipath %{provider_prefix}
-%global sec_gobaseipath github.com/lsegal/gucumber
+%global sec_goipath github.com/gucumber/gucumber
+%global goipath github.com/lsegal/gucumber
%global commit 71608e2f6e76fd4da5b09a376aeec7a5c0b5edbc
-%global commitdate 20160715
-%global __go_additional_ipps %{sec_gobaseipath}
+%gometa -i
-%gocraftmeta -i
+%global sec_name %gorpmname %{sec_goipath}
-Name: %{goname}
+Name: golang-github-lsegal-gucumber
Version: 0
-Release: 0.10.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.11%{?dist}
Summary: An implementation of Cucumber BDD-style testing for Go
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -32,23 +32,37 @@ 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.
+
+%package -n %{sec_name}-devel
+Summary: %{summary}
+BuildArch: noarch
+
+BuildRequires: golang(github.com/shiena/ansicolor)
+BuildRequires: golang(github.com/stretchr/testify/assert)
+
+%description -n %{sec_name}-devel
+%{summary}
+
+This package contains library source intended for
+building other packages which use import path with
+%{goipath} prefix.
%prep
-%gosetup
+%forgesetup
chmod -x LICENSE.txt README.md
%install
-find . -iname "*.go" -exec chmod -x {} \;
-%goinstall
-%goinstall -i %{sec_gobaseipath}
-pushd %{buildroot}/%{gopath}/src/%{sec_gobaseipath}/
+%goinstall glide.lock glide.yaml
+%goinstall glide.lock glide.yaml -i %{sec_goipath} -o sec-devel.file-list
+
+pushd %{buildroot}/%{gopath}/src/%{sec_goipath}/
sed -i 's/"github\.com\/gucumber\/gucumber/"github\.com\/lsegal\/gucumber/g' \
$(find . -name '*.go')
popd
%check
-%gochecks %{gobaseipath}
+%gochecks -d .
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -57,7 +71,14 @@ popd
%license LICENSE.txt
%doc README.md
+%files -n %{sec_name}-devel -f sec-devel.file-list
+%license LICENSE.txt
+%doc README.md
+
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.11.git71608e2
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.10.20160715git71608e2
- Autogenerate some parts using the new macros
commit 431c2f21de7648a5b8a8d018cd49048f92b0adde
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 13:28:58 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-lsegal-gucumber.spec b/golang-github-lsegal-gucumber.spec
index 9ba1f03..7aaec42 100644
--- a/golang-github-lsegal-gucumber.spec
+++ b/golang-github-lsegal-gucumber.spec
@@ -1,188 +1,66 @@
-# 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 gucumber
-%global repo gucumber
-# https://github.com/gucumber/gucumber
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global sec_import_path github.com/lsegal/gucumber
+# http://github.com/gucumber/gucumber
+%global provider_prefix github.com/gucumber/gucumber
+%global gobaseipath %{provider_prefix}
+%global sec_gobaseipath github.com/lsegal/gucumber
%global commit 71608e2f6e76fd4da5b09a376aeec7a5c0b5edbc
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20160715
-Name: golang-%{provider}-lsegal-%{repo}
+%global __go_additional_ipps %{sec_gobaseipath}
+
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.9.git%{shortcommit}%{?dist}
+Release: 0.10.%{commitdate}git%{shortcommit}%{?dist}
Summary: An implementation of Cucumber BDD-style testing for Go
License: MIT
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
BuildRequires: golang(github.com/shiena/ansicolor)
BuildRequires: golang(github.com/stretchr/testify/assert)
-%endif
-
-Requires: golang(github.com/shiena/ansicolor)
-Requires: golang(github.com/stretchr/testify/assert)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/gherkin) = %{version}-%{release}
-Provides: golang(%{sec_import_path}) = %{version}-%{release}
-Provides: golang(%{sec_import_path}/gherkin) = %{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}
-chmod -x LICENSE.txt README.md runner.go
-
-%build
+%gosetup
+chmod -x LICENSE.txt README.md
%install
find . -iname "*.go" -exec chmod -x {} \;
-chmod -x README.md LICENSE.txt
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-install -d -p %{buildroot}/%{gopath}/src/%{sec_import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-echo "%%dir %%{gopath}/src/%%{sec_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
-
- echo "%%dir %%{gopath}/src/%%{sec_import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{sec_import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{sec_import_path}/$file
- echo "%%{gopath}/src/%%{sec_import_path}/$file" >> devel.file-list
-done
-
-pushd %{buildroot}/%{gopath}/src/%{sec_import_path}/
+%goinstall
+%goinstall -i %{sec_gobaseipath}
+pushd %{buildroot}/%{gopath}/src/%{sec_gobaseipath}/
sed -i 's/"github\.com\/gucumber\/gucumber/"github\.com\/lsegal\/gucumber/g' \
$(find . -name '*.go')
popd
-%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
%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}
-%gotest %{import_path}/gherkin
-%endif
+%gochecks %{gobaseipath}
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE.txt
%doc README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test -f unit-test.file-list
-%license LICENSE.txt
-%doc README.md
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.10.20160715git71608e2
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.9.git71608e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-lsegal-gucumber.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-lsegal-gucumber.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-lsegal-gucumber.git....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 65095f7eb37042eeef496ab223c13d73c7e7d05b
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 23:31:13 2018 +0200
Upload glide files
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..aed62fa
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,23 @@
+hash: 52e0d0fb98aa5e255088308cd73a5d2293171e43140c02db1acc20c98ebdf4e1
+imports:
+- name: github.com/stretchr/testify
+ subpackages:
+ - assert
+ version: f6abca593680b2315d2075e0f5e2a9751e3f431a
+- name: github.com/pmezard/go-difflib
+ subpackages:
+ - difflib
+ version: 792786c7400a136282c1664665ae0a8db921c6c2
+- name: github.com/davecgh/go-spew
+ subpackages:
+ - spew
+ version: 782f4967f2dc4564575ca782fe2d04090b5faca8
+- name: github.com/gucumber/gucumber
+ subpackages:
+ - gherkin
+ - ''
+ version: 5903a8deba47bd11299556c6151b3cbe0fbec3d4
+- name: github.com/shiena/ansicolor
+ version: a422bbe96644373c5753384a59d678f7d261ff10
+updated: '2018-06-17T21:30:31.897769+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..d28a815
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,22 @@
+import:
+- package: github.com/stretchr/testify
+ subpackages:
+ - assert
+ version: f6abca593680b2315d2075e0f5e2a9751e3f431a
+- package: github.com/pmezard/go-difflib
+ subpackages:
+ - difflib
+ version: 792786c7400a136282c1664665ae0a8db921c6c2
+- package: github.com/davecgh/go-spew
+ subpackages:
+ - spew
+ version: 782f4967f2dc4564575ca782fe2d04090b5faca8
+- package: github.com/gucumber/gucumber
+ subpackages:
+ - gherkin
+ - ''
+ version: 5903a8deba47bd11299556c6151b3cbe0fbec3d4
+- package: github.com/shiena/ansicolor
+ version: a422bbe96644373c5753384a59d678f7d261ff10
+package: github.com/lsegal/gucumber
+
diff --git a/golang-github-lsegal-gucumber.spec b/golang-github-lsegal-gucumber.spec
index 7aaec42..be32a82 100644
--- a/golang-github-lsegal-gucumber.spec
+++ b/golang-github-lsegal-gucumber.spec
@@ -1,21 +1,21 @@
# http://github.com/gucumber/gucumber
-%global provider_prefix github.com/gucumber/gucumber
-%global gobaseipath %{provider_prefix}
-%global sec_gobaseipath github.com/lsegal/gucumber
+%global sec_goipath github.com/gucumber/gucumber
+%global goipath github.com/lsegal/gucumber
%global commit 71608e2f6e76fd4da5b09a376aeec7a5c0b5edbc
-%global commitdate 20160715
-%global __go_additional_ipps %{sec_gobaseipath}
+%gometa -i
-%gocraftmeta -i
+%global sec_name %gorpmname %{sec_goipath}
-Name: %{goname}
+Name: golang-github-lsegal-gucumber
Version: 0
-Release: 0.10.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.11%{?dist}
Summary: An implementation of Cucumber BDD-style testing for Go
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -32,23 +32,37 @@ 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.
+
+%package -n %{sec_name}-devel
+Summary: %{summary}
+BuildArch: noarch
+
+BuildRequires: golang(github.com/shiena/ansicolor)
+BuildRequires: golang(github.com/stretchr/testify/assert)
+
+%description -n %{sec_name}-devel
+%{summary}
+
+This package contains library source intended for
+building other packages which use import path with
+%{goipath} prefix.
%prep
-%gosetup
+%forgesetup
chmod -x LICENSE.txt README.md
%install
-find . -iname "*.go" -exec chmod -x {} \;
-%goinstall
-%goinstall -i %{sec_gobaseipath}
-pushd %{buildroot}/%{gopath}/src/%{sec_gobaseipath}/
+%goinstall glide.lock glide.yaml
+%goinstall glide.lock glide.yaml -i %{sec_goipath} -o sec-devel.file-list
+
+pushd %{buildroot}/%{gopath}/src/%{sec_goipath}/
sed -i 's/"github\.com\/gucumber\/gucumber/"github\.com\/lsegal\/gucumber/g' \
$(find . -name '*.go')
popd
%check
-%gochecks %{gobaseipath}
+%gochecks -d .
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -57,7 +71,14 @@ popd
%license LICENSE.txt
%doc README.md
+%files -n %{sec_name}-devel -f sec-devel.file-list
+%license LICENSE.txt
+%doc README.md
+
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.11.git71608e2
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.10.20160715git71608e2
- Autogenerate some parts using the new macros
commit 431c2f21de7648a5b8a8d018cd49048f92b0adde
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 13:28:58 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-lsegal-gucumber.spec b/golang-github-lsegal-gucumber.spec
index 9ba1f03..7aaec42 100644
--- a/golang-github-lsegal-gucumber.spec
+++ b/golang-github-lsegal-gucumber.spec
@@ -1,188 +1,66 @@
-# 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 gucumber
-%global repo gucumber
-# https://github.com/gucumber/gucumber
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global sec_import_path github.com/lsegal/gucumber
+# http://github.com/gucumber/gucumber
+%global provider_prefix github.com/gucumber/gucumber
+%global gobaseipath %{provider_prefix}
+%global sec_gobaseipath github.com/lsegal/gucumber
%global commit 71608e2f6e76fd4da5b09a376aeec7a5c0b5edbc
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20160715
-Name: golang-%{provider}-lsegal-%{repo}
+%global __go_additional_ipps %{sec_gobaseipath}
+
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.9.git%{shortcommit}%{?dist}
+Release: 0.10.%{commitdate}git%{shortcommit}%{?dist}
Summary: An implementation of Cucumber BDD-style testing for Go
License: MIT
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
BuildRequires: golang(github.com/shiena/ansicolor)
BuildRequires: golang(github.com/stretchr/testify/assert)
-%endif
-
-Requires: golang(github.com/shiena/ansicolor)
-Requires: golang(github.com/stretchr/testify/assert)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/gherkin) = %{version}-%{release}
-Provides: golang(%{sec_import_path}) = %{version}-%{release}
-Provides: golang(%{sec_import_path}/gherkin) = %{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}
-chmod -x LICENSE.txt README.md runner.go
-
-%build
+%gosetup
+chmod -x LICENSE.txt README.md
%install
find . -iname "*.go" -exec chmod -x {} \;
-chmod -x README.md LICENSE.txt
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-install -d -p %{buildroot}/%{gopath}/src/%{sec_import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-echo "%%dir %%{gopath}/src/%%{sec_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
-
- echo "%%dir %%{gopath}/src/%%{sec_import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{sec_import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{sec_import_path}/$file
- echo "%%{gopath}/src/%%{sec_import_path}/$file" >> devel.file-list
-done
-
-pushd %{buildroot}/%{gopath}/src/%{sec_import_path}/
+%goinstall
+%goinstall -i %{sec_gobaseipath}
+pushd %{buildroot}/%{gopath}/src/%{sec_gobaseipath}/
sed -i 's/"github\.com\/gucumber\/gucumber/"github\.com\/lsegal\/gucumber/g' \
$(find . -name '*.go')
popd
-%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
%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}
-%gotest %{import_path}/gherkin
-%endif
+%gochecks %{gobaseipath}
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE.txt
%doc README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test -f unit-test.file-list
-%license LICENSE.txt
-%doc README.md
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.10.20160715git71608e2
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.9.git71608e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 5d622542f37e3c17a72319c9ac74424030724345
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:36:41 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-lsegal-gucumber.spec b/golang-github-lsegal-gucumber.spec
index 247bbde..9ba1f03 100644
--- a/golang-github-lsegal-gucumber.spec
+++ b/golang-github-lsegal-gucumber.spec
@@ -42,7 +42,7 @@
Name: golang-%{provider}-lsegal-%{repo}
Version: 0
-Release: 0.8.git%{shortcommit}%{?dist}
+Release: 0.9.git%{shortcommit}%{?dist}
Summary: An implementation of Cucumber BDD-style testing for Go
License: MIT
URL: https://%{provider_prefix}
@@ -183,6 +183,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.9.git71608e2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.8.git71608e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-lib-pq.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-lib-pq.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-lib-pq.git/commit/?....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 28d2ec9c9b668d2939c567a2f8d114d4170c8cab
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 23:13:51 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 0df5934..b76cc6c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/pq-0dad96c.tar.gz
+/pq-0dad96c0b94f8dee039aa40467f767467392a0af.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..6c5662f
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: a78f7489708399d4a59308ca6fb8993ccc93916419d6c7f79ce6a4bcc9f6b225
+imports: []
+updated: '2018-06-17T21:12:11.341085+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..f657b51
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/lib/pq
+
diff --git a/golang-github-lib-pq.spec b/golang-github-lib-pq.spec
index c86e175..a76ecf3 100644
--- a/golang-github-lib-pq.spec
+++ b/golang-github-lib-pq.spec
@@ -1,18 +1,20 @@
# http://github.com/lib/pq
-%global provider_prefix github.com/lib/pq
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/lib/pq
%global commit 0dad96c0b94f8dee039aa40467f767467392a0af
-%global commitdate 20150723
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.9.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.10%{?dist}
Summary: Pure Go Postgres driver for database/sql
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -22,24 +24,23 @@ Summary: %{summary}
BuildArch: noarch
BuildRequires: glibc-devel
-Requires: glibc-devel
%description devel
%{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
# Needs db running
-#%%gochecks %{gobaseipath}
+#%%gochecks -d .
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -49,6 +50,9 @@ building other packages which use import path with
%doc README.md CONTRIBUTING.md
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.10.git0dad96c
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.9.20150723git0dad96c
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 1cbc4a6..9c7d887 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a0bd38f8db60095994a91838a0d671ed pq-0dad96c.tar.gz
+SHA512 (pq-0dad96c0b94f8dee039aa40467f767467392a0af.tar.gz) = 12b5989b9011cfa4d168007eed8e7e980a3e21b47f8efc10c28985a6f957cff9e46251742d18182aa70d3c7d9d22f4fc79395f94a4da7cd96ec6dce679639e62
commit 8a6dabfddd6edec81136999396d5b2dce9d4a707
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 11:44:54 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-lib-pq.spec b/golang-github-lib-pq.spec
index 267b292..c86e175 100644
--- a/golang-github-lib-pq.spec
+++ b/golang-github-lib-pq.spec
@@ -1,158 +1,57 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-# Needs postgre running
-%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 lib
-%global repo pq
-# https://github.com/lib/pq
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/lib/pq
+%global provider_prefix github.com/lib/pq
+%global gobaseipath %{provider_prefix}
%global commit 0dad96c0b94f8dee039aa40467f767467392a0af
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150723
-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: Pure Go Postgres driver for database/sql
License: MIT
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/hstore) = %{version}-%{release}
-Provides: golang(%{import_path}/listen_example) = %{version}-%{release}
-Provides: golang(%{import_path}/oid) = %{version}-%{release}
+BuildRequires: glibc-devel
+Requires: glibc-devel
%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}
-%gotest %{import_path}/hstore
-%endif
+# Needs db running
+#%%gochecks %{gobaseipath}
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE.md
%doc README.md CONTRIBUTING.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.md
-%doc README.md CONTRIBUTING.md
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.9.20150723git0dad96c
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.8.git0dad96c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-lib-pq.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-lib-pq.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-lib-pq.git/commit/?....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 28d2ec9c9b668d2939c567a2f8d114d4170c8cab
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 23:13:51 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 0df5934..b76cc6c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/pq-0dad96c.tar.gz
+/pq-0dad96c0b94f8dee039aa40467f767467392a0af.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..6c5662f
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: a78f7489708399d4a59308ca6fb8993ccc93916419d6c7f79ce6a4bcc9f6b225
+imports: []
+updated: '2018-06-17T21:12:11.341085+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..f657b51
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package: github.com/lib/pq
+
diff --git a/golang-github-lib-pq.spec b/golang-github-lib-pq.spec
index c86e175..a76ecf3 100644
--- a/golang-github-lib-pq.spec
+++ b/golang-github-lib-pq.spec
@@ -1,18 +1,20 @@
# http://github.com/lib/pq
-%global provider_prefix github.com/lib/pq
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/lib/pq
%global commit 0dad96c0b94f8dee039aa40467f767467392a0af
-%global commitdate 20150723
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.9.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.10%{?dist}
Summary: Pure Go Postgres driver for database/sql
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -22,24 +24,23 @@ Summary: %{summary}
BuildArch: noarch
BuildRequires: glibc-devel
-Requires: glibc-devel
%description devel
%{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
# Needs db running
-#%%gochecks %{gobaseipath}
+#%%gochecks -d .
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -49,6 +50,9 @@ building other packages which use import path with
%doc README.md CONTRIBUTING.md
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.10.git0dad96c
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.9.20150723git0dad96c
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 1cbc4a6..9c7d887 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a0bd38f8db60095994a91838a0d671ed pq-0dad96c.tar.gz
+SHA512 (pq-0dad96c0b94f8dee039aa40467f767467392a0af.tar.gz) = 12b5989b9011cfa4d168007eed8e7e980a3e21b47f8efc10c28985a6f957cff9e46251742d18182aa70d3c7d9d22f4fc79395f94a4da7cd96ec6dce679639e62
commit 8a6dabfddd6edec81136999396d5b2dce9d4a707
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 11:44:54 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-lib-pq.spec b/golang-github-lib-pq.spec
index 267b292..c86e175 100644
--- a/golang-github-lib-pq.spec
+++ b/golang-github-lib-pq.spec
@@ -1,158 +1,57 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-# Needs postgre running
-%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 lib
-%global repo pq
-# https://github.com/lib/pq
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/lib/pq
+%global provider_prefix github.com/lib/pq
+%global gobaseipath %{provider_prefix}
%global commit 0dad96c0b94f8dee039aa40467f767467392a0af
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150723
-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: Pure Go Postgres driver for database/sql
License: MIT
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/hstore) = %{version}-%{release}
-Provides: golang(%{import_path}/listen_example) = %{version}-%{release}
-Provides: golang(%{import_path}/oid) = %{version}-%{release}
+BuildRequires: glibc-devel
+Requires: glibc-devel
%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}
-%gotest %{import_path}/hstore
-%endif
+# Needs db running
+#%%gochecks %{gobaseipath}
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE.md
%doc README.md CONTRIBUTING.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.md
-%doc README.md CONTRIBUTING.md
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.9.20150723git0dad96c
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.8.git0dad96c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 958e906aa11be4f932586534f840cb6d19800c10
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:36:09 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-lib-pq.spec b/golang-github-lib-pq.spec
index d8db1d3..267b292 100644
--- a/golang-github-lib-pq.spec
+++ b/golang-github-lib-pq.spec
@@ -31,7 +31,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.7.git%{shortcommit}%{?dist}
+Release: 0.8.git%{shortcommit}%{?dist}
Summary: Pure Go Postgres driver for database/sql
License: MIT
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.8.git0dad96c
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.7.git0dad96c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-kr-text.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-kr-text.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-text.git/commit/....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 6a4068ea234bc8078a2f707df06831ac8f5a1feb
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 23:04:58 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 4bf09de..61d02dc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/text-6807e77.tar.gz
+/text-6807e777504f54ad073ecef66747de158294b639.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..5d33cd0
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,6 @@
+hash: 5d08fcef21bfd6f723f45a597aa0f059b4719c1e904cb26919318908be355a2b
+imports:
+- name: github.com/kr/pty
+ version: fe7bf4339680885ba71b3e0a2b07ff378a9020e4
+updated: '2018-06-17T21:03:26.415020+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..a07cf27
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,5 @@
+import:
+- package: github.com/kr/pty
+ version: fe7bf4339680885ba71b3e0a2b07ff378a9020e4
+package: github.com/kr/text
+
diff --git a/golang-github-kr-text.spec b/golang-github-kr-text.spec
index 1b19c9e..280dd10 100644
--- a/golang-github-kr-text.spec
+++ b/golang-github-kr-text.spec
@@ -1,18 +1,20 @@
# http://github.com/kr/text
-%global provider_prefix github.com/kr/text
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/kr/text
%global commit 6807e777504f54ad073ecef66747de158294b639
-%global commitdate 20131111
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.15.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.16%{?dist}
Summary: Go package for manipulating paragraphs of text
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -26,14 +28,14 @@ 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
chmod 664 wrap.go
-%goinstall
+%goinstall glide.lock glide.yaml
mv colwriter/Readme Readme-colwriter
mv mc/Readme Readme-mc
@@ -48,6 +50,9 @@ mv mc/Readme Readme-mc
%doc Readme Readme-colwriter Readme-mc
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.16.git6807e77
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.15.20131111git6807e77
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 72cc0c5..600fc62 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-635c99182e7f0ea2fe6e682da181056f text-6807e77.tar.gz
+SHA512 (text-6807e777504f54ad073ecef66747de158294b639.tar.gz) = 827141d3a12de6303f5adb0cbe696c232aefe064f1c5bc4fd3c6a3c37a5ff1b4b778ac93a98655d3ece68972b2cf08f7ccfa384117d811ee87c7c897587fbc0e
commit 2809d9978ebebe69f211b08122e196128678d252
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 13:11:13 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-kr-text.spec b/golang-github-kr-text.spec
index 65ee03e..1b19c9e 100644
--- a/golang-github-kr-text.spec
+++ b/golang-github-kr-text.spec
@@ -1,170 +1,56 @@
-# 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 text
-# https://github.com/kr/text
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/kr/text
+%global provider_prefix github.com/kr/text
+%global gobaseipath %{provider_prefix}
%global commit 6807e777504f54ad073ecef66747de158294b639
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20131111
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.14.git%{shortcommit}%{?dist}
+Release: 0.15.%{commitdate}git%{shortcommit}%{?dist}
Summary: Go package for manipulating paragraphs of text
License: MIT
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/colwriter) = %{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
chmod 664 wrap.go
+%goinstall
mv colwriter/Readme Readme-colwriter
mv mc/Readme Readme-mc
-# 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
-
%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}
-%gotest %{import_path}/colwriter
-%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 Readme-colwriter Readme-mc
-%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
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.15.20131111git6807e77
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.14.git6807e77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-kr-text.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-kr-text.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-text.git/commit/....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 6a4068ea234bc8078a2f707df06831ac8f5a1feb
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sun Jun 17 23:04:58 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 4bf09de..61d02dc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/text-6807e77.tar.gz
+/text-6807e777504f54ad073ecef66747de158294b639.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..5d33cd0
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,6 @@
+hash: 5d08fcef21bfd6f723f45a597aa0f059b4719c1e904cb26919318908be355a2b
+imports:
+- name: github.com/kr/pty
+ version: fe7bf4339680885ba71b3e0a2b07ff378a9020e4
+updated: '2018-06-17T21:03:26.415020+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..a07cf27
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,5 @@
+import:
+- package: github.com/kr/pty
+ version: fe7bf4339680885ba71b3e0a2b07ff378a9020e4
+package: github.com/kr/text
+
diff --git a/golang-github-kr-text.spec b/golang-github-kr-text.spec
index 1b19c9e..280dd10 100644
--- a/golang-github-kr-text.spec
+++ b/golang-github-kr-text.spec
@@ -1,18 +1,20 @@
# http://github.com/kr/text
-%global provider_prefix github.com/kr/text
-%global gobaseipath %{provider_prefix}
+
+%global goipath github.com/kr/text
%global commit 6807e777504f54ad073ecef66747de158294b639
-%global commitdate 20131111
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.15.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.16%{?dist}
Summary: Go package for manipulating paragraphs of text
License: MIT
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -26,14 +28,14 @@ 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
chmod 664 wrap.go
-%goinstall
+%goinstall glide.lock glide.yaml
mv colwriter/Readme Readme-colwriter
mv mc/Readme Readme-mc
@@ -48,6 +50,9 @@ mv mc/Readme Readme-mc
%doc Readme Readme-colwriter Readme-mc
%changelog
+* Sun Jun 17 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.16.git6807e77
+- Upload glide files
+
* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.15.20131111git6807e77
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 72cc0c5..600fc62 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-635c99182e7f0ea2fe6e682da181056f text-6807e77.tar.gz
+SHA512 (text-6807e777504f54ad073ecef66747de158294b639.tar.gz) = 827141d3a12de6303f5adb0cbe696c232aefe064f1c5bc4fd3c6a3c37a5ff1b4b778ac93a98655d3ece68972b2cf08f7ccfa384117d811ee87c7c897587fbc0e
commit 2809d9978ebebe69f211b08122e196128678d252
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Thu Mar 1 13:11:13 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-kr-text.spec b/golang-github-kr-text.spec
index 65ee03e..1b19c9e 100644
--- a/golang-github-kr-text.spec
+++ b/golang-github-kr-text.spec
@@ -1,170 +1,56 @@
-# 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 text
-# https://github.com/kr/text
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/kr/text
+%global provider_prefix github.com/kr/text
+%global gobaseipath %{provider_prefix}
%global commit 6807e777504f54ad073ecef66747de158294b639
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20131111
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.14.git%{shortcommit}%{?dist}
+Release: 0.15.%{commitdate}git%{shortcommit}%{?dist}
Summary: Go package for manipulating paragraphs of text
License: MIT
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/colwriter) = %{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
chmod 664 wrap.go
+%goinstall
mv colwriter/Readme Readme-colwriter
mv mc/Readme Readme-mc
-# 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
-
%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}
-%gotest %{import_path}/colwriter
-%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 Readme-colwriter Readme-mc
-%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
-%endif
%changelog
+* Thu Mar 01 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.15.20131111git6807e77
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.14.git6807e77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit a340aafa89dd907581daa299f93aab07f3d60496
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:35:42 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-text.spec b/golang-github-kr-text.spec
index d5e2f89..65ee03e 100644
--- a/golang-github-kr-text.spec
+++ b/golang-github-kr-text.spec
@@ -41,7 +41,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.13.git%{shortcommit}%{?dist}
+Release: 0.14.git%{shortcommit}%{?dist}
Summary: Go package for manipulating paragraphs of text
License: MIT
URL: https://%{provider_prefix}
@@ -165,6 +165,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.14.git6807e77
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.13.git6807e77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5 years, 11 months