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