Architecture specific change in rpms/glusterd2.git
by githook-noreply@fedoraproject.org
The package rpms/glusterd2.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/glusterd2.git/commit/?id=11fcd4f5....
Change:
+ExclusiveArch: %{go_arches}
Thanks.
Full change:
============
commit a092c54728fdf116e904502c164db1f97072b124
Author: Kaushal M <kshlmster(a)gmail.com>
Date: Mon Jun 18 12:40:13 2018 +0000
Update to GlusterD2 v4.1.0
diff --git a/.gitignore b/.gitignore
index 9ff6e76..36c04da 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/glusterd2-v4.0.0-0.tar.xz
+/glusterd2-v4.1.0-0.tar.xz
diff --git a/glusterd2.spec b/glusterd2.spec
index e1a139b..ec7b619 100644
--- a/glusterd2.spec
+++ b/glusterd2.spec
@@ -23,16 +23,19 @@
%global gd2make %{__make} PREFIX=%{_prefix} EXEC_PREFIX=%{_exec_prefix} BINDIR=%{_bindir} SBINDIR=%{_sbindir} DATADIR=%{_datadir} LOCALSTATEDIR=%{_sharedstatedir} LOGDIR=%{_localstatedir}/log SYSCONFDIR=%{_sysconfdir} FASTBUILD=off
+%global gd2version 4.1.0
+%global gd2release 0
+
Name: %{repo}
-Version: 4.0.0
-Release: 2%{?dist}
+Version: 4.1.0
+Release: 1%{?dist}
Summary: The GlusterFS management daemon (preview)
License: GPLv2 or LGPLv3+
URL: https://%{provider_prefix}
%if 0%{?with_bundled}
-Source0: https://%{provider_prefix}/releases/download/v%{version}/%{name}-v%{version}-0-vendor.tar.xz
+Source0: https://%{provider_prefix}/releases/download/v%{version}/%{name}-v%{gd2version}-%{gd2release}-vendor.tar.xz
%else
-Source0: https://%{provider_prefix}/releases/download/v%{version}/%{name}-v%{version}-0.tar.xz
+Source0: https://%{provider_prefix}/releases/download/v%{version}/%{name}-v%{gd2version}-%{gd2release}.tar.xz
%endif
Source1: glusterd2-logrotate
@@ -72,7 +75,7 @@ BuildRequires: golang(golang.org/x/sys/unix)
BuildRequires: golang(google.golang.org/grpc)
%endif
-Requires: glusterfs-server >= 4.0.0, glusterfs-server < 4.1.0
+Requires: glusterfs-server >= 4.1.0
Requires: /usr/bin/strings
%{?systemd_requires}
@@ -123,6 +126,9 @@ install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
%{_sysconfdir}/bash_completion.d/glustercli.sh
%changelog
+* Fri Jun 15 2018 Kaushal M <kshlmster(a)gmail.com> - 4.1.0-1
+- Update to v4.1.0
+
* Wed Mar 14 2018 Kaushal M <kshlmster(a)gmail.com> - 4.0.0-2
- Add logrotate configuration
- Correct BuildRequires on go_compiler
diff --git a/sources b/sources
index f8eb1f6..79e29a0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (glusterd2-v4.0.0-0.tar.xz) = c8b33c5a99067d7f6cb78d6e99b1e6a48155a4e0781886bf00fdfd95cd3db288b3cb438a686fb28adeacdcb83b7ba0bfe80e2d586e9e634df95b7e0a26704dbe
+SHA512 (glusterd2-v4.1.0-0.tar.xz) = b72ddad90ee4582750a903746ed21ce0669c0539ddac94f026a1d3c5dde6e734f8385f4c0849e659d3c020a55445a675a78b9142fa2272ee7054b03d34f62852
commit 11fcd4f5ca7f4aaf4684fa81a85fe4a0595110e9
Author: Kaushal M <kshlmster(a)gmail.com>
Date: Mon Mar 19 05:23:56 2018 +0000
Initial import of glusterd2 package into rawhide
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9ff6e76
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/glusterd2-v4.0.0-0.tar.xz
diff --git a/README.md b/README.md
deleted file mode 100644
index 8fc62ad..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# glusterd2
-
-GlusterFS-4.0 management daemon and framework
\ No newline at end of file
diff --git a/glusterd2-logrotate b/glusterd2-logrotate
new file mode 100644
index 0000000..998f180
--- /dev/null
+++ b/glusterd2-logrotate
@@ -0,0 +1,13 @@
+# Rotate client logs
+/var/log/glusterd2/*.log /var/log/glusterd2/store/*.log {
+ sharedscripts
+ weekly
+ rotate 52
+ missingok
+ compress
+ delaycompress
+ notifempty
+ postrotate
+ /usr/bin/killall -HUP glusterd2 > /dev/null 2>&1 || true
+ endscript
+}
diff --git a/glusterd2.spec b/glusterd2.spec
new file mode 100644
index 0000000..e1a139b
--- /dev/null
+++ b/glusterd2.spec
@@ -0,0 +1,153 @@
+%if 0%{?fedora}
+%global with_bundled 0
+%else
+%global with_bundled 1
+%endif
+
+%{!?with_debug: %global with_debug 1}
+
+%if 0%{?with_debug}
+%global _dwz_low_mem_die_limit 0
+%else
+%global debug_package %{nil}
+%endif
+
+%{!?go_arches: %global go_arches x86_64 aarch64 ppc64le }
+
+%global provider github
+%global provider_tld com
+%global project gluster
+%global repo glusterd2
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path %{provider_prefix}
+
+%global gd2make %{__make} PREFIX=%{_prefix} EXEC_PREFIX=%{_exec_prefix} BINDIR=%{_bindir} SBINDIR=%{_sbindir} DATADIR=%{_datadir} LOCALSTATEDIR=%{_sharedstatedir} LOGDIR=%{_localstatedir}/log SYSCONFDIR=%{_sysconfdir} FASTBUILD=off
+
+Name: %{repo}
+Version: 4.0.0
+Release: 2%{?dist}
+Summary: The GlusterFS management daemon (preview)
+License: GPLv2 or LGPLv3+
+URL: https://%{provider_prefix}
+%if 0%{?with_bundled}
+Source0: https://%{provider_prefix}/releases/download/v%{version}/%{name}-v%{version}-0-vendor.tar.xz
+%else
+Source0: https://%{provider_prefix}/releases/download/v%{version}/%{name}-v%{version}-0.tar.xz
+%endif
+Source1: glusterd2-logrotate
+
+ExclusiveArch: %{go_arches}
+
+BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+BuildRequires: systemd
+
+%if ! 0%{?with_bundled}
+BuildRequires: golang(github.com/asaskevich/govalidator)
+BuildRequires: golang(github.com/cespare/xxhash)
+BuildRequires: golang(github.com/cockroachdb/cmux)
+BuildRequires: golang(github.com/coreos/etcd/clientv3)
+BuildRequires: golang(github.com/coreos/etcd/clientv3/concurrency)
+BuildRequires: golang(github.com/coreos/etcd/clientv3/namespace)
+BuildRequires: golang(github.com/coreos/etcd/embed)
+BuildRequires: golang(github.com/coreos/etcd/etcdserver/etcdserverpb)
+BuildRequires: golang(github.com/coreos/etcd/pkg/transport)
+BuildRequires: golang(github.com/coreos/etcd/pkg/types)
+BuildRequires: golang(github.com/coreos/pkg/capnslog)
+BuildRequires: golang(github.com/dgrijalva/jwt-go)
+BuildRequires: golang(github.com/golang/protobuf/proto)
+BuildRequires: golang(github.com/gorilla/handlers)
+BuildRequires: golang(github.com/gorilla/mux)
+BuildRequires: golang(github.com/justinas/alice)
+BuildRequires: golang(github.com/olekukonko/tablewriter)
+BuildRequires: golang(github.com/pborman/uuid)
+BuildRequires: golang(github.com/pelletier/go-toml)
+BuildRequires: golang(github.com/rasky/go-xdr/xdr2)
+BuildRequires: golang(github.com/sirupsen/logrus)
+BuildRequires: golang(github.com/spf13/cobra)
+BuildRequires: golang(github.com/spf13/pflag)
+BuildRequires: golang(github.com/spf13/viper)
+BuildRequires: golang(github.com/thejerf/suture)
+BuildRequires: golang(golang.org/x/net/context)
+BuildRequires: golang(golang.org/x/sys/unix)
+BuildRequires: golang(google.golang.org/grpc)
+%endif
+
+Requires: glusterfs-server >= 4.0.0, glusterfs-server < 4.1.0
+Requires: /usr/bin/strings
+%{?systemd_requires}
+
+%description
+The new GlusterFS management framework and daemon, for GlusterFS-4.0.
+
+%prep
+%setup -q -n %{name}-v%{version}-0
+
+%build
+export GOPATH=$(pwd):%{gopath}
+mkdir -p src/%(dirname %{import_path})
+ln -s ../../../ src/%{import_path}
+
+pushd src/%{import_path}
+# Build glusterd2
+%{gd2make} glusterd2
+%{gd2make} glustercli
+%{gd2make} glusterd2.toml
+popd
+
+%install
+# Install glusterd2 & glustercli binaries and the config
+%{gd2make} DESTDIR=%{buildroot} install
+# Install systemd unit
+install -D -p -m 0644 extras/systemd/%{name}.service %{buildroot}%{_unitdir}/%{name}.service
+# Create /var/lib/glusterd2
+install -d -m 0755 %{buildroot}%{_sharedstatedir}/%{name}
+# Setup logdir
+install -d -m 0755 %{buildroot}%{_localstatedir}/log/%{name}
+# Install logrotate config
+install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
+
+%post
+%systemd_post %{name}.service
+
+%preun
+%systemd_preun %{name}.service
+
+%files
+%{_sbindir}/%{name}
+%{_sbindir}/glustercli
+%config(noreplace) %{_sysconfdir}/%{name}
+%{_unitdir}/%{name}.service
+%dir %{_sharedstatedir}/%{name}
+%dir %{_localstatedir}/log/%{name}
+%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
+%{_sysconfdir}/bash_completion.d/glustercli.sh
+
+%changelog
+* Wed Mar 14 2018 Kaushal M <kshlmster(a)gmail.com> - 4.0.0-2
+- Add logrotate configuration
+- Correct BuildRequires on go_compiler
+- Build with unbundled on Fedora
+- Fix go_arches for EL
+- Require glusterfs-server < 4.1.0
+
+* Wed Feb 28 2018 Kaushal M <kshlmster(a)gmail.com> - 4.0.0-1
+- Update to v4.0.0
+
+* Wed Feb 14 2018 Kaushal M <kshlmster(a)gmail.com> - 4.0rc0-2
+- Update spec to support unbundled/vendored builds
+- Fedora defaults to bundled builds till all required dependencies are available
+
+* Tue Jan 30 2018 Kaushal M <kshlmster(a)gmail.com> - 4.0rc0-1
+- Switch ExclusiveArch to go_arches
+
+* Fri Jan 12 2018 Kaushal M <kshlmster(a)gmail.com> - 4.0dev-10
+- Use standard paths to build and install
+
+* Wed Nov 08 2017 Kaushal M <kshlmster(a)gmail.com> - 4.0dev-9
+- Build with vendored tarball.
+
+* Thu Oct 26 2017 Kaushal M <kshlmster(a)gmail.com> - 4.0dev-8
+- Update spec file
+
+* Mon Jul 03 2017 Kaushal M <kshlmster(a)gmail.com> - 4.0dev-7
+- Initial spec
diff --git a/sources b/sources
new file mode 100644
index 0000000..f8eb1f6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (glusterd2-v4.0.0-0.tar.xz) = c8b33c5a99067d7f6cb78d6e99b1e6a48155a4e0781886bf00fdfd95cd3db288b3cb438a686fb28adeacdcb83b7ba0bfe80e2d586e9e634df95b7e0a26704dbe
5 years, 11 months
Architecture specific change in rpms/glusterd2.git
by githook-noreply@fedoraproject.org
The package rpms/glusterd2.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/glusterd2.git/commit/?id=11fcd4f5....
Change:
+ExclusiveArch: %{go_arches}
Thanks.
Full change:
============
commit a092c54728fdf116e904502c164db1f97072b124
Author: Kaushal M <kshlmster(a)gmail.com>
Date: Mon Jun 18 12:40:13 2018 +0000
Update to GlusterD2 v4.1.0
diff --git a/.gitignore b/.gitignore
index 9ff6e76..36c04da 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/glusterd2-v4.0.0-0.tar.xz
+/glusterd2-v4.1.0-0.tar.xz
diff --git a/glusterd2.spec b/glusterd2.spec
index e1a139b..ec7b619 100644
--- a/glusterd2.spec
+++ b/glusterd2.spec
@@ -23,16 +23,19 @@
%global gd2make %{__make} PREFIX=%{_prefix} EXEC_PREFIX=%{_exec_prefix} BINDIR=%{_bindir} SBINDIR=%{_sbindir} DATADIR=%{_datadir} LOCALSTATEDIR=%{_sharedstatedir} LOGDIR=%{_localstatedir}/log SYSCONFDIR=%{_sysconfdir} FASTBUILD=off
+%global gd2version 4.1.0
+%global gd2release 0
+
Name: %{repo}
-Version: 4.0.0
-Release: 2%{?dist}
+Version: 4.1.0
+Release: 1%{?dist}
Summary: The GlusterFS management daemon (preview)
License: GPLv2 or LGPLv3+
URL: https://%{provider_prefix}
%if 0%{?with_bundled}
-Source0: https://%{provider_prefix}/releases/download/v%{version}/%{name}-v%{version}-0-vendor.tar.xz
+Source0: https://%{provider_prefix}/releases/download/v%{version}/%{name}-v%{gd2version}-%{gd2release}-vendor.tar.xz
%else
-Source0: https://%{provider_prefix}/releases/download/v%{version}/%{name}-v%{version}-0.tar.xz
+Source0: https://%{provider_prefix}/releases/download/v%{version}/%{name}-v%{gd2version}-%{gd2release}.tar.xz
%endif
Source1: glusterd2-logrotate
@@ -72,7 +75,7 @@ BuildRequires: golang(golang.org/x/sys/unix)
BuildRequires: golang(google.golang.org/grpc)
%endif
-Requires: glusterfs-server >= 4.0.0, glusterfs-server < 4.1.0
+Requires: glusterfs-server >= 4.1.0
Requires: /usr/bin/strings
%{?systemd_requires}
@@ -123,6 +126,9 @@ install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
%{_sysconfdir}/bash_completion.d/glustercli.sh
%changelog
+* Fri Jun 15 2018 Kaushal M <kshlmster(a)gmail.com> - 4.1.0-1
+- Update to v4.1.0
+
* Wed Mar 14 2018 Kaushal M <kshlmster(a)gmail.com> - 4.0.0-2
- Add logrotate configuration
- Correct BuildRequires on go_compiler
diff --git a/sources b/sources
index f8eb1f6..79e29a0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (glusterd2-v4.0.0-0.tar.xz) = c8b33c5a99067d7f6cb78d6e99b1e6a48155a4e0781886bf00fdfd95cd3db288b3cb438a686fb28adeacdcb83b7ba0bfe80e2d586e9e634df95b7e0a26704dbe
+SHA512 (glusterd2-v4.1.0-0.tar.xz) = b72ddad90ee4582750a903746ed21ce0669c0539ddac94f026a1d3c5dde6e734f8385f4c0849e659d3c020a55445a675a78b9142fa2272ee7054b03d34f62852
commit 11fcd4f5ca7f4aaf4684fa81a85fe4a0595110e9
Author: Kaushal M <kshlmster(a)gmail.com>
Date: Mon Mar 19 05:23:56 2018 +0000
Initial import of glusterd2 package into rawhide
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9ff6e76
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/glusterd2-v4.0.0-0.tar.xz
diff --git a/README.md b/README.md
deleted file mode 100644
index 8fc62ad..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# glusterd2
-
-GlusterFS-4.0 management daemon and framework
\ No newline at end of file
diff --git a/glusterd2-logrotate b/glusterd2-logrotate
new file mode 100644
index 0000000..998f180
--- /dev/null
+++ b/glusterd2-logrotate
@@ -0,0 +1,13 @@
+# Rotate client logs
+/var/log/glusterd2/*.log /var/log/glusterd2/store/*.log {
+ sharedscripts
+ weekly
+ rotate 52
+ missingok
+ compress
+ delaycompress
+ notifempty
+ postrotate
+ /usr/bin/killall -HUP glusterd2 > /dev/null 2>&1 || true
+ endscript
+}
diff --git a/glusterd2.spec b/glusterd2.spec
new file mode 100644
index 0000000..e1a139b
--- /dev/null
+++ b/glusterd2.spec
@@ -0,0 +1,153 @@
+%if 0%{?fedora}
+%global with_bundled 0
+%else
+%global with_bundled 1
+%endif
+
+%{!?with_debug: %global with_debug 1}
+
+%if 0%{?with_debug}
+%global _dwz_low_mem_die_limit 0
+%else
+%global debug_package %{nil}
+%endif
+
+%{!?go_arches: %global go_arches x86_64 aarch64 ppc64le }
+
+%global provider github
+%global provider_tld com
+%global project gluster
+%global repo glusterd2
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path %{provider_prefix}
+
+%global gd2make %{__make} PREFIX=%{_prefix} EXEC_PREFIX=%{_exec_prefix} BINDIR=%{_bindir} SBINDIR=%{_sbindir} DATADIR=%{_datadir} LOCALSTATEDIR=%{_sharedstatedir} LOGDIR=%{_localstatedir}/log SYSCONFDIR=%{_sysconfdir} FASTBUILD=off
+
+Name: %{repo}
+Version: 4.0.0
+Release: 2%{?dist}
+Summary: The GlusterFS management daemon (preview)
+License: GPLv2 or LGPLv3+
+URL: https://%{provider_prefix}
+%if 0%{?with_bundled}
+Source0: https://%{provider_prefix}/releases/download/v%{version}/%{name}-v%{version}-0-vendor.tar.xz
+%else
+Source0: https://%{provider_prefix}/releases/download/v%{version}/%{name}-v%{version}-0.tar.xz
+%endif
+Source1: glusterd2-logrotate
+
+ExclusiveArch: %{go_arches}
+
+BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+BuildRequires: systemd
+
+%if ! 0%{?with_bundled}
+BuildRequires: golang(github.com/asaskevich/govalidator)
+BuildRequires: golang(github.com/cespare/xxhash)
+BuildRequires: golang(github.com/cockroachdb/cmux)
+BuildRequires: golang(github.com/coreos/etcd/clientv3)
+BuildRequires: golang(github.com/coreos/etcd/clientv3/concurrency)
+BuildRequires: golang(github.com/coreos/etcd/clientv3/namespace)
+BuildRequires: golang(github.com/coreos/etcd/embed)
+BuildRequires: golang(github.com/coreos/etcd/etcdserver/etcdserverpb)
+BuildRequires: golang(github.com/coreos/etcd/pkg/transport)
+BuildRequires: golang(github.com/coreos/etcd/pkg/types)
+BuildRequires: golang(github.com/coreos/pkg/capnslog)
+BuildRequires: golang(github.com/dgrijalva/jwt-go)
+BuildRequires: golang(github.com/golang/protobuf/proto)
+BuildRequires: golang(github.com/gorilla/handlers)
+BuildRequires: golang(github.com/gorilla/mux)
+BuildRequires: golang(github.com/justinas/alice)
+BuildRequires: golang(github.com/olekukonko/tablewriter)
+BuildRequires: golang(github.com/pborman/uuid)
+BuildRequires: golang(github.com/pelletier/go-toml)
+BuildRequires: golang(github.com/rasky/go-xdr/xdr2)
+BuildRequires: golang(github.com/sirupsen/logrus)
+BuildRequires: golang(github.com/spf13/cobra)
+BuildRequires: golang(github.com/spf13/pflag)
+BuildRequires: golang(github.com/spf13/viper)
+BuildRequires: golang(github.com/thejerf/suture)
+BuildRequires: golang(golang.org/x/net/context)
+BuildRequires: golang(golang.org/x/sys/unix)
+BuildRequires: golang(google.golang.org/grpc)
+%endif
+
+Requires: glusterfs-server >= 4.0.0, glusterfs-server < 4.1.0
+Requires: /usr/bin/strings
+%{?systemd_requires}
+
+%description
+The new GlusterFS management framework and daemon, for GlusterFS-4.0.
+
+%prep
+%setup -q -n %{name}-v%{version}-0
+
+%build
+export GOPATH=$(pwd):%{gopath}
+mkdir -p src/%(dirname %{import_path})
+ln -s ../../../ src/%{import_path}
+
+pushd src/%{import_path}
+# Build glusterd2
+%{gd2make} glusterd2
+%{gd2make} glustercli
+%{gd2make} glusterd2.toml
+popd
+
+%install
+# Install glusterd2 & glustercli binaries and the config
+%{gd2make} DESTDIR=%{buildroot} install
+# Install systemd unit
+install -D -p -m 0644 extras/systemd/%{name}.service %{buildroot}%{_unitdir}/%{name}.service
+# Create /var/lib/glusterd2
+install -d -m 0755 %{buildroot}%{_sharedstatedir}/%{name}
+# Setup logdir
+install -d -m 0755 %{buildroot}%{_localstatedir}/log/%{name}
+# Install logrotate config
+install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
+
+%post
+%systemd_post %{name}.service
+
+%preun
+%systemd_preun %{name}.service
+
+%files
+%{_sbindir}/%{name}
+%{_sbindir}/glustercli
+%config(noreplace) %{_sysconfdir}/%{name}
+%{_unitdir}/%{name}.service
+%dir %{_sharedstatedir}/%{name}
+%dir %{_localstatedir}/log/%{name}
+%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
+%{_sysconfdir}/bash_completion.d/glustercli.sh
+
+%changelog
+* Wed Mar 14 2018 Kaushal M <kshlmster(a)gmail.com> - 4.0.0-2
+- Add logrotate configuration
+- Correct BuildRequires on go_compiler
+- Build with unbundled on Fedora
+- Fix go_arches for EL
+- Require glusterfs-server < 4.1.0
+
+* Wed Feb 28 2018 Kaushal M <kshlmster(a)gmail.com> - 4.0.0-1
+- Update to v4.0.0
+
+* Wed Feb 14 2018 Kaushal M <kshlmster(a)gmail.com> - 4.0rc0-2
+- Update spec to support unbundled/vendored builds
+- Fedora defaults to bundled builds till all required dependencies are available
+
+* Tue Jan 30 2018 Kaushal M <kshlmster(a)gmail.com> - 4.0rc0-1
+- Switch ExclusiveArch to go_arches
+
+* Fri Jan 12 2018 Kaushal M <kshlmster(a)gmail.com> - 4.0dev-10
+- Use standard paths to build and install
+
+* Wed Nov 08 2017 Kaushal M <kshlmster(a)gmail.com> - 4.0dev-9
+- Build with vendored tarball.
+
+* Thu Oct 26 2017 Kaushal M <kshlmster(a)gmail.com> - 4.0dev-8
+- Update spec file
+
+* Mon Jul 03 2017 Kaushal M <kshlmster(a)gmail.com> - 4.0dev-7
+- Initial spec
diff --git a/sources b/sources
new file mode 100644
index 0000000..f8eb1f6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (glusterd2-v4.0.0-0.tar.xz) = c8b33c5a99067d7f6cb78d6e99b1e6a48155a4e0781886bf00fdfd95cd3db288b3cb438a686fb28adeacdcb83b7ba0bfe80e2d586e9e634df95b7e0a26704dbe
5 years, 11 months
Architecture specific change in rpms/glibc.git
by githook-noreply@fedoraproject.org
The package rpms/glibc.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/glibc.git/commit/?id=8d21d21b5d91....
Change:
-%ifarch i686
Thanks.
Full change:
============
commit f929de27b9b9bb7f2c0fbff4a8dd4b28fa9f213c
Author: Florian Weimer <fweimer(a)redhat.com>
Date: Mon Jun 18 14:16:33 2018 +0200
iconv: Make IBM273 equivalent to ISO-8859-1 (#1592270)
diff --git a/glibc-rh1592270.patch b/glibc-rh1592270.patch
new file mode 100644
index 0000000..1bc7bfd
--- /dev/null
+++ b/glibc-rh1592270.patch
@@ -0,0 +1,33 @@
+commit 14beef7575099f6373f9a45b4656f1e3675f7372
+Author: Florian Weimer <fweimer(a)redhat.com>
+Date: Thu Jun 14 22:34:09 2018 +0200
+
+ localedata: Make IBM273 compatible with ISO-8859-1 [BZ #23290]
+
+ Reviewed-by: Carlos O'Donell <carlos(a)redhat.com>
+
+diff --git a/iconvdata/ibm273.c b/iconvdata/ibm273.c
+index c303cf306db56d81..132c06f0eb629f6e 100644
+--- a/iconvdata/ibm273.c
++++ b/iconvdata/ibm273.c
+@@ -23,6 +23,6 @@
+ #define TABLES <ibm273.h>
+
+ #define CHARSET_NAME "IBM273//"
+-#define HAS_HOLES 1 /* Not all 256 character are defined. */
++#define HAS_HOLES 0
+
+ #include <8bit-gap.c>
+diff --git a/localedata/charmaps/IBM273 b/localedata/charmaps/IBM273
+index c3f70e2a6f7c4595..4401101b5013c706 100644
+--- a/localedata/charmaps/IBM273
++++ b/localedata/charmaps/IBM273
+@@ -194,7 +194,7 @@ CHARMAP
+ <U00BE> /xb9 VULGAR FRACTION THREE QUARTERS
+ <U00AC> /xba NOT SIGN
+ <U007C> /xbb VERTICAL LINE
+-<U203E> /xbc OVERLINE
++<U00AF> /xbc MACRON
+ <U00A8> /xbd DIAERESIS
+ <U00B4> /xbe ACUTE ACCENT
+ <U00D7> /xbf MULTIPLICATION SIGN
diff --git a/glibc.spec b/glibc.spec
index 95560da..bb3f086 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -1,6 +1,6 @@
%define glibcsrcdir glibc-2.27-63-g80c83e9114
%define glibcversion 2.27
-%define glibcrelease 17%{?dist}
+%define glibcrelease 18%{?dist}
# Pre-release tarballs are pulled in from git using a command that is
# effectively:
#
@@ -236,6 +236,7 @@ Patch2055: glibc-collation-cldr-13.patch
Patch2056: glibc-collation-cldr-14.patch
Patch2057: glibc-collation-cldr-15.patch
Patch2058: glibc-python3.patch
+Patch2059: glibc-rh1592270.patch
##############################################################################
# End of glibc patches.
@@ -779,6 +780,7 @@ microbenchmark tests on the system.
%patch2056 -p1
%patch2057 -p1
%patch2058 -p1
+%patch2059 -p1
##############################################################################
# %%prep - Additional prep required...
@@ -1974,6 +1976,9 @@ fi
%endif
%changelog
+* Mon Jun 18 2018 Florian Weimer <fweimer(a)redhat.com> - 2.27-18
+- iconv: Make IBM273 equivalent to ISO-8859-1 (#1592270)
+
* Mon Jun 18 2018 Florian Weimer <fweimer(a)redhat.com> - 2.27-17
- Align build flags inheritance with master (downstream only)
commit 8d21d21b5d917553a8497392f65f5763105cf573
Author: Florian Weimer <fweimer(a)redhat.com>
Date: Mon Jun 18 14:04:52 2018 +0200
Align build flags inheritance with master (downstream only)
diff --git a/glibc.spec b/glibc.spec
index 29c7194..95560da 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -1,6 +1,6 @@
%define glibcsrcdir glibc-2.27-63-g80c83e9114
%define glibcversion 2.27
-%define glibcrelease 16%{?dist}
+%define glibcrelease 17%{?dist}
# Pre-release tarballs are pulled in from git using a command that is
# effectively:
#
@@ -851,15 +851,20 @@ rpm_inherit_flags \
"-m64" \
"-mstackrealign" \
%if 0%{?rhel} > 0
+ "-march=i686" \
+ "-march=x86-64" \
+ "-march=z13" \
+ "-march=z14" \
+ "-march=zEC12" \
+ "-mfpmath=sse" \
+ "-msse2" \
+ "-mtune=generic" \
+ "-mtune=z13" \
+ "-mtune=z14" \
+ "-mtune=zEC12" \
"-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" \
%endif
-%if 0%{?rhel} > 0
-%ifarch i686
-BuildFlags="$BuildFlags -mstackrealign"
-%endif
-%endif
-
##############################################################################
# %%build - Generic options.
##############################################################################
@@ -1969,6 +1974,9 @@ fi
%endif
%changelog
+* Mon Jun 18 2018 Florian Weimer <fweimer(a)redhat.com> - 2.27-17
+- Align build flags inheritance with master (downstream only)
+
* Mon Jun 18 2018 Florian Weimer <fweimer(a)redhat.com> - 2.27-16
- Auto-sync with upstream branch release/2.27/master,
commit 80c83e91140d429c73f79092fdb75eed0fb71da0:
commit 4036357674f97bb63c6fc2fc2d1e4f87994dcd5d
Author: Florian Weimer <fweimer(a)redhat.com>
Date: Mon Jun 18 14:01:47 2018 +0200
Auto-sync with upstream branch release/2.27/master
Upstream commit: 80c83e91140d429c73f79092fdb75eed0fb71da0
- libio: Avoid _allocate_buffer, _free_buffer function pointers (swbz#23236)
- posix: Fix posix_spawnp to not execute invalid binaries in non compat mode
(swbz#23264)
- elf: Improve DST handling (swbz#23102, swbz#21942, swbz#18018, swbz#23259)
diff --git a/glibc.spec b/glibc.spec
index 9d0af31..29c7194 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -1,6 +1,6 @@
-%define glibcsrcdir glibc-2.27-56-g50df56ca86
+%define glibcsrcdir glibc-2.27-63-g80c83e9114
%define glibcversion 2.27
-%define glibcrelease 15%{?dist}
+%define glibcrelease 16%{?dist}
# Pre-release tarballs are pulled in from git using a command that is
# effectively:
#
@@ -1969,6 +1969,14 @@ fi
%endif
%changelog
+* Mon Jun 18 2018 Florian Weimer <fweimer(a)redhat.com> - 2.27-16
+- Auto-sync with upstream branch release/2.27/master,
+ commit 80c83e91140d429c73f79092fdb75eed0fb71da0:
+- libio: Avoid _allocate_buffer, _free_buffer function pointers (swbz#23236)
+- posix: Fix posix_spawnp to not execute invalid binaries in non compat mode
+ (swbz#23264)
+- elf: Improve DST handling (swbz#23102, swbz#21942, swbz#18018, swbz#23259)
+
* Thu May 24 2018 Florian Weimer <fweimer(a)redhat.com> - 2.27-15
- Rebuild to add back .symtab section in ld.so (#1570246)
- Switch to upstream version of libidn2 removal (#1452750)
diff --git a/sources b/sources
index b9d38d0..fcf1cc3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (glibc-2.27-56-g50df56ca86.tar.gz) = e0f96391b35cff823698c60ce0d0b308677a43e48cf4f2b3f8ad847ef76402ad50b97d448e12ffdcdf67e6d1ac67f5aebe6e63e9091064d1e1e804c1aa7df66f
+SHA512 (glibc-2.27-63-g80c83e9114.tar.gz) = 58eb0fd90894c572cdd9c21c06b6c028d3281374a217e8b3009d6f7dd9eb4bbf53b5a948b5ecf3cb0fb405911a7970d2866c92ab20546f7e94b9058ec8a85bc4
5 years, 11 months
Architecture specific change in rpms/golang-github-mitchellh-cli.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-mitchellh-cli.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-mitchellh-cli.git/c....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 86b203c398ec14dcc280b47b27ff06e7307c6c5b
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Jun 18 13:16:33 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index e5c251d..57a10aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/cli-8102d0e.tar.gz
+/cli-8102d0ed5ea2709ade1243798785888175f6e415.tar.gz
diff --git a/Fix-formatting-errors.patch b/Fix-formatting-errors.patch
new file mode 100644
index 0000000..e9a116c
--- /dev/null
+++ b/Fix-formatting-errors.patch
@@ -0,0 +1,42 @@
+From 7d938caf715c7ea5937b43fce73813e63bf1765b Mon Sep 17 00:00:00 2001
+From: Jan Chaloupka <jchaloup(a)redhat.com>
+Date: Mon, 18 Jun 2018 13:08:41 +0200
+Subject: [PATCH] Fix formatting errors
+
+---
+ ui_colored_test.go | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/ui_colored_test.go b/ui_colored_test.go
+index 35bbbf5..bc7f637 100644
+--- a/ui_colored_test.go
++++ b/ui_colored_test.go
+@@ -43,7 +43,7 @@ func TestColoredUi_Info(t *testing.T) {
+ ui.Info("foo")
+
+ if mock.OutputWriter.String() != "\033[0;33mfoo\033[0m\n" {
+- t.Fatalf("bad: %#v %#v", mock.OutputWriter.String())
++ t.Fatalf("bad: %#v", mock.OutputWriter.String())
+ }
+ }
+
+@@ -56,7 +56,7 @@ func TestColoredUi_Output(t *testing.T) {
+ ui.Output("foo")
+
+ if mock.OutputWriter.String() != "\033[0;33mfoo\033[0m\n" {
+- t.Fatalf("bad: %#v %#v", mock.OutputWriter.String())
++ t.Fatalf("bad: %#v", mock.OutputWriter.String())
+ }
+ }
+
+@@ -69,6 +69,6 @@ func TestColoredUi_Warn(t *testing.T) {
+ ui.Warn("foo")
+
+ if mock.ErrorWriter.String() != "\033[0;33mfoo\033[0m\n" {
+- t.Fatalf("bad: %#v %#v", mock.ErrorWriter.String())
++ t.Fatalf("bad: %#v", mock.ErrorWriter.String())
+ }
+ }
+--
+2.7.5
+
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..de58808
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,12 @@
+hash: dd3ca600845d2aac23c2f8e1735c0b47fa9a7ed244adcf724162af63ddfdc14b
+imports:
+- name: golang.org/x/sys
+ subpackages:
+ - unix
+ version: b9cf5f96b68d9eaa53d5db5fef235718767f416a
+- name: golang.org/x/crypto
+ subpackages:
+ - ssh/terminal
+ version: 12892e8c234f4fe6f6803f052061de9057903bb2
+updated: '2018-06-18T11:10:06.272927+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..ba3d18a
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,11 @@
+import:
+- package: golang.org/x/sys
+ subpackages:
+ - unix
+ version: b9cf5f96b68d9eaa53d5db5fef235718767f416a
+- package: golang.org/x/crypto
+ subpackages:
+ - ssh/terminal
+ version: 12892e8c234f4fe6f6803f052061de9057903bb2
+package: github.com/mitchellh/cli
+
diff --git a/golang-github-mitchellh-cli.spec b/golang-github-mitchellh-cli.spec
index d2de272..111e31d 100644
--- a/golang-github-mitchellh-cli.spec
+++ b/golang-github-mitchellh-cli.spec
@@ -1,187 +1,62 @@
-# If any of the following macros should be set otherwise,
-# you can wrap any of them with the following conditions:
-# - %%if 0%%{centos} == 7
-# - %%if 0%%{?rhel} == 7
-# - %%if 0%%{?fedora} == 23
-# Or just test for particular distribution:
-# - %%if 0%%{centos}
-# - %%if 0%%{?rhel}
-# - %%if 0%%{?fedora}
-#
-# Be aware, on centos, both %%rhel and %%centos are set. If you want to test
-# rhel specific macros, you can use %%if 0%%{?rhel} && 0%%{?centos} == 0 condition.
-# (Don't forget to replace double percentage symbol with single one in order to apply a condition)
-
-# Generate devel rpm
-%global with_devel 1
-# Build project from bundled dependencies
-%global with_bundled 0
-# Build with debug info rpm
-%global with_debug 0
-# Run tests in check section
-%global with_check 1
-# Generate unit-test rpm
-%global with_unit_test 1
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-
-%global provider github
-%global provider_tld com
-%global project mitchellh
-%global repo cli
-# https://github.com/mitchellh/cli
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/mitchellh/cli
+
+%global goipath github.com/mitchellh/cli
%global commit 8102d0ed5ea2709ade1243798785888175f6e415
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-%{provider}-%{project}-%{repo}
+
+%gometa -i
+
+Name: %{goname}
Version: 0
-Release: 0.4.git%{shortcommit}%{?dist}
+Release: 0.5%{?dist}
Summary: Go library for implementing command-line interfaces
# Detected licences
# - *No copyright* MPL (v2.0) at 'LICENSE'
License: MPLv2.0
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-
-
+URL: %{gourl}
+Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
+Patch0: Fix-formatting-errors.patch
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check} && ! 0%{?with_bundled}
BuildRequires: golang(golang.org/x/crypto/ssh/terminal)
-%endif
-
-Requires: golang(golang.org/x/crypto/ssh/terminal)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test-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}
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
+%patch0 -p1
-%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" -or -iname "*.s" \) \! -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" >> 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") ; 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
+%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
-# No dependency directories so far
-
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}
-%endif
+%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test-devel -f unit-test-devel.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Mon Jun 18 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.5.git8102d0e
+- Upload glide files
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.4.git8102d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 8b60924..16e6bc6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cli-8102d0e.tar.gz) = 61a7dc49629d834d9804d482eb2066ba705ca8ef764677eaef1fd34773c46a2a60fb33896b67320ced1120e9e8e36d4acb723693e2b7987675e17a4c57f9c391
+SHA512 (cli-8102d0ed5ea2709ade1243798785888175f6e415.tar.gz) = 61a7dc49629d834d9804d482eb2066ba705ca8ef764677eaef1fd34773c46a2a60fb33896b67320ced1120e9e8e36d4acb723693e2b7987675e17a4c57f9c391
5 years, 11 months
Architecture specific change in rpms/golang-github-mitchellh-cli.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-mitchellh-cli.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-mitchellh-cli.git/c....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 86b203c398ec14dcc280b47b27ff06e7307c6c5b
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Jun 18 13:16:33 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index e5c251d..57a10aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/cli-8102d0e.tar.gz
+/cli-8102d0ed5ea2709ade1243798785888175f6e415.tar.gz
diff --git a/Fix-formatting-errors.patch b/Fix-formatting-errors.patch
new file mode 100644
index 0000000..e9a116c
--- /dev/null
+++ b/Fix-formatting-errors.patch
@@ -0,0 +1,42 @@
+From 7d938caf715c7ea5937b43fce73813e63bf1765b Mon Sep 17 00:00:00 2001
+From: Jan Chaloupka <jchaloup(a)redhat.com>
+Date: Mon, 18 Jun 2018 13:08:41 +0200
+Subject: [PATCH] Fix formatting errors
+
+---
+ ui_colored_test.go | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/ui_colored_test.go b/ui_colored_test.go
+index 35bbbf5..bc7f637 100644
+--- a/ui_colored_test.go
++++ b/ui_colored_test.go
+@@ -43,7 +43,7 @@ func TestColoredUi_Info(t *testing.T) {
+ ui.Info("foo")
+
+ if mock.OutputWriter.String() != "\033[0;33mfoo\033[0m\n" {
+- t.Fatalf("bad: %#v %#v", mock.OutputWriter.String())
++ t.Fatalf("bad: %#v", mock.OutputWriter.String())
+ }
+ }
+
+@@ -56,7 +56,7 @@ func TestColoredUi_Output(t *testing.T) {
+ ui.Output("foo")
+
+ if mock.OutputWriter.String() != "\033[0;33mfoo\033[0m\n" {
+- t.Fatalf("bad: %#v %#v", mock.OutputWriter.String())
++ t.Fatalf("bad: %#v", mock.OutputWriter.String())
+ }
+ }
+
+@@ -69,6 +69,6 @@ func TestColoredUi_Warn(t *testing.T) {
+ ui.Warn("foo")
+
+ if mock.ErrorWriter.String() != "\033[0;33mfoo\033[0m\n" {
+- t.Fatalf("bad: %#v %#v", mock.ErrorWriter.String())
++ t.Fatalf("bad: %#v", mock.ErrorWriter.String())
+ }
+ }
+--
+2.7.5
+
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..de58808
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,12 @@
+hash: dd3ca600845d2aac23c2f8e1735c0b47fa9a7ed244adcf724162af63ddfdc14b
+imports:
+- name: golang.org/x/sys
+ subpackages:
+ - unix
+ version: b9cf5f96b68d9eaa53d5db5fef235718767f416a
+- name: golang.org/x/crypto
+ subpackages:
+ - ssh/terminal
+ version: 12892e8c234f4fe6f6803f052061de9057903bb2
+updated: '2018-06-18T11:10:06.272927+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..ba3d18a
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,11 @@
+import:
+- package: golang.org/x/sys
+ subpackages:
+ - unix
+ version: b9cf5f96b68d9eaa53d5db5fef235718767f416a
+- package: golang.org/x/crypto
+ subpackages:
+ - ssh/terminal
+ version: 12892e8c234f4fe6f6803f052061de9057903bb2
+package: github.com/mitchellh/cli
+
diff --git a/golang-github-mitchellh-cli.spec b/golang-github-mitchellh-cli.spec
index d2de272..111e31d 100644
--- a/golang-github-mitchellh-cli.spec
+++ b/golang-github-mitchellh-cli.spec
@@ -1,187 +1,62 @@
-# If any of the following macros should be set otherwise,
-# you can wrap any of them with the following conditions:
-# - %%if 0%%{centos} == 7
-# - %%if 0%%{?rhel} == 7
-# - %%if 0%%{?fedora} == 23
-# Or just test for particular distribution:
-# - %%if 0%%{centos}
-# - %%if 0%%{?rhel}
-# - %%if 0%%{?fedora}
-#
-# Be aware, on centos, both %%rhel and %%centos are set. If you want to test
-# rhel specific macros, you can use %%if 0%%{?rhel} && 0%%{?centos} == 0 condition.
-# (Don't forget to replace double percentage symbol with single one in order to apply a condition)
-
-# Generate devel rpm
-%global with_devel 1
-# Build project from bundled dependencies
-%global with_bundled 0
-# Build with debug info rpm
-%global with_debug 0
-# Run tests in check section
-%global with_check 1
-# Generate unit-test rpm
-%global with_unit_test 1
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-
-%global provider github
-%global provider_tld com
-%global project mitchellh
-%global repo cli
-# https://github.com/mitchellh/cli
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/mitchellh/cli
+
+%global goipath github.com/mitchellh/cli
%global commit 8102d0ed5ea2709ade1243798785888175f6e415
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-%{provider}-%{project}-%{repo}
+
+%gometa -i
+
+Name: %{goname}
Version: 0
-Release: 0.4.git%{shortcommit}%{?dist}
+Release: 0.5%{?dist}
Summary: Go library for implementing command-line interfaces
# Detected licences
# - *No copyright* MPL (v2.0) at 'LICENSE'
License: MPLv2.0
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-
-
+URL: %{gourl}
+Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
+Patch0: Fix-formatting-errors.patch
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check} && ! 0%{?with_bundled}
BuildRequires: golang(golang.org/x/crypto/ssh/terminal)
-%endif
-
-Requires: golang(golang.org/x/crypto/ssh/terminal)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test-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}
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
+%patch0 -p1
-%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" -or -iname "*.s" \) \! -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" >> 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") ; 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
+%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
-# No dependency directories so far
-
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}
-%endif
+%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test-devel -f unit-test-devel.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Mon Jun 18 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.5.git8102d0e
+- Upload glide files
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.4.git8102d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 8b60924..16e6bc6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cli-8102d0e.tar.gz) = 61a7dc49629d834d9804d482eb2066ba705ca8ef764677eaef1fd34773c46a2a60fb33896b67320ced1120e9e8e36d4acb723693e2b7987675e17a4c57f9c391
+SHA512 (cli-8102d0ed5ea2709ade1243798785888175f6e415.tar.gz) = 61a7dc49629d834d9804d482eb2066ba705ca8ef764677eaef1fd34773c46a2a60fb33896b67320ced1120e9e8e36d4acb723693e2b7987675e17a4c57f9c391
5 years, 11 months
Architecture specific change in rpms/golang-github-mitchellh-cli.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-mitchellh-cli.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-mitchellh-cli.git/c....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 86b203c398ec14dcc280b47b27ff06e7307c6c5b
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Jun 18 13:16:33 2018 +0200
Upload glide files
diff --git a/.gitignore b/.gitignore
index e5c251d..57a10aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/cli-8102d0e.tar.gz
+/cli-8102d0ed5ea2709ade1243798785888175f6e415.tar.gz
diff --git a/Fix-formatting-errors.patch b/Fix-formatting-errors.patch
new file mode 100644
index 0000000..e9a116c
--- /dev/null
+++ b/Fix-formatting-errors.patch
@@ -0,0 +1,42 @@
+From 7d938caf715c7ea5937b43fce73813e63bf1765b Mon Sep 17 00:00:00 2001
+From: Jan Chaloupka <jchaloup(a)redhat.com>
+Date: Mon, 18 Jun 2018 13:08:41 +0200
+Subject: [PATCH] Fix formatting errors
+
+---
+ ui_colored_test.go | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/ui_colored_test.go b/ui_colored_test.go
+index 35bbbf5..bc7f637 100644
+--- a/ui_colored_test.go
++++ b/ui_colored_test.go
+@@ -43,7 +43,7 @@ func TestColoredUi_Info(t *testing.T) {
+ ui.Info("foo")
+
+ if mock.OutputWriter.String() != "\033[0;33mfoo\033[0m\n" {
+- t.Fatalf("bad: %#v %#v", mock.OutputWriter.String())
++ t.Fatalf("bad: %#v", mock.OutputWriter.String())
+ }
+ }
+
+@@ -56,7 +56,7 @@ func TestColoredUi_Output(t *testing.T) {
+ ui.Output("foo")
+
+ if mock.OutputWriter.String() != "\033[0;33mfoo\033[0m\n" {
+- t.Fatalf("bad: %#v %#v", mock.OutputWriter.String())
++ t.Fatalf("bad: %#v", mock.OutputWriter.String())
+ }
+ }
+
+@@ -69,6 +69,6 @@ func TestColoredUi_Warn(t *testing.T) {
+ ui.Warn("foo")
+
+ if mock.ErrorWriter.String() != "\033[0;33mfoo\033[0m\n" {
+- t.Fatalf("bad: %#v %#v", mock.ErrorWriter.String())
++ t.Fatalf("bad: %#v", mock.ErrorWriter.String())
+ }
+ }
+--
+2.7.5
+
diff --git a/glide.lock b/glide.lock
new file mode 100644
index 0000000..de58808
--- /dev/null
+++ b/glide.lock
@@ -0,0 +1,12 @@
+hash: dd3ca600845d2aac23c2f8e1735c0b47fa9a7ed244adcf724162af63ddfdc14b
+imports:
+- name: golang.org/x/sys
+ subpackages:
+ - unix
+ version: b9cf5f96b68d9eaa53d5db5fef235718767f416a
+- name: golang.org/x/crypto
+ subpackages:
+ - ssh/terminal
+ version: 12892e8c234f4fe6f6803f052061de9057903bb2
+updated: '2018-06-18T11:10:06.272927+00:00'
+
diff --git a/glide.yaml b/glide.yaml
new file mode 100644
index 0000000..ba3d18a
--- /dev/null
+++ b/glide.yaml
@@ -0,0 +1,11 @@
+import:
+- package: golang.org/x/sys
+ subpackages:
+ - unix
+ version: b9cf5f96b68d9eaa53d5db5fef235718767f416a
+- package: golang.org/x/crypto
+ subpackages:
+ - ssh/terminal
+ version: 12892e8c234f4fe6f6803f052061de9057903bb2
+package: github.com/mitchellh/cli
+
diff --git a/golang-github-mitchellh-cli.spec b/golang-github-mitchellh-cli.spec
index d2de272..111e31d 100644
--- a/golang-github-mitchellh-cli.spec
+++ b/golang-github-mitchellh-cli.spec
@@ -1,187 +1,62 @@
-# If any of the following macros should be set otherwise,
-# you can wrap any of them with the following conditions:
-# - %%if 0%%{centos} == 7
-# - %%if 0%%{?rhel} == 7
-# - %%if 0%%{?fedora} == 23
-# Or just test for particular distribution:
-# - %%if 0%%{centos}
-# - %%if 0%%{?rhel}
-# - %%if 0%%{?fedora}
-#
-# Be aware, on centos, both %%rhel and %%centos are set. If you want to test
-# rhel specific macros, you can use %%if 0%%{?rhel} && 0%%{?centos} == 0 condition.
-# (Don't forget to replace double percentage symbol with single one in order to apply a condition)
-
-# Generate devel rpm
-%global with_devel 1
-# Build project from bundled dependencies
-%global with_bundled 0
-# Build with debug info rpm
-%global with_debug 0
-# Run tests in check section
-%global with_check 1
-# Generate unit-test rpm
-%global with_unit_test 1
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-
-%global provider github
-%global provider_tld com
-%global project mitchellh
-%global repo cli
-# https://github.com/mitchellh/cli
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/mitchellh/cli
+
+%global goipath github.com/mitchellh/cli
%global commit 8102d0ed5ea2709ade1243798785888175f6e415
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-%{provider}-%{project}-%{repo}
+
+%gometa -i
+
+Name: %{goname}
Version: 0
-Release: 0.4.git%{shortcommit}%{?dist}
+Release: 0.5%{?dist}
Summary: Go library for implementing command-line interfaces
# Detected licences
# - *No copyright* MPL (v2.0) at 'LICENSE'
License: MPLv2.0
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-
-
+URL: %{gourl}
+Source0: %{gosource}
+Source1: glide.yaml
+Source2: glide.yaml
+Patch0: Fix-formatting-errors.patch
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check} && ! 0%{?with_bundled}
BuildRequires: golang(golang.org/x/crypto/ssh/terminal)
-%endif
-
-Requires: golang(golang.org/x/crypto/ssh/terminal)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test-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}
+%gosetup -q
+cp %{SOURCE1} %{SOURCE2} .
+%patch0 -p1
-%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" -or -iname "*.s" \) \! -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" >> 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") ; 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
+%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
-# No dependency directories so far
-
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}
-%endif
+%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test-devel -f unit-test-devel.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Mon Jun 18 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.5.git8102d0e
+- Upload glide files
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.4.git8102d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 8b60924..16e6bc6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cli-8102d0e.tar.gz) = 61a7dc49629d834d9804d482eb2066ba705ca8ef764677eaef1fd34773c46a2a60fb33896b67320ced1120e9e8e36d4acb723693e2b7987675e17a4c57f9c391
+SHA512 (cli-8102d0ed5ea2709ade1243798785888175f6e415.tar.gz) = 61a7dc49629d834d9804d482eb2066ba705ca8ef764677eaef1fd34773c46a2a60fb33896b67320ced1120e9e8e36d4acb723693e2b7987675e17a4c57f9c391
commit 8ce53d1506f5fd900d15a8aa3f7954a07d285798
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:40: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-mitchellh-cli.spec b/golang-github-mitchellh-cli.spec
index d9be82d..d2de272 100644
--- a/golang-github-mitchellh-cli.spec
+++ b/golang-github-mitchellh-cli.spec
@@ -42,7 +42,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.3.git%{shortcommit}%{?dist}
+Release: 0.4.git%{shortcommit}%{?dist}
Summary: Go library for implementing command-line interfaces
# Detected licences
# - *No copyright* MPL (v2.0) at 'LICENSE'
@@ -182,6 +182,9 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.4.git8102d0e
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.3.git8102d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5 years, 11 months
Architecture specific change in rpms/golang-github-mistifyio-go-zfs.git
by githook-noreply@fedoraproject.org
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:
+ExcludeArch: aarch64 s390x
Thanks.
Full change:
============
commit cafba69e101fe5660b3d676bbf2e1978687788e0
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Jun 18 12:52:31 2018 +0200
Exclude s390x and include arm
diff --git a/golang-github-mistifyio-go-zfs.spec b/golang-github-mistifyio-go-zfs.spec
index 911d523..07a26cd 100644
--- a/golang-github-mistifyio-go-zfs.spec
+++ b/golang-github-mistifyio-go-zfs.spec
@@ -18,7 +18,7 @@ Source0: %{gosource}
Source1: glide.yaml
Source2: glide.yaml
-ExcludeArch: %{arm} aarch64
+ExcludeArch: aarch64 s390x
%description
%{summary}
5 years, 11 months
Architecture specific change in rpms/golang-github-mistifyio-go-zfs.git
by githook-noreply@fedoraproject.org
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:
+ExcludeArch: aarch64 s390x
Thanks.
Full change:
============
commit cafba69e101fe5660b3d676bbf2e1978687788e0
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Jun 18 12:52:31 2018 +0200
Exclude s390x and include arm
diff --git a/golang-github-mistifyio-go-zfs.spec b/golang-github-mistifyio-go-zfs.spec
index 911d523..07a26cd 100644
--- a/golang-github-mistifyio-go-zfs.spec
+++ b/golang-github-mistifyio-go-zfs.spec
@@ -18,7 +18,7 @@ Source0: %{gosource}
Source1: glide.yaml
Source2: glide.yaml
-ExcludeArch: %{arm} aarch64
+ExcludeArch: aarch64 s390x
%description
%{summary}
5 years, 11 months
Architecture specific change in rpms/golang-github-mistifyio-go-zfs.git
by githook-noreply@fedoraproject.org
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:
+ExcludeArch: aarch64 s390x
Thanks.
Full change:
============
commit cafba69e101fe5660b3d676bbf2e1978687788e0
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Jun 18 12:52:31 2018 +0200
Exclude s390x and include arm
diff --git a/golang-github-mistifyio-go-zfs.spec b/golang-github-mistifyio-go-zfs.spec
index 911d523..07a26cd 100644
--- a/golang-github-mistifyio-go-zfs.spec
+++ b/golang-github-mistifyio-go-zfs.spec
@@ -18,7 +18,7 @@ Source0: %{gosource}
Source1: glide.yaml
Source2: glide.yaml
-ExcludeArch: %{arm} aarch64
+ExcludeArch: aarch64 s390x
%description
%{summary}
5 years, 11 months
Architecture specific change in rpms/golang-github-mistifyio-go-zfs.git
by githook-noreply@fedoraproject.org
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
5 years, 11 months