Architecture specific change in rpms/containernetworking-cni.git
by githook-noreply@fedoraproject.org
The package rpms/containernetworking-cni.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/containernetworking-cni.git/commi....
Change:
-ExcludeArch: ppc64
Thanks.
Full change:
============
commit c87747074d7d36aa39e1534c3dc1e4d39d62f0c0
Author: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
Date: Wed Nov 14 15:25:16 2018 -0500
obsoleted by containernetworking-plugins
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 9b7b0cc..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/cni-0799f57.tar.gz
-/cni-137b497.tar.gz
-/plugins-dcf7368.tar.gz
-/plugins-7480240.tar.gz
-/plugins-72b62ba.tar.gz
diff --git a/containernetworking-cni.spec b/containernetworking-cni.spec
deleted file mode 100644
index 3bd3a47..0000000
--- a/containernetworking-cni.spec
+++ /dev/null
@@ -1,308 +0,0 @@
-%if 0%{?fedora}
-%global with_devel 1
-%global with_bundled 1
-%global with_debug 0
-%global with_check 0
-%global with_unit_test 1
-%else
-%global with_devel 0
-%global with_bundled 1
-%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
-
-%if ! 0%{?gobuild:1}
-%define gobuild(o:) go build -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -a -v -x %{?**};
-%endif
-
-%global provider github
-%global provider_tld com
-%global project containernetworking
-%global repo plugins
-# https://github.com/containernetworking/cni
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 72b62babeeb3d7b25c9809ea9eb9fc9c02cc0f71
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
-Name: containernetworking-cni
-Version: 0.7.1
-Release: 1%{?dist}
-Summary: Libraries for writing CNI plugin
-License: ASL 2.0
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-ExcludeArch: ppc64
-# 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}
-
-%if ! 0%{?with_bundled}
-BuildRequires: go-md2man
-BuildRequires: go-bindata
-BuildRequires: golang(github.com/vishvananda/netlink)
-BuildRequires: golang(github.com/coreos/go-systemd/activation)
-BuildRequires: golang(github.com/d2g/dhcp4)
-BuildRequires: golang(github.com/d2g/dhcp4client)
-BuildRequires: golang(github.com/vishvananda/netlink)
-BuildRequires: golang(golang.org/x/sys/unix)
-BuildRequires: golang(github.com/coreos/go-iptables/iptables)
-%endif
-
-Provides: containernetworking-plugins = %{version}-%{release}
-
-%description
-The CNI (Container Network Interface) project consists of a specification
-and libraries for writing plugins to configure network interfaces in Linux
-containers, along with a number of supported plugins. CNI concerns itself
-only with network connectivity of containers and removing allocated resources
-when the container is deleted.
-
-%if 0%{?with_devel}
-%package devel
-Summary: %{summary}
-BuildArch: noarch
-
-%if 0%{?with_check} && ! 0%{?with_bundled}
-BuildRequires: golang(github.com/coreos/go-iptables/iptables)
-BuildRequires: golang(github.com/vishvananda/netlink)
-BuildRequires: golang(golang.org/x/sys/unix)
-%endif
-
-Requires: golang(github.com/coreos/go-iptables/iptables)
-Requires: golang(github.com/vishvananda/netlink)
-Requires: golang(golang.org/x/sys/unix)
-
-Provides: golang(%{import_path}/libcni) = %{version}-%{release}
-Provides: golang(%{import_path}/pkg/invoke) = %{version}-%{release}
-Provides: golang(%{import_path}/pkg/invoke/fakes) = %{version}-%{release}
-Provides: golang(%{import_path}/pkg/ip) = %{version}-%{release}
-Provides: golang(%{import_path}/pkg/ipam) = %{version}-%{release}
-Provides: golang(%{import_path}/pkg/ns) = %{version}-%{release}
-Provides: golang(%{import_path}/pkg/skel) = %{version}-%{release}
-Provides: golang(%{import_path}/pkg/testutils) = %{version}-%{release}
-Provides: golang(%{import_path}/pkg/types) = %{version}-%{release}
-Provides: golang(%{import_path}/pkg/types/020) = %{version}-%{release}
-Provides: golang(%{import_path}/pkg/types/current) = %{version}-%{release}
-Provides: golang(%{import_path}/pkg/utils) = %{version}-%{release}
-Provides: golang(%{import_path}/pkg/utils/hwaddr) = %{version}-%{release}
-Provides: golang(%{import_path}/pkg/utils/sysctl) = %{version}-%{release}
-Provides: golang(%{import_path}/pkg/version) = %{version}-%{release}
-Provides: golang(%{import_path}/pkg/version/legacy_examples) = %{version}-%{release}
-Provides: golang(%{import_path}/pkg/version/testhelpers) = %{version}-%{release}
-Provides: golang(%{import_path}/plugins/ipam/host-local/backend) = %{version}-%{release}
-Provides: golang(%{import_path}/plugins/ipam/host-local/backend/allocator) = %{version}-%{release}
-Provides: golang(%{import_path}/plugins/ipam/host-local/backend/disk) = %{version}-%{release}
-Provides: golang(%{import_path}/plugins/ipam/host-local/backend/testing) = %{version}-%{release}
-Provides: golang(%{import_path}/plugins/test/noop/debug) = %{version}-%{release}
-
-%description devel
-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}
-%endif
-
-Requires: %{name}-devel = %{version}-%{release}
-
-%if 0%{?with_check} && ! 0%{?with_bundled}
-BuildRequires: golang(github.com/d2g/dhcp4)
-BuildRequires: golang(github.com/onsi/ginkgo)
-BuildRequires: golang(github.com/onsi/ginkgo/config)
-BuildRequires: golang(github.com/onsi/ginkgo/extensions/table)
-BuildRequires: golang(github.com/onsi/gomega)
-BuildRequires: golang(github.com/onsi/gomega/gbytes)
-BuildRequires: golang(github.com/onsi/gomega/gexec)
-BuildRequires: golang(github.com/vishvananda/netlink/nl)
-%endif
-
-Requires: golang(github.com/d2g/dhcp4)
-Requires: golang(github.com/onsi/ginkgo)
-Requires: golang(github.com/onsi/ginkgo/config)
-Requires: golang(github.com/onsi/ginkgo/extensions/table)
-Requires: golang(github.com/onsi/gomega)
-Requires: golang(github.com/onsi/gomega/gbytes)
-Requires: golang(github.com/onsi/gomega/gexec)
-Requires: golang(github.com/vishvananda/netlink/nl)
-
-%description unit-test-devel
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
-
-%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
-./build.sh
-
-%install
-install -d -p %{buildroot}%{_libexecdir}/cni/
-install -p -m 0755 bin/* %{buildroot}/%{_libexecdir}/cni
-
-# 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" -or -iname "*.s" \) \! -iname "*_test.go" | grep -v "vendor") ; 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 "vendor") ; 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
-
-%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-# Since we aren't packaging up the vendor directory we need to link
-# back to it somehow. Hack it up so that we can add the vendor
-# directory from BUILD dir as a gopath to be searched when executing
-# tests from the BUILDROOT dir.
-ln -s ./ ./vendor/src # ./vendor/src -> ./vendor
-
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}/libcni
-%gotest %{import_path}/pkg/invoke
-%gotest %{import_path}/pkg/ip
-%gotest %{import_path}/pkg/ipam
-%gotest %{import_path}/pkg/ns
-%gotest %{import_path}/pkg/skel
-%gotest %{import_path}/pkg/types
-%gotest %{import_path}/pkg/types/020
-%gotest %{import_path}/pkg/types/current
-%gotest %{import_path}/pkg/utils
-%gotest %{import_path}/pkg/utils/hwaddr
-%gotest %{import_path}/pkg/version
-%gotest %{import_path}/pkg/version/legacy_examples
-%gotest %{import_path}/pkg/version/testhelpers
-%gotest %{import_path}/plugins/ipam/dhcp
-%gotest %{import_path}/plugins/ipam/host-local
-%gotest %{import_path}/plugins/ipam/host-local/backend/allocator
-%gotest %{import_path}/plugins/main/bridge
-%gotest %{import_path}/plugins/main/ipvlan
-%gotest %{import_path}/plugins/main/loopback
-%gotest %{import_path}/plugins/main/macvlan
-%gotest %{import_path}/plugins/main/ptp
-%gotest %{import_path}/plugins/meta/flannel
-%gotest %{import_path}/plugins/test/noop
-%endif
-
-#define license tag if not already defined
-%{!?_licensedir:%global license %doc}
-
-%files
-%license LICENSE
-%doc *.md
-%dir %{_libexecdir}/cni
-%{_libexecdir}/cni/*
-
-%if 0%{?with_devel}
-%files devel -f devel.file-list
-%license LICENSE
-%doc *.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 *.md
-%endif
-
-%changelog
-* Wed Jul 18 2018 Lokesh Mandvekar <lsm5(a)fedoraproject.org> - 0.7.1-1
-- Resolves: #1543200 - bump to v0.7.1
-- remove patch in dist-git from 0.6.0-2 (already upstreamed)
-
-* Thu Jul 12 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.0-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Mon Apr 2 2018 Peter Robinson <pbrobinson(a)fedoraproject.org> 0.6.0-4
-- Own the libexec cni directory
-
-* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Tue Jan 23 2018 Dan Williams <dcbw(a)redhat.com> - 0.6.0-2
-- skip settling IPv4 addresses
-
-* Mon Jan 08 2018 Frantisek Kluknavsky <fkluknav(a)redhat.com> - 0.6.0-1
-- rebased to 7480240de9749f9a0a5c8614b17f1f03e0c06ab9
-
-* Fri Oct 13 2017 Lokesh Mandvekar <lsm5(a)fedoraproject.org> - 0.5.2-7
-- do not install to /opt (against Fedora Guidelines)
-
-* Thu Aug 24 2017 Jan Chaloupka <jchaloup(a)redhat.com> - 0.5.2-6
-- Enable devel subpackage
-
-* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.2-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.2-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Thu Jul 13 2017 Lokesh Mandvekar <lsm5(a)fedoraproject.org> - 0.5.2-3
-- excludearch: ppc64 as it's not in goarches anymore
-- re-enable s390x
-
-* Fri Jun 30 2017 Lokesh Mandvekar <lsm5(a)fedoraproject.org> - 0.5.2-2
-- upstream moved to github.com/containernetworking/plugins
-- built commit dcf7368
-- provides: containernetworking-plugins
-- use vendored deps because they're a lot less of a PITA
-- excludearch: s390x for now (rhbz#1466865)
-
-* Mon Jun 12 2017 Timothy St. Clair <tstclair(a)heptio.com> - 0.5.2-1
-- Update to 0.5.2
-- Softlink to default /opt/cni/bin directories
-
-* Sun May 07 2017 Timothy St. Clair <tstclair(a)heptio.com> - 0.5.1-1
-- Initial package
-
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..a47a354
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+obsoleted by containernetworking-plugins
diff --git a/sources b/sources
deleted file mode 100644
index e9618d9..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (plugins-72b62ba.tar.gz) = fd38d7827ef0f70bf0969e09d5582a1142e494c48868e43a7bf81eab90279dedb167aaed1d1fd3b28c52911a697582b2f609ad27994fa0053335bc1b641d5bda
5 years, 6 months
Architecture specific change in rpms/golang-github-linuxdeepin-go-x11-client.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-linuxdeepin-go-x11-client.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-linuxdeepin-go-x11-....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 58cf9dbd18cfe2338b534b4bf90731a021e22c1f
Author: mosquito <sensor.wen(a)gmail.com>
Date: Thu Nov 15 03:14:24 2018 +0800
Update to 8411934
diff --git a/.gitignore b/.gitignore
index f3d2a5a..36e819b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/go-x11-client-a10a839.tar.gz
/go-x11-client-70dbb86.tar.gz
/go-x11-client-71929bb.tar.gz
+/go-x11-client-841193439a13bbe881f0e50b5c5b513fbd603d7e.tar.gz
diff --git a/golang-github-linuxdeepin-go-x11-client.spec b/golang-github-linuxdeepin-go-x11-client.spec
index 6bef75d..c339c39 100644
--- a/golang-github-linuxdeepin-go-x11-client.spec
+++ b/golang-github-linuxdeepin-go-x11-client.spec
@@ -1,27 +1,19 @@
-%global debug_package %{nil}
-
-%global provider github
-%global provider_tld com
-%global project linuxdeepin
-%global repo go-x11-client
-# https://github.com/linuxdeepin/go-x11-client
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 71929bb36dcea8827ea19a0f23b03e98e1b0df18
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
-Name: golang-%{provider}-%{project}-%{repo}
+# Run tests in check section
+# disable for bootstrapping
+%bcond_with check
+
+%global goipath github.com/linuxdeepin/go-x11-client
+%global commit 841193439a13bbe881f0e50b5c5b513fbd603d7e
+
+%gometa
+
+Name: %{goname}
Version: 0
-Release: 0.6.git%{shortcommit}%{?dist}
+Release: 0.8%{?dist}
Summary: A X11 client Go bindings for Deepin Desktop Environment
License: GPLv3
-URL: https://%{provider_prefix}
-Source0: %{url}/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}.
@@ -32,26 +24,6 @@ BuildArch: noarch
BuildRequires: golang(gopkg.in/check.v1)
BuildRequires: golang(golang.org/x/text/encoding/charmap)
BuildRequires: golang(github.com/stretchr/testify/assert)
-Requires: golang(golang.org/x/text/encoding/charmap)
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/composite) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/damage) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/dpms) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/ge) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/input) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/randr) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/record) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/render) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/screensaver) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/shm) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/test) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/xfixes) = %{version}-%{release}
-Provides: golang(%{import_path}/util/atom) = %{version}-%{release}
-Provides: golang(%{import_path}/util/keybind) = %{version}-%{release}
-Provides: golang(%{import_path}/util/keysyms) = %{version}-%{release}
-Provides: golang(%{import_path}/util/mousebind) = %{version}-%{release}
-Provides: golang(%{import_path}/util/wm/ewmh) = %{version}-%{release}
-Provides: golang(%{import_path}/util/wm/icccm) = %{version}-%{release}
%description devel
%{summary}.
@@ -60,72 +32,30 @@ This package contains library source intended for
building other packages which use import path with
%{import_path} prefix.
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-BuildArch: noarch
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test-devel
-%{summary}.
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-
-
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%forgeautosetup
%install
-# source codes for building projects
-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
-
-# testing files for this project
-install -d %{buildroot}%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go"); 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
-
-sort -u -o devel.file-list devel.file-list
-sort -u -o unit-test-devel.file-list unit-test-devel.file-list
+%goinstall
+%if %{with check}
%check
-export GOPATH=%{buildroot}%{gopath}:%{gopath}
-
-%if ! 0%{?gotest:1}
-%global gotest go test
+%gochecks
%endif
-%gotest %{import_path}
-
%files devel -f devel.file-list
%doc README
%license LICENSE
-%dir %{gopath}/src/%{import_path}/ext
-%dir %{gopath}/src/%{import_path}/util
-%dir %{gopath}/src/%{import_path}/util/wm
-
-%files unit-test-devel -f unit-test-devel.file-list
%changelog
+* Mon Nov 12 2018 mosquito <sensor.wen(a)gmail.com> - 0-0.8.20181112git8411934
+- Update to 8411934
+- New X connect failed: WindowError
+ https://github.com/linuxdeepin/developer-center/issues/590
+
+* Sun Nov 4 2018 mosquito <sensor.wen(a)gmail.com> - 0-0.7.20181104git0354113
+- Update to 0354113
+
* Sat Aug 25 2018 mosquito <sensor.wen(a)gmail.com> - 0-0.6.git71929bb
- Update to 71929bb
diff --git a/sources b/sources
index 4469da0..346389e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (go-x11-client-71929bb.tar.gz) = a8f96382c96997344b7d111357316130f11fd11f2b892f3497af79accca9881614ec4c9df910e81b91d8d1adfe639da83ed5bc8ab8aa0848deb97f4aee51775f
+SHA512 (go-x11-client-841193439a13bbe881f0e50b5c5b513fbd603d7e.tar.gz) = c442ceb61f80b05bb98101a4eaae371cb8f13071188937bca5907360c9776c39962aa0b82110a22f0cac8112b0f6d71f349e5840a76167043e58ddf43582641c
commit acaa02e186ac4f3a7432125d605abd0ad7974cf2
Author: mosquito <sensor.wen(a)gmail.com>
Date: Sat Aug 25 20:40:49 2018 +0800
Update to 71929bb
diff --git a/.gitignore b/.gitignore
index d3e6c7e..f3d2a5a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/go-x11-client-7a984cd.tar.gz
/go-x11-client-a10a839.tar.gz
/go-x11-client-70dbb86.tar.gz
+/go-x11-client-71929bb.tar.gz
diff --git a/golang-github-linuxdeepin-go-x11-client.spec b/golang-github-linuxdeepin-go-x11-client.spec
index 274f1ce..6bef75d 100644
--- a/golang-github-linuxdeepin-go-x11-client.spec
+++ b/golang-github-linuxdeepin-go-x11-client.spec
@@ -7,12 +7,12 @@
# https://github.com/linuxdeepin/go-x11-client
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix}
-%global commit 70dbb86c0a0cb10ebc4e6cbbb21dfa5d5aff5570
+%global commit 71929bb36dcea8827ea19a0f23b03e98e1b0df18
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.5.git%{shortcommit}%{?dist}
+Release: 0.6.git%{shortcommit}%{?dist}
Summary: A X11 client Go bindings for Deepin Desktop Environment
License: GPLv3
URL: https://%{provider_prefix}
@@ -126,6 +126,9 @@ export GOPATH=%{buildroot}%{gopath}:%{gopath}
%files unit-test-devel -f unit-test-devel.file-list
%changelog
+* Sat Aug 25 2018 mosquito <sensor.wen(a)gmail.com> - 0-0.6.git71929bb
+- Update to 71929bb
+
* Fri Jul 27 2018 mosquito <sensor.wen(a)gmail.com> - 0-0.5.git70dbb86
- Update to 70dbb86
diff --git a/sources b/sources
index 62d536f..4469da0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (go-x11-client-70dbb86.tar.gz) = 60b4fc6db97e45f1c92cee9326e34ea7333d2cbb60f89a0d059e6a477c2a4049ed49c46dda85ea6c77b8192a6a8ea991fc94736e703ed5258904332b808fc232
+SHA512 (go-x11-client-71929bb.tar.gz) = a8f96382c96997344b7d111357316130f11fd11f2b892f3497af79accca9881614ec4c9df910e81b91d8d1adfe639da83ed5bc8ab8aa0848deb97f4aee51775f
commit c785613941a57f963277a36bc6191b47c58b99aa
Author: mosquito <sensor.wen(a)gmail.com>
Date: Tue Jul 31 23:18:34 2018 +0800
Update to 70dbb86
diff --git a/.gitignore b/.gitignore
index c9e5f8a..d3e6c7e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/go-x11-client-7a984cd.tar.gz
/go-x11-client-a10a839.tar.gz
+/go-x11-client-70dbb86.tar.gz
diff --git a/golang-github-linuxdeepin-go-x11-client.spec b/golang-github-linuxdeepin-go-x11-client.spec
index 3808864..274f1ce 100644
--- a/golang-github-linuxdeepin-go-x11-client.spec
+++ b/golang-github-linuxdeepin-go-x11-client.spec
@@ -7,12 +7,12 @@
# https://github.com/linuxdeepin/go-x11-client
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix}
-%global commit a10a839c0f79ea80d2b4309c6f2d120f98664c5a
+%global commit 70dbb86c0a0cb10ebc4e6cbbb21dfa5d5aff5570
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.4.git%{shortcommit}%{?dist}
+Release: 0.5.git%{shortcommit}%{?dist}
Summary: A X11 client Go bindings for Deepin Desktop Environment
License: GPLv3
URL: https://%{provider_prefix}
@@ -31,14 +31,19 @@ Summary: %{summary}
BuildArch: noarch
BuildRequires: golang(gopkg.in/check.v1)
BuildRequires: golang(golang.org/x/text/encoding/charmap)
+BuildRequires: golang(github.com/stretchr/testify/assert)
Requires: golang(golang.org/x/text/encoding/charmap)
Provides: golang(%{import_path}) = %{version}-%{release}
Provides: golang(%{import_path}/ext/composite) = %{version}-%{release}
Provides: golang(%{import_path}/ext/damage) = %{version}-%{release}
+Provides: golang(%{import_path}/ext/dpms) = %{version}-%{release}
+Provides: golang(%{import_path}/ext/ge) = %{version}-%{release}
+Provides: golang(%{import_path}/ext/input) = %{version}-%{release}
+Provides: golang(%{import_path}/ext/randr) = %{version}-%{release}
Provides: golang(%{import_path}/ext/record) = %{version}-%{release}
Provides: golang(%{import_path}/ext/render) = %{version}-%{release}
Provides: golang(%{import_path}/ext/screensaver) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/shape) = %{version}-%{release}
+Provides: golang(%{import_path}/ext/shm) = %{version}-%{release}
Provides: golang(%{import_path}/ext/test) = %{version}-%{release}
Provides: golang(%{import_path}/ext/xfixes) = %{version}-%{release}
Provides: golang(%{import_path}/util/atom) = %{version}-%{release}
@@ -121,6 +126,9 @@ export GOPATH=%{buildroot}%{gopath}:%{gopath}
%files unit-test-devel -f unit-test-devel.file-list
%changelog
+* Fri Jul 27 2018 mosquito <sensor.wen(a)gmail.com> - 0-0.5.git70dbb86
+- Update to 70dbb86
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.4.gita10a839
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources
index 9744ca5..62d536f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (go-x11-client-a10a839.tar.gz) = 6da8487f7a6dd60516e5e89f2f3265e8e46f02f796e7a4767ed20503ca51f11ae3e14ddaefca05fe48604fb68938690345f334d8377aba258295879c6b58077f
+SHA512 (go-x11-client-70dbb86.tar.gz) = 60b4fc6db97e45f1c92cee9326e34ea7333d2cbb60f89a0d059e6a477c2a4049ed49c46dda85ea6c77b8192a6a8ea991fc94736e703ed5258904332b808fc232
commit 8bb818e3277ba01caf4b6a5373358ccd51a8dc33
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 13 03:50:18 2018 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/golang-github-linuxdeepin-go-x11-client.spec b/golang-github-linuxdeepin-go-x11-client.spec
index b6fe68b..3808864 100644
--- a/golang-github-linuxdeepin-go-x11-client.spec
+++ b/golang-github-linuxdeepin-go-x11-client.spec
@@ -12,7 +12,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.3.git%{shortcommit}%{?dist}
+Release: 0.4.git%{shortcommit}%{?dist}
Summary: A X11 client Go bindings for Deepin Desktop Environment
License: GPLv3
URL: https://%{provider_prefix}
@@ -121,6 +121,9 @@ export GOPATH=%{buildroot}%{gopath}:%{gopath}
%files unit-test-devel -f unit-test-devel.file-list
%changelog
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.4.gita10a839
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.gita10a839
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 5e084bd66e54b6249626f9152afb59bb518a4b62
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:36:19 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-linuxdeepin-go-x11-client.spec b/golang-github-linuxdeepin-go-x11-client.spec
index b74629d..b6fe68b 100644
--- a/golang-github-linuxdeepin-go-x11-client.spec
+++ b/golang-github-linuxdeepin-go-x11-client.spec
@@ -12,7 +12,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.2.git%{shortcommit}%{?dist}
+Release: 0.3.git%{shortcommit}%{?dist}
Summary: A X11 client Go bindings for Deepin Desktop Environment
License: GPLv3
URL: https://%{provider_prefix}
@@ -121,6 +121,9 @@ export GOPATH=%{buildroot}%{gopath}:%{gopath}
%files unit-test-devel -f unit-test-devel.file-list
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.gita10a839
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Sat Oct 14 2017 mosquito <sensor.wen(a)gmail.com> - 0-0.2.gita10a839
- Update to a10a839
commit dff44d5e3805a192d669fc38c81254856faa54c5
Author: mosquito <sensor.wen(a)gmail.com>
Date: Mon Oct 16 07:51:28 2017 +0800
Update to a10a839
diff --git a/.gitignore b/.gitignore
index f5e518a..c9e5f8a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/go-x11-client-7a984cd.tar.gz
+/go-x11-client-a10a839.tar.gz
diff --git a/README.md b/README.md
index 299bd01..d2d0d9b 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,3 @@
# golang-github-linuxdeepin-go-x11-client
-The golang-github-linuxdeepin-go-x11-client package
\ No newline at end of file
+The golang-github-linuxdeepin-go-x11-client package
diff --git a/golang-github-linuxdeepin-go-x11-client.spec b/golang-github-linuxdeepin-go-x11-client.spec
index b72937b..b74629d 100644
--- a/golang-github-linuxdeepin-go-x11-client.spec
+++ b/golang-github-linuxdeepin-go-x11-client.spec
@@ -7,12 +7,12 @@
# https://github.com/linuxdeepin/go-x11-client
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix}
-%global commit 7a984cd0f8308a969222a7cb1899e06d01f5840f
+%global commit a10a839c0f79ea80d2b4309c6f2d120f98664c5a
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.1.git%{shortcommit}%{?dist}
+Release: 0.2.git%{shortcommit}%{?dist}
Summary: A X11 client Go bindings for Deepin Desktop Environment
License: GPLv3
URL: https://%{provider_prefix}
@@ -30,6 +30,8 @@ BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
Summary: %{summary}
BuildArch: noarch
BuildRequires: golang(gopkg.in/check.v1)
+BuildRequires: golang(golang.org/x/text/encoding/charmap)
+Requires: golang(golang.org/x/text/encoding/charmap)
Provides: golang(%{import_path}) = %{version}-%{release}
Provides: golang(%{import_path}/ext/composite) = %{version}-%{release}
Provides: golang(%{import_path}/ext/damage) = %{version}-%{release}
@@ -39,6 +41,12 @@ Provides: golang(%{import_path}/ext/screensaver) = %{version}-%{release}
Provides: golang(%{import_path}/ext/shape) = %{version}-%{release}
Provides: golang(%{import_path}/ext/test) = %{version}-%{release}
Provides: golang(%{import_path}/ext/xfixes) = %{version}-%{release}
+Provides: golang(%{import_path}/util/atom) = %{version}-%{release}
+Provides: golang(%{import_path}/util/keybind) = %{version}-%{release}
+Provides: golang(%{import_path}/util/keysyms) = %{version}-%{release}
+Provides: golang(%{import_path}/util/mousebind) = %{version}-%{release}
+Provides: golang(%{import_path}/util/wm/ewmh) = %{version}-%{release}
+Provides: golang(%{import_path}/util/wm/icccm) = %{version}-%{release}
%description devel
%{summary}.
@@ -62,7 +70,6 @@ providing packages with %{import_path} prefix.
%prep
%setup -q -n %{repo}-%{commit}
-sed -i 's|monotime.Now()|time.Duration(time.Nanosecond)|; s|github.com/gavv/mono||' help.go
%build
@@ -114,5 +121,8 @@ export GOPATH=%{buildroot}%{gopath}:%{gopath}
%files unit-test-devel -f unit-test-devel.file-list
%changelog
-* Sun Aug 27 2017 mosquito <sensor.wen(a)gmail.com> - 0-0.1.git7a984cd
+* Sat Oct 14 2017 mosquito <sensor.wen(a)gmail.com> - 0-0.2.gita10a839
+- Update to a10a839
+
+* Sun Aug 27 2017 mosquito <sensor.wen(a)gmail.com> - 0-0.1.git67aca0b
- Initial package build
diff --git a/sources b/sources
index 5ef4648..9744ca5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (go-x11-client-7a984cd.tar.gz) = dd0b373b05827456c836003fbd9a783c0e0bec55b9f74c40cdaf7ef8a2d7fdbd036d408f20aec01f2b754b713b07b44702ade5e04e88245a1d773974c3d9b966
+SHA512 (go-x11-client-a10a839.tar.gz) = 6da8487f7a6dd60516e5e89f2f3265e8e46f02f796e7a4767ed20503ca51f11ae3e14ddaefca05fe48604fb68938690345f334d8377aba258295879c6b58077f
5 years, 6 months
Architecture specific change in rpms/golang-github-coreos-go-etcd.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-coreos-go-etcd.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-coreos-go-etcd.git/....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 248d8d73fb0de4683735b1cd56cba7fdde6ad99a
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Wed Nov 14 20:09:28 2018 +0100
Update to new go packaging
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/.gitignore b/.gitignore
index f7d9e2c..757d5ec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/go-etcd-68b33a3.tar.gz
+/go-etcd-2.0.0.tar.gz
diff --git a/golang-github-coreos-go-etcd.spec b/golang-github-coreos-go-etcd.spec
index 189ff56..8ed609d 100644
--- a/golang-github-coreos-go-etcd.spec
+++ b/golang-github-coreos-go-etcd.spec
@@ -1,184 +1,66 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-# needs etcd 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
+# Run tests in check section
+# Needs etcd running
+%bcond_with check
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
+# https://github.com/coreos/go-etcd
+%global goipath github.com/coreos/go-etcd
+Version: 2.0.0
-%global isgccgoarch 0
-%if 0%{?gccgo_arches:1}
-%ifarch %{gccgo_arches}
-%global isgccgoarch 1
-%endif
-%endif
+%global common_description %{expand:
+Go client library for etcd.}
-%global provider github
-%global provider_tld com
-%global project coreos
-%global repo go-etcd
-# https://github.com/coreos/go-etcd
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 68b33a3ba02a45d5f98bd7952e3e63e653a38252
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
-Name: golang-%{provider}-%{project}-%{repo}
-Version: 2.0.0
-Release: 0.13.git%{shortcommit}%{?dist}
+%gometa
+
+Name: golang-github-coreos-go-etcd
+Release: 1%{?dist}
Summary: Go client library for etcd
+# Detected licences
+# - *No copyright* Apache License (v2.0) at 'LICENSE'
License: ASL 2.0
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-Patch0: change-default-ports.patch
+URL: %{gourl}
+Source0: %{gosource}
-# 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}
+BuildRequires: golang(github.com/ugorji/go/codec)
%description
-%{summary}
+%{common_description}
+
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-BuildRequires: golang(github.com/ugorji/go/codec)
-%endif
-
-Requires: golang(github.com/ugorji/go/codec)
-
-Provides: golang(%{import_path}/etcd) = %{version}-%{release}
-
%description devel
-%{summary}
+%{common_description}
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 go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-
-%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}
+%{goipath} prefix.
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
%prep
-%setup -q -n %{repo}-%{commit}
-%patch0 -p1
+%forgeautosetup
-%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") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- 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
- 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
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%if %{with check}
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if %{isgccgoarch}
-function gotest { %{gcc_go_test} "$@"; }
-%else
-%if 0%{?golang_test:1}
-function gotest { %{golang_test} "$@"; }
-%else
-function gotest { go test "$@"; }
-%endif
-%endif
-
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
+%gochecks
%endif
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}/etcd
-%endif
-#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
+* Wed Nov 14 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 2.0.0-1
+- Update to new go packaging
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.0.0-0.13.git68b33a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
@@ -259,4 +141,3 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
* Wed Aug 20 2014 Adam Miller <maxamillion(a)fedoraproject.org> - 0.2.0-0.1-rc1
- Initial fedora package
-
diff --git a/sources b/sources
index 5ad7009..840cfb0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-80c7ece24a2a13bf73459499233282a9 go-etcd-68b33a3.tar.gz
+SHA512 (go-etcd-2.0.0.tar.gz) = 6cbad346080d6c7100954ff40bae82ba796cff7f9a4883dc7d19544c2b3634727a92b3044a409d27f9ff54d27af397f7682dd2480e4ef3352175a2db861ce4cf
5 years, 6 months
Architecture specific change in rpms/golang-github-linuxdeepin-go-x11-client.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-linuxdeepin-go-x11-client.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-linuxdeepin-go-x11-....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 58cf9dbd18cfe2338b534b4bf90731a021e22c1f
Author: mosquito <sensor.wen(a)gmail.com>
Date: Thu Nov 15 03:14:24 2018 +0800
Update to 8411934
diff --git a/.gitignore b/.gitignore
index f3d2a5a..36e819b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/go-x11-client-a10a839.tar.gz
/go-x11-client-70dbb86.tar.gz
/go-x11-client-71929bb.tar.gz
+/go-x11-client-841193439a13bbe881f0e50b5c5b513fbd603d7e.tar.gz
diff --git a/golang-github-linuxdeepin-go-x11-client.spec b/golang-github-linuxdeepin-go-x11-client.spec
index 6bef75d..c339c39 100644
--- a/golang-github-linuxdeepin-go-x11-client.spec
+++ b/golang-github-linuxdeepin-go-x11-client.spec
@@ -1,27 +1,19 @@
-%global debug_package %{nil}
-
-%global provider github
-%global provider_tld com
-%global project linuxdeepin
-%global repo go-x11-client
-# https://github.com/linuxdeepin/go-x11-client
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 71929bb36dcea8827ea19a0f23b03e98e1b0df18
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
-Name: golang-%{provider}-%{project}-%{repo}
+# Run tests in check section
+# disable for bootstrapping
+%bcond_with check
+
+%global goipath github.com/linuxdeepin/go-x11-client
+%global commit 841193439a13bbe881f0e50b5c5b513fbd603d7e
+
+%gometa
+
+Name: %{goname}
Version: 0
-Release: 0.6.git%{shortcommit}%{?dist}
+Release: 0.8%{?dist}
Summary: A X11 client Go bindings for Deepin Desktop Environment
License: GPLv3
-URL: https://%{provider_prefix}
-Source0: %{url}/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}.
@@ -32,26 +24,6 @@ BuildArch: noarch
BuildRequires: golang(gopkg.in/check.v1)
BuildRequires: golang(golang.org/x/text/encoding/charmap)
BuildRequires: golang(github.com/stretchr/testify/assert)
-Requires: golang(golang.org/x/text/encoding/charmap)
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/composite) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/damage) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/dpms) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/ge) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/input) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/randr) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/record) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/render) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/screensaver) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/shm) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/test) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/xfixes) = %{version}-%{release}
-Provides: golang(%{import_path}/util/atom) = %{version}-%{release}
-Provides: golang(%{import_path}/util/keybind) = %{version}-%{release}
-Provides: golang(%{import_path}/util/keysyms) = %{version}-%{release}
-Provides: golang(%{import_path}/util/mousebind) = %{version}-%{release}
-Provides: golang(%{import_path}/util/wm/ewmh) = %{version}-%{release}
-Provides: golang(%{import_path}/util/wm/icccm) = %{version}-%{release}
%description devel
%{summary}.
@@ -60,72 +32,30 @@ This package contains library source intended for
building other packages which use import path with
%{import_path} prefix.
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-BuildArch: noarch
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test-devel
-%{summary}.
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-
-
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%forgeautosetup
%install
-# source codes for building projects
-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
-
-# testing files for this project
-install -d %{buildroot}%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go"); 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
-
-sort -u -o devel.file-list devel.file-list
-sort -u -o unit-test-devel.file-list unit-test-devel.file-list
+%goinstall
+%if %{with check}
%check
-export GOPATH=%{buildroot}%{gopath}:%{gopath}
-
-%if ! 0%{?gotest:1}
-%global gotest go test
+%gochecks
%endif
-%gotest %{import_path}
-
%files devel -f devel.file-list
%doc README
%license LICENSE
-%dir %{gopath}/src/%{import_path}/ext
-%dir %{gopath}/src/%{import_path}/util
-%dir %{gopath}/src/%{import_path}/util/wm
-
-%files unit-test-devel -f unit-test-devel.file-list
%changelog
+* Mon Nov 12 2018 mosquito <sensor.wen(a)gmail.com> - 0-0.8.20181112git8411934
+- Update to 8411934
+- New X connect failed: WindowError
+ https://github.com/linuxdeepin/developer-center/issues/590
+
+* Sun Nov 4 2018 mosquito <sensor.wen(a)gmail.com> - 0-0.7.20181104git0354113
+- Update to 0354113
+
* Sat Aug 25 2018 mosquito <sensor.wen(a)gmail.com> - 0-0.6.git71929bb
- Update to 71929bb
diff --git a/sources b/sources
index 4469da0..346389e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (go-x11-client-71929bb.tar.gz) = a8f96382c96997344b7d111357316130f11fd11f2b892f3497af79accca9881614ec4c9df910e81b91d8d1adfe639da83ed5bc8ab8aa0848deb97f4aee51775f
+SHA512 (go-x11-client-841193439a13bbe881f0e50b5c5b513fbd603d7e.tar.gz) = c442ceb61f80b05bb98101a4eaae371cb8f13071188937bca5907360c9776c39962aa0b82110a22f0cac8112b0f6d71f349e5840a76167043e58ddf43582641c
5 years, 6 months
Architecture specific change in rpms/golang-github-linuxdeepin-go-x11-client.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-linuxdeepin-go-x11-client.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-linuxdeepin-go-x11-....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 58cf9dbd18cfe2338b534b4bf90731a021e22c1f
Author: mosquito <sensor.wen(a)gmail.com>
Date: Thu Nov 15 03:14:24 2018 +0800
Update to 8411934
diff --git a/.gitignore b/.gitignore
index f3d2a5a..36e819b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/go-x11-client-a10a839.tar.gz
/go-x11-client-70dbb86.tar.gz
/go-x11-client-71929bb.tar.gz
+/go-x11-client-841193439a13bbe881f0e50b5c5b513fbd603d7e.tar.gz
diff --git a/golang-github-linuxdeepin-go-x11-client.spec b/golang-github-linuxdeepin-go-x11-client.spec
index 6bef75d..c339c39 100644
--- a/golang-github-linuxdeepin-go-x11-client.spec
+++ b/golang-github-linuxdeepin-go-x11-client.spec
@@ -1,27 +1,19 @@
-%global debug_package %{nil}
-
-%global provider github
-%global provider_tld com
-%global project linuxdeepin
-%global repo go-x11-client
-# https://github.com/linuxdeepin/go-x11-client
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 71929bb36dcea8827ea19a0f23b03e98e1b0df18
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
-Name: golang-%{provider}-%{project}-%{repo}
+# Run tests in check section
+# disable for bootstrapping
+%bcond_with check
+
+%global goipath github.com/linuxdeepin/go-x11-client
+%global commit 841193439a13bbe881f0e50b5c5b513fbd603d7e
+
+%gometa
+
+Name: %{goname}
Version: 0
-Release: 0.6.git%{shortcommit}%{?dist}
+Release: 0.8%{?dist}
Summary: A X11 client Go bindings for Deepin Desktop Environment
License: GPLv3
-URL: https://%{provider_prefix}
-Source0: %{url}/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}.
@@ -32,26 +24,6 @@ BuildArch: noarch
BuildRequires: golang(gopkg.in/check.v1)
BuildRequires: golang(golang.org/x/text/encoding/charmap)
BuildRequires: golang(github.com/stretchr/testify/assert)
-Requires: golang(golang.org/x/text/encoding/charmap)
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/composite) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/damage) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/dpms) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/ge) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/input) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/randr) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/record) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/render) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/screensaver) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/shm) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/test) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/xfixes) = %{version}-%{release}
-Provides: golang(%{import_path}/util/atom) = %{version}-%{release}
-Provides: golang(%{import_path}/util/keybind) = %{version}-%{release}
-Provides: golang(%{import_path}/util/keysyms) = %{version}-%{release}
-Provides: golang(%{import_path}/util/mousebind) = %{version}-%{release}
-Provides: golang(%{import_path}/util/wm/ewmh) = %{version}-%{release}
-Provides: golang(%{import_path}/util/wm/icccm) = %{version}-%{release}
%description devel
%{summary}.
@@ -60,72 +32,30 @@ This package contains library source intended for
building other packages which use import path with
%{import_path} prefix.
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-BuildArch: noarch
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test-devel
-%{summary}.
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-
-
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%forgeautosetup
%install
-# source codes for building projects
-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
-
-# testing files for this project
-install -d %{buildroot}%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go"); 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
-
-sort -u -o devel.file-list devel.file-list
-sort -u -o unit-test-devel.file-list unit-test-devel.file-list
+%goinstall
+%if %{with check}
%check
-export GOPATH=%{buildroot}%{gopath}:%{gopath}
-
-%if ! 0%{?gotest:1}
-%global gotest go test
+%gochecks
%endif
-%gotest %{import_path}
-
%files devel -f devel.file-list
%doc README
%license LICENSE
-%dir %{gopath}/src/%{import_path}/ext
-%dir %{gopath}/src/%{import_path}/util
-%dir %{gopath}/src/%{import_path}/util/wm
-
-%files unit-test-devel -f unit-test-devel.file-list
%changelog
+* Mon Nov 12 2018 mosquito <sensor.wen(a)gmail.com> - 0-0.8.20181112git8411934
+- Update to 8411934
+- New X connect failed: WindowError
+ https://github.com/linuxdeepin/developer-center/issues/590
+
+* Sun Nov 4 2018 mosquito <sensor.wen(a)gmail.com> - 0-0.7.20181104git0354113
+- Update to 0354113
+
* Sat Aug 25 2018 mosquito <sensor.wen(a)gmail.com> - 0-0.6.git71929bb
- Update to 71929bb
diff --git a/sources b/sources
index 4469da0..346389e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (go-x11-client-71929bb.tar.gz) = a8f96382c96997344b7d111357316130f11fd11f2b892f3497af79accca9881614ec4c9df910e81b91d8d1adfe639da83ed5bc8ab8aa0848deb97f4aee51775f
+SHA512 (go-x11-client-841193439a13bbe881f0e50b5c5b513fbd603d7e.tar.gz) = c442ceb61f80b05bb98101a4eaae371cb8f13071188937bca5907360c9776c39962aa0b82110a22f0cac8112b0f6d71f349e5840a76167043e58ddf43582641c
5 years, 6 months
Architecture specific change in rpms/golang-github-linuxdeepin-go-x11-client.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-linuxdeepin-go-x11-client.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-linuxdeepin-go-x11-....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 58cf9dbd18cfe2338b534b4bf90731a021e22c1f
Author: mosquito <sensor.wen(a)gmail.com>
Date: Thu Nov 15 03:14:24 2018 +0800
Update to 8411934
diff --git a/.gitignore b/.gitignore
index f3d2a5a..36e819b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/go-x11-client-a10a839.tar.gz
/go-x11-client-70dbb86.tar.gz
/go-x11-client-71929bb.tar.gz
+/go-x11-client-841193439a13bbe881f0e50b5c5b513fbd603d7e.tar.gz
diff --git a/golang-github-linuxdeepin-go-x11-client.spec b/golang-github-linuxdeepin-go-x11-client.spec
index 6bef75d..c339c39 100644
--- a/golang-github-linuxdeepin-go-x11-client.spec
+++ b/golang-github-linuxdeepin-go-x11-client.spec
@@ -1,27 +1,19 @@
-%global debug_package %{nil}
-
-%global provider github
-%global provider_tld com
-%global project linuxdeepin
-%global repo go-x11-client
-# https://github.com/linuxdeepin/go-x11-client
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 71929bb36dcea8827ea19a0f23b03e98e1b0df18
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
-Name: golang-%{provider}-%{project}-%{repo}
+# Run tests in check section
+# disable for bootstrapping
+%bcond_with check
+
+%global goipath github.com/linuxdeepin/go-x11-client
+%global commit 841193439a13bbe881f0e50b5c5b513fbd603d7e
+
+%gometa
+
+Name: %{goname}
Version: 0
-Release: 0.6.git%{shortcommit}%{?dist}
+Release: 0.8%{?dist}
Summary: A X11 client Go bindings for Deepin Desktop Environment
License: GPLv3
-URL: https://%{provider_prefix}
-Source0: %{url}/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}.
@@ -32,26 +24,6 @@ BuildArch: noarch
BuildRequires: golang(gopkg.in/check.v1)
BuildRequires: golang(golang.org/x/text/encoding/charmap)
BuildRequires: golang(github.com/stretchr/testify/assert)
-Requires: golang(golang.org/x/text/encoding/charmap)
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/composite) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/damage) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/dpms) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/ge) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/input) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/randr) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/record) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/render) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/screensaver) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/shm) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/test) = %{version}-%{release}
-Provides: golang(%{import_path}/ext/xfixes) = %{version}-%{release}
-Provides: golang(%{import_path}/util/atom) = %{version}-%{release}
-Provides: golang(%{import_path}/util/keybind) = %{version}-%{release}
-Provides: golang(%{import_path}/util/keysyms) = %{version}-%{release}
-Provides: golang(%{import_path}/util/mousebind) = %{version}-%{release}
-Provides: golang(%{import_path}/util/wm/ewmh) = %{version}-%{release}
-Provides: golang(%{import_path}/util/wm/icccm) = %{version}-%{release}
%description devel
%{summary}.
@@ -60,72 +32,30 @@ This package contains library source intended for
building other packages which use import path with
%{import_path} prefix.
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-BuildArch: noarch
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test-devel
-%{summary}.
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-
-
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%forgeautosetup
%install
-# source codes for building projects
-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
-
-# testing files for this project
-install -d %{buildroot}%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go"); 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
-
-sort -u -o devel.file-list devel.file-list
-sort -u -o unit-test-devel.file-list unit-test-devel.file-list
+%goinstall
+%if %{with check}
%check
-export GOPATH=%{buildroot}%{gopath}:%{gopath}
-
-%if ! 0%{?gotest:1}
-%global gotest go test
+%gochecks
%endif
-%gotest %{import_path}
-
%files devel -f devel.file-list
%doc README
%license LICENSE
-%dir %{gopath}/src/%{import_path}/ext
-%dir %{gopath}/src/%{import_path}/util
-%dir %{gopath}/src/%{import_path}/util/wm
-
-%files unit-test-devel -f unit-test-devel.file-list
%changelog
+* Mon Nov 12 2018 mosquito <sensor.wen(a)gmail.com> - 0-0.8.20181112git8411934
+- Update to 8411934
+- New X connect failed: WindowError
+ https://github.com/linuxdeepin/developer-center/issues/590
+
+* Sun Nov 4 2018 mosquito <sensor.wen(a)gmail.com> - 0-0.7.20181104git0354113
+- Update to 0354113
+
* Sat Aug 25 2018 mosquito <sensor.wen(a)gmail.com> - 0-0.6.git71929bb
- Update to 71929bb
diff --git a/sources b/sources
index 4469da0..346389e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (go-x11-client-71929bb.tar.gz) = a8f96382c96997344b7d111357316130f11fd11f2b892f3497af79accca9881614ec4c9df910e81b91d8d1adfe639da83ed5bc8ab8aa0848deb97f4aee51775f
+SHA512 (go-x11-client-841193439a13bbe881f0e50b5c5b513fbd603d7e.tar.gz) = c442ceb61f80b05bb98101a4eaae371cb8f13071188937bca5907360c9776c39962aa0b82110a22f0cac8112b0f6d71f349e5840a76167043e58ddf43582641c
5 years, 6 months
Architecture specific change in rpms/golang-github-coreos-go-etcd.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-coreos-go-etcd.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-coreos-go-etcd.git/....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 35f3217cf60e73d44c30bdc4708bae12730dd3e4
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Wed Nov 14 20:09:28 2018 +0100
Update to new go packaging
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/.gitignore b/.gitignore
index f7d9e2c..757d5ec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/go-etcd-68b33a3.tar.gz
+/go-etcd-2.0.0.tar.gz
diff --git a/golang-github-coreos-go-etcd.spec b/golang-github-coreos-go-etcd.spec
index 189ff56..8ed609d 100644
--- a/golang-github-coreos-go-etcd.spec
+++ b/golang-github-coreos-go-etcd.spec
@@ -1,184 +1,66 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-# needs etcd 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
+# Run tests in check section
+# Needs etcd running
+%bcond_with check
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
+# https://github.com/coreos/go-etcd
+%global goipath github.com/coreos/go-etcd
+Version: 2.0.0
-%global isgccgoarch 0
-%if 0%{?gccgo_arches:1}
-%ifarch %{gccgo_arches}
-%global isgccgoarch 1
-%endif
-%endif
+%global common_description %{expand:
+Go client library for etcd.}
-%global provider github
-%global provider_tld com
-%global project coreos
-%global repo go-etcd
-# https://github.com/coreos/go-etcd
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 68b33a3ba02a45d5f98bd7952e3e63e653a38252
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
-Name: golang-%{provider}-%{project}-%{repo}
-Version: 2.0.0
-Release: 0.13.git%{shortcommit}%{?dist}
+%gometa
+
+Name: golang-github-coreos-go-etcd
+Release: 1%{?dist}
Summary: Go client library for etcd
+# Detected licences
+# - *No copyright* Apache License (v2.0) at 'LICENSE'
License: ASL 2.0
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-Patch0: change-default-ports.patch
+URL: %{gourl}
+Source0: %{gosource}
-# 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}
+BuildRequires: golang(github.com/ugorji/go/codec)
%description
-%{summary}
+%{common_description}
+
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-BuildRequires: golang(github.com/ugorji/go/codec)
-%endif
-
-Requires: golang(github.com/ugorji/go/codec)
-
-Provides: golang(%{import_path}/etcd) = %{version}-%{release}
-
%description devel
-%{summary}
+%{common_description}
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 go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-
-%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}
+%{goipath} prefix.
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
%prep
-%setup -q -n %{repo}-%{commit}
-%patch0 -p1
+%forgeautosetup
-%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") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- 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
- 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
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%if %{with check}
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if %{isgccgoarch}
-function gotest { %{gcc_go_test} "$@"; }
-%else
-%if 0%{?golang_test:1}
-function gotest { %{golang_test} "$@"; }
-%else
-function gotest { go test "$@"; }
-%endif
-%endif
-
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
+%gochecks
%endif
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}/etcd
-%endif
-#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
+* Wed Nov 14 2018 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 2.0.0-1
+- Update to new go packaging
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.0.0-0.13.git68b33a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
@@ -259,4 +141,3 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
* Wed Aug 20 2014 Adam Miller <maxamillion(a)fedoraproject.org> - 0.2.0-0.1-rc1
- Initial fedora package
-
diff --git a/sources b/sources
index 5ad7009..840cfb0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-80c7ece24a2a13bf73459499233282a9 go-etcd-68b33a3.tar.gz
+SHA512 (go-etcd-2.0.0.tar.gz) = 6cbad346080d6c7100954ff40bae82ba796cff7f9a4883dc7d19544c2b3634727a92b3044a409d27f9ff54d27af397f7682dd2480e4ef3352175a2db861ce4cf
5 years, 6 months
Architecture specific change in rpms/golang-github-cryptix-wav.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-cryptix-wav.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-cryptix-wav.git/com....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 36c837a6610b76a95bd3dfd27ac8d4c14da4e16a
Author: mosquito <sensor.wen(a)gmail.com>
Date: Thu Nov 15 03:07:34 2018 +0800
Update to 8bdace6
diff --git a/.gitignore b/.gitignore
index 0056481..c9b5eb3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/wav-7b3d650.tar.gz
+/wav-8bdace674401f0bd3b63c65479b6a6ff1f9d5e44.tar.gz
diff --git a/golang-github-cryptix-wav.spec b/golang-github-cryptix-wav.spec
index 0cf4d3a..524b7be 100644
--- a/golang-github-cryptix-wav.spec
+++ b/golang-github-cryptix-wav.spec
@@ -1,28 +1,19 @@
-%global debug_package %{nil}
+# Run tests in check section
+# disable for bootstrapping
+%bcond_with check
-%global provider github
-%global provider_tld com
-%global project cryptix
-%global repo wav
-# https://github.com/cryptix/wav
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 7b3d650b50a50a0137376e392770f372edc3d968
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global commitdate 20171018
+%global goipath github.com/cryptix/wav
+%global commit 8bdace674401f0bd3b63c65479b6a6ff1f9d5e44
-Name: golang-%{provider}-%{project}-%{repo}
+%gometa
+
+Name: %{goname}
Version: 0
-Release: 0.2.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.3%{?dist}
Summary: golang wav reader and writer
License: GPLv2
-URL: https://%{provider_prefix}
-Source0: %{url}/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}.
@@ -39,70 +30,25 @@ This package contains library source intended for
building other packages which use import path with
%{import_path} prefix.
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-BuildArch: noarch
-BuildRequires: golang(github.com/cheekybits/is)
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test-devel
-%{summary}.
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-
-
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%forgeautosetup
%install
-# source codes for building projects
-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
-
-# testing files for this project
-install -d %{buildroot}%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go"); 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
-
-sort -u -o devel.file-list devel.file-list
+%goinstall
+%if %{with check}
%check
-export GOPATH=%{buildroot}%{gopath}:%{gopath}
-
-%if ! 0%{?gotest:1}
-%global gotest go test
+%gochecks
%endif
-%gotest %{import_path} ||:
-
%files devel -f devel.file-list
%doc README.md examples/
%license LICENSE
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-
-%files unit-test-devel -f unit-test-devel.file-list
%changelog
+* Fri Nov 9 2018 mosquito <sensor.wen(a)gmail.com> - 0-0.3.20181109git8bdace6
+- Update to 8bdace6
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.2.20171018git7b3d650
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources
index 71f1939..020e6fa 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (wav-7b3d650.tar.gz) = 7b3fb0e798a8808c8177be57f6b0570a91600a8d0ccd14f9e2401c7efa4063fc3da073f4cf05403cf28c0dedae955dea5ef81249afe95686d21d004b24788546
+SHA512 (wav-8bdace674401f0bd3b63c65479b6a6ff1f9d5e44.tar.gz) = e926fab44982476ce74f2baedde75fcbefeb82f184c24b4dc655971788bf2aeff3c90aa981a4f719911ebd0ce36ef09912d69bd983e3912079d39a049b8ef56b
5 years, 6 months
Architecture specific change in rpms/golang-github-cryptix-wav.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-cryptix-wav.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-cryptix-wav.git/com....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 36c837a6610b76a95bd3dfd27ac8d4c14da4e16a
Author: mosquito <sensor.wen(a)gmail.com>
Date: Thu Nov 15 03:07:34 2018 +0800
Update to 8bdace6
diff --git a/.gitignore b/.gitignore
index 0056481..c9b5eb3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/wav-7b3d650.tar.gz
+/wav-8bdace674401f0bd3b63c65479b6a6ff1f9d5e44.tar.gz
diff --git a/golang-github-cryptix-wav.spec b/golang-github-cryptix-wav.spec
index 0cf4d3a..524b7be 100644
--- a/golang-github-cryptix-wav.spec
+++ b/golang-github-cryptix-wav.spec
@@ -1,28 +1,19 @@
-%global debug_package %{nil}
+# Run tests in check section
+# disable for bootstrapping
+%bcond_with check
-%global provider github
-%global provider_tld com
-%global project cryptix
-%global repo wav
-# https://github.com/cryptix/wav
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 7b3d650b50a50a0137376e392770f372edc3d968
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global commitdate 20171018
+%global goipath github.com/cryptix/wav
+%global commit 8bdace674401f0bd3b63c65479b6a6ff1f9d5e44
-Name: golang-%{provider}-%{project}-%{repo}
+%gometa
+
+Name: %{goname}
Version: 0
-Release: 0.2.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.3%{?dist}
Summary: golang wav reader and writer
License: GPLv2
-URL: https://%{provider_prefix}
-Source0: %{url}/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}.
@@ -39,70 +30,25 @@ This package contains library source intended for
building other packages which use import path with
%{import_path} prefix.
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-BuildArch: noarch
-BuildRequires: golang(github.com/cheekybits/is)
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test-devel
-%{summary}.
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-
-
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%forgeautosetup
%install
-# source codes for building projects
-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
-
-# testing files for this project
-install -d %{buildroot}%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go"); 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
-
-sort -u -o devel.file-list devel.file-list
+%goinstall
+%if %{with check}
%check
-export GOPATH=%{buildroot}%{gopath}:%{gopath}
-
-%if ! 0%{?gotest:1}
-%global gotest go test
+%gochecks
%endif
-%gotest %{import_path} ||:
-
%files devel -f devel.file-list
%doc README.md examples/
%license LICENSE
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-
-%files unit-test-devel -f unit-test-devel.file-list
%changelog
+* Fri Nov 9 2018 mosquito <sensor.wen(a)gmail.com> - 0-0.3.20181109git8bdace6
+- Update to 8bdace6
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.2.20171018git7b3d650
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources
index 71f1939..020e6fa 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (wav-7b3d650.tar.gz) = 7b3fb0e798a8808c8177be57f6b0570a91600a8d0ccd14f9e2401c7efa4063fc3da073f4cf05403cf28c0dedae955dea5ef81249afe95686d21d004b24788546
+SHA512 (wav-8bdace674401f0bd3b63c65479b6a6ff1f9d5e44.tar.gz) = e926fab44982476ce74f2baedde75fcbefeb82f184c24b4dc655971788bf2aeff3c90aa981a4f719911ebd0ce36ef09912d69bd983e3912079d39a049b8ef56b
5 years, 6 months
Architecture specific change in rpms/golang-github-cheekybits-is.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-cheekybits-is.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-cheekybits-is.git/c....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit f17ce3498125b3ef78d71c00a55622610b34007e
Author: mosquito <sensor.wen(a)gmail.com>
Date: Thu Nov 15 03:01:03 2018 +0800
Update to new go package
diff --git a/.gitignore b/.gitignore
index 4e0f7f4..63cf0e5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/is-68e9c06.tar.gz
+/is-68e9c0620927fb5427fda3708222d0edee89eae9.tar.gz
diff --git a/golang-github-cheekybits-is.spec b/golang-github-cheekybits-is.spec
index 0c73799..cd35856 100644
--- a/golang-github-cheekybits-is.spec
+++ b/golang-github-cheekybits-is.spec
@@ -1,28 +1,19 @@
-%global debug_package %{nil}
+# Run tests in check section
+# disable for bootstrapping
+%bcond_with check
-%global provider github
-%global provider_tld com
-%global project cheekybits
-%global repo is
-# https://github.com/cheekybits/is
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 68e9c0620927fb5427fda3708222d0edee89eae9
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global commitdate 20150226
+%global goipath github.com/cheekybits/is
+%global commit 68e9c0620927fb5427fda3708222d0edee89eae9
-Name: golang-%{provider}-%{project}-%{repo}
+%gometa
+
+Name: %{goname}
Version: 0
-Release: 0.2.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.3%{?dist}
Summary: A mini testing helper for Go
License: MIT
-URL: https://%{provider_prefix}
-Source0: %{url}/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}.
@@ -39,69 +30,25 @@ This package contains library source intended for
building other packages which use import path with
%{import_path} prefix.
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-BuildArch: noarch
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test-devel
-%{summary}.
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-
-
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%forgeautosetup
%install
-# source codes for building projects
-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
-
-# testing files for this project
-install -d %{buildroot}%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go"); 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
-
-sort -u -o devel.file-list devel.file-list
+%goinstall
+%if %{with check}
%check
-export GOPATH=%{buildroot}%{gopath}:%{gopath}
-
-%if ! 0%{?gotest:1}
-%global gotest go test
+%gochecks
%endif
-%gotest %{import_path} ||:
-
%files devel -f devel.file-list
%doc README.md
%license LICENSE
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-
-%files unit-test-devel -f unit-test-devel.file-list
%changelog
+* Fri Nov 9 2018 mosquito <sensor.wen(a)gmail.com> - 0-0.3.20181109git68e9c06
+- Rewrite rpm spec
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.2.20150226git68e9c06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources
index dc89cdc..6c8fb13 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (is-68e9c06.tar.gz) = bbbfadfce1cdb7f8ea0fa7b319ed56df64630031aa85ca04e74b9da0d2eb8c6b5e02b5446ff4bbca11650592992cb4b2f63061686130e37089d2fa37a547de07
+SHA512 (is-68e9c0620927fb5427fda3708222d0edee89eae9.tar.gz) = bbbfadfce1cdb7f8ea0fa7b319ed56df64630031aa85ca04e74b9da0d2eb8c6b5e02b5446ff4bbca11650592992cb4b2f63061686130e37089d2fa37a547de07
5 years, 6 months