The package rpms/golang-github-mistifyio-go-zfs.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-mistifyio-go-zfs.gi....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 75614f9e044b8144f666e3e763108545b041630b
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Jun 18 12:22:10 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index d2b121e..6e59bf8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/go-zfs-1b4ae6f.tar.gz
+/go-zfs-1b4ae6fb4e77b095934d4430860ff202060169f8.tar.gz
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..a0fc564
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,6 @@
+hash: 9d2bd8806659ac79b759f0341dcf39ab906f8f30175ac9a9a066a2eacd18338d
+imports:
+- name:
github.com/pborman/uuid
+ version: cccd189d45f7ac3368a0d127efb7f4d08ae0b655
+updated: '2018-06-18T10:20:58.409403+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..b796a2e
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,5 @@
+import:
+- package:
github.com/pborman/uuid
+ version: cccd189d45f7ac3368a0d127efb7f4d08ae0b655
+package:
github.com/mistifyio/go-zfs
+
diff --git a/golang-github-mistifyio-go-zfs.spec b/golang-github-mistifyio-go-zfs.spec
index 6bf0dab..911d523 100644
--- a/golang-github-mistifyio-go-zfs.spec
+++ b/golang-github-mistifyio-go-zfs.spec
@@ -1,165 +1,66 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-# zfs-fuse deamon must be running and the test has to be run under root
-%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 mistifyio
-%global repo go-zfs
-#
https://github.com/mistifyio/go-zfs
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+#
http://github.com/mistifyio/go-zfs
+
+%global goipath
github.com/mistifyio/go-zfs
%global commit 1b4ae6fb4e77b095934d4430860ff202060169f8
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-%{provider}-%{project}-%{repo}
+
+%gometa -i
+
+Name: golang-github-mistifyio-go-zfs
Version: 0
-Release: 0.8.git%{shortcommit}%{?dist}
+Release: 0.9%{?dist}
Summary: Go wrappers for ZFS commands
# Detected licences
# - *No copyright* UNKNOWN at 'LICENSE'
License: ASL 2.0
-URL: https://%{provider_prefix}
-Source0:
https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
-# 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}}
ExcludeArch: %{arm} aarch64
-# 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}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check} && ! 0%{?with_bundled}
BuildRequires:
golang(github.com/pborman/uuid)
BuildRequires: zfs-fuse
-%endif
-
-Requires:
golang(github.com/pborman/uuid)
-
-Requires: zfs-fuse
-Provides: golang(%{import_path}) = %{version}-%{release}
+Requires: zfs-fuse
%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
+%{goipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
-
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
%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-devel.file-list
-for file in $(find . -iname "*_test.go"); do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >>
devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >>
unit-test-devel.file-list
-done
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall glide.lock glide.yaml
%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
+# zfs-fuse deamon must be running and the test has to be run under root
+#%%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 CONTRIBUTING.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
-%doc CONTRIBUTING.md README.md
-%endif
%changelog
+* Mon Jun 18 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.9.git1b4ae6f
+- Upload glide files
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.8.git1b4ae6f
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 426449b..6f12ceb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-977cdf5b7f0a6c6364e852bb79e2b138 go-zfs-1b4ae6f.tar.gz
+SHA512 (go-zfs-1b4ae6fb4e77b095934d4430860ff202060169f8.tar.gz) =
80f0233e15a4776fcd41f223d5179bc8218688036c1a7122dbc21b94040e25c0d66def81f757594b658d703da559a8bfa9772834f45841eaf0b7b8c663767219
commit 7bb946598000d81edfa6a3e69b5f00b297cbb350
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:40: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-mistifyio-go-zfs.spec b/golang-github-mistifyio-go-zfs.spec
index 0831c72..6bf0dab 100644
--- a/golang-github-mistifyio-go-zfs.spec
+++ b/golang-github-mistifyio-go-zfs.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: Go wrappers for ZFS commands
# Detected licences
# - *No copyright* UNKNOWN at 'LICENSE'
@@ -160,6 +160,9 @@ export
GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.8.git1b4ae6f
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> -
0-0.7.git1b4ae6f
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild