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