The package rpms/golang-github-agl-ed25519.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-agl-ed25519.git/com....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit c5a02c1eaa93eda0eea9e979ea5858adf179af77
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Jul 2 13:26:03 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index 825003e..d8f5625 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/ed25519-d2b94fd.tar.gz
+/ed25519-d2b94fd789ea21d12fac1a4443dd3a3f79cda72c.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..33831c9
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,4 @@
+hash: 35c93eb0975941c5e6f6518ced0700660f1c59b6afbd7c4dbbeda21f0ed38050
+imports: []
+updated: '2018-07-02T11:25:36.191986+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..a31240b
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,3 @@
+import: []
+package:
github.com/agl/ed25519
+
diff --git a/golang-github-agl-ed25519.spec b/golang-github-agl-ed25519.spec
index 98fc6cc..28ffcb8 100644
--- a/golang-github-agl-ed25519.spec
+++ b/golang-github-agl-ed25519.spec
@@ -1,18 +1,20 @@
-#
https://github.com/agl/ed25519
-%global provider_prefix
github.com/agl/ed25519
-%global gobaseipath %{provider_prefix}
+#
http://github.com/agl/ed25519
+
+%global goipath
github.com/agl/ed25519
%global commit d2b94fd789ea21d12fac1a4443dd3a3f79cda72c
-%global commitdate 20141108
-%gocraftmeta -i
+
+%gometa -i
Name: %{goname}
Version: 0
-Release: 0.9.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.10%{?dist}
Summary: Ed25519 for Go
License: BSD
URL: %{gourl}
Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
%description
%{summary}
@@ -28,16 +30,17 @@ 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 $(find . -iname testdata -d)
+files="find . -iname testdata -type d"
+%goinstall glide.lock glide.yaml $files
%check
-%gochecks %{gobaseipath}/extra25519
+%gochecks -d extra25519
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -46,6 +49,9 @@ building other packages which use import path with
%license LICENSE
%changelog
+* Mon Jul 02 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.10.gitd2b94fd
+- Upload glide files
+
* Mon Feb 26 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.9.20141108gitd2b94fd
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index e51969d..071d9c0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6feb839e85d72d97ff3b881e00cdd957 ed25519-d2b94fd.tar.gz
+SHA512 (ed25519-d2b94fd789ea21d12fac1a4443dd3a3f79cda72c.tar.gz) =
9987fcf5c553b47ff3cbab95d33ef526a915dc51fc2b9a2714380b7852b66ee0f8aac32762e3bcdbf650d84dd6512b18368484fe22fb5e06eee6ee2dc4a4a687
commit 9de30c4be7de28a6a61439b4144cb5b2d47c709a
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Feb 26 12:12:43 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-agl-ed25519.spec b/golang-github-agl-ed25519.spec
index 3e046e3..98fc6cc 100644
--- a/golang-github-agl-ed25519.spec
+++ b/golang-github-agl-ed25519.spec
@@ -1,158 +1,54 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%else
-%global with_devel 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 agl
-%global repo ed25519
#
https://github.com/agl/ed25519
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix
github.com/agl/ed25519
+%global gobaseipath %{provider_prefix}
%global commit d2b94fd789ea21d12fac1a4443dd3a3f79cda72c
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20141108
-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: Ed25519 for Go
License: BSD
-URL: https://%{provider_prefix}
-Source0:
https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-BuildRequires:
golang(code.google.com/p/go.crypto/curve25519)
-%endif
-
-Requires:
golang(code.google.com/p/go.crypto/curve25519)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/edwards25519) = %{version}-%{release}
-Provides: golang(%{import_path}/extra25519) = %{version}-%{release}
+#BuildRequires:
golang(code.google.com/p/go.crypto/curve25519)
%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
-cp -r testdata %{buildroot}/%{gopath}/src/%{import_path}/.
-echo "%%{gopath}/src/%%{import_path}/testdata" >> unit-test.file-list
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall $(find . -iname testdata -d)
%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}/extra25519
-%endif
+%gochecks %{gobaseipath}/extra25519
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
-%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
+* Mon Feb 26 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.9.20141108gitd2b94fd
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.8.gitd2b94fd
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -177,5 +73,3 @@ export
GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
* Thu Oct 08 2015 jchaloup <jchaloup(a)redhat.com> - 0-0.1.gitd2b94fd
- First package for Fedora
resolves: #1270046
-
-
commit 2301d4ec6a751a7a9801df47a741771060e1606e
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 13:55:40 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-agl-ed25519.spec b/golang-github-agl-ed25519.spec
index b993982..3e046e3 100644
--- a/golang-github-agl-ed25519.spec
+++ b/golang-github-agl-ed25519.spec
@@ -30,7 +30,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.7.git%{shortcommit}%{?dist}
+Release: 0.8.git%{shortcommit}%{?dist}
Summary: Ed25519 for Go
License: BSD
URL: https://%{provider_prefix}
@@ -153,6 +153,9 @@ export
GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.8.gitd2b94fd
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.7.gitd2b94fd
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild