The package rpms/glide.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/glide.git/commit/?id=8a781e0cae98....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 92ed46e6336a3cd98f853ce43e747a8270c582ea
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Wed Apr 3 18:16:07 2019 +0200
Release 0.13.2 (#1694353)
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/.gitignore b/.gitignore
index c7215c9..33b33ad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/glide-0.13.1.tar.gz
+/glide-0.13.2.tar.gz
diff --git a/glide.spec b/glide.spec
index 6f0ee27..cc5518a 100644
--- a/glide.spec
+++ b/glide.spec
@@ -1,11 +1,22 @@
+# Run tests in check section
+# Tests need vendoring
+%bcond_with check
+
#
https://github.com/Masterminds/glide
%global goipath
github.com/Masterminds/glide
-Version: 0.13.1
+Version: 0.13.2
+
+%global common_description %{expand:
+Glide is a tool for managing the vendor directory within a Go package. This
+feature, first introduced in Go 1.5, allows each package to have a vendor
+directory containing dependent packages for the project. These vendor packages
+can be installed by a tool (e.g. glide), similar to go get or they can be
+vendored and distributed with the package.}
%gometa
Name: glide
-Release: 3%{?dist}
+Release: 1%{?dist}
Summary: Package Management for Golang
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE'
@@ -16,55 +27,58 @@ Source0: %{gosource}
Patch0: Add-glide-hash.patch
# glide.go
-BuildRequires:
golang(github.com/codegangsta/cli)
+BuildRequires:
golang(github.com/codegangsta/cli)
# Remaining dependencies not included in main packages
-BuildRequires:
golang(github.com/urfave/cli)
-BuildRequires:
golang(github.com/Masterminds/semver)
-BuildRequires: golang(gopkg.in/yaml.v2)
-BuildRequires:
golang(github.com/Masterminds/vcs)
+BuildRequires:
golang(github.com/Masterminds/semver) < 2.0.0
+BuildRequires:
golang(github.com/Masterminds/vcs)
+BuildRequires:
golang(github.com/mitchellh/go-homedir)
+BuildRequires: golang(gopkg.in/yaml.v2)
+BuildRequires:
golang(github.com/urfave/cli)
%description
-%{summary}
+%{common_description}
+
%package devel
Summary: %{summary}
BuildArch: noarch
-BuildRequires:
golang(github.com/Masterminds/semver)
-BuildRequires:
golang(github.com/Masterminds/vcs)
-BuildRequires:
golang(github.com/codegangsta/cli)
-BuildRequires:
golang(github.com/urfave/cli)
-BuildRequires: golang(gopkg.in/yaml.v2)
-
%description devel
-%{summary}
+%{common_description}
This package contains library source intended for
building other packages which use import path with
%{goipath} prefix.
+
%prep
%forgesetup
%patch0 -p1
+rm -rf vendor
+
+
%build
%gobuildroot
%gobuild -o _bin/glide %{goipath}
%gobuild -o _bin/glide-hash %{goipath}/glide-hash
+
%install
+%goinstall
+
install -d -p %{buildroot}%{_bindir}
install -p -m 0755 _bin/glide %{buildroot}%{_bindir}
install -p -m 0755 _bin/glide-hash %{buildroot}%{_bindir}
-%goinstall
+
+%if %{with check}
%check
-#%%gochecks
+%gochecks
+%endif
-#define license tag if not already defined
-%{!?_licensedir:%global license %doc}
%files
%license LICENSE
@@ -72,11 +86,16 @@ install -p -m 0755 _bin/glide-hash %{buildroot}%{_bindir}
%{_bindir}/glide
%{_bindir}/glide-hash
+
%files devel -f devel.file-list
%license LICENSE
%doc CHANGELOG.md README.md
+
%changelog
+* Wed Apr 03 00:52:40 CET 2019 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0.13.2-1
+- Release 0.13.2 (#1694353)
+
* Sun Feb 17 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.13.1-3
- Fix broken version specification
diff --git a/sources b/sources
index 1cb8dfe..7396557 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (glide-0.13.1.tar.gz) =
bd3962a8c1ca528ba1eb9310e150576531131f0aa1fd3944bf0cdf764a7d73c91d8824f287554264b124aac2d8e3b7622ab44e0d919235f8b0ef640d3f0f087e
+SHA512 (glide-0.13.2.tar.gz) =
afc3b8f08bf4136370ff1a46efcf4d8b3cea053901883a17b1ac3d7e36c77140f48461169f2ca37c0010b4c6de9afb7f40b5248813cff094d7a1f319ed8e37ed
commit e3ddcc3b07c151d5379862364e30702cf51f4e58
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Sun Feb 17 03:52:46 2019 -0500
Fix broken version specification.
diff --git a/glide.spec b/glide.spec
index e239fa1..6f0ee27 100644
--- a/glide.spec
+++ b/glide.spec
@@ -1,12 +1,11 @@
#
https://github.com/Masterminds/glide
%global goipath
github.com/Masterminds/glide
-%global commit 67790b3dbede72cfdc54aa53be4706322c9499e0
+Version: 0.13.1
-%gometa -i
+%gometa
Name: glide
-Version: 0.13.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Package Management for Golang
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE'
@@ -78,6 +77,9 @@ install -p -m 0755 _bin/glide-hash %{buildroot}%{_bindir}
%doc CHANGELOG.md README.md
%changelog
+* Sun Feb 17 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 0.13.1-3
+- Fix broken version specification
+
* Tue Oct 23 2018 Nicolas Mailhot <nim(a)fedoraproject.org> - 0.13.1-2
- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as its
just an alias
-
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.o...
commit 0ccdde672aa745d4dd5deda584105eec62eecb71
Author: Nicolas Mailhot <nim(a)fedoraproject.org>
Date: Tue Oct 23 22:34:37 2018 +0200
redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as its
just an alias
diff --git a/glide.spec b/glide.spec
index 266618e..e239fa1 100644
--- a/glide.spec
+++ b/glide.spec
@@ -1,12 +1,12 @@
#
https://github.com/Masterminds/glide
%global goipath
github.com/Masterminds/glide
-%global gcommit 67790b3dbede72cfdc54aa53be4706322c9499e0
+%global commit 67790b3dbede72cfdc54aa53be4706322c9499e0
%gometa -i
Name: glide
Version: 0.13.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Package Management for Golang
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE'
@@ -46,7 +46,7 @@ building other packages which use import path with
%{goipath} prefix.
%prep
-%gosetup -q
+%forgesetup
%patch0 -p1
%build
@@ -78,6 +78,10 @@ install -p -m 0755 _bin/glide-hash %{buildroot}%{_bindir}
%doc CHANGELOG.md README.md
%changelog
+* Tue Oct 23 2018 Nicolas Mailhot <nim(a)fedoraproject.org> - 0.13.1-2
+- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as its
just an alias
+-
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.o...
+
* Tue Mar 13 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.13.1-1
- Update to v0.13.1
commit f75ef10354b2d812aff9e49102054acac7ce178c
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Tue Mar 13 14:50:33 2018 +0100
Add missing patch
diff --git a/Add-glide-hash.patch b/Add-glide-hash.patch
new file mode 100644
index 0000000..e42690a
--- /dev/null
+++ b/Add-glide-hash.patch
@@ -0,0 +1,50 @@
+From 748b658097e9ec2cb0c1a8ea86840330076306a3 Mon Sep 17 00:00:00 2001
+From: Jan Chaloupka <jchaloup(a)redhat.com>
+Date: Tue, 13 Mar 2018 14:27:38 +0100
+Subject: [PATCH] Add glide-hash
+
+---
+ glide-hash/main.go | 31 +++++++++++++++++++++++++++++++
+ 1 file changed, 31 insertions(+)
+ create mode 100644 glide-hash/main.go
+
+diff --git a/glide-hash/main.go b/glide-hash/main.go
+new file mode 100644
+index 0000000..dbf939d
+--- /dev/null
++++ b/glide-hash/main.go
+@@ -0,0 +1,31 @@
++package main
++
++import (
++ "fmt"
++ "io/ioutil"
++ "os"
++
++ "github.com/Masterminds/glide/cfg"
++)
++
++func main() {
++ yml, err := ioutil.ReadFile("glide.yaml")
++ if err != nil {
++ fmt.Println(err)
++ os.Exit(1)
++ }
++
++ conf, err := cfg.ConfigFromYaml(yml)
++ if err != nil {
++ fmt.Println(err)
++ os.Exit(1)
++ }
++
++ hash, err := conf.Hash()
++ if err != nil {
++ fmt.Println(err)
++ os.Exit(1)
++ }
++
++ fmt.Println(hash)
++}
+--
+2.7.5
+
commit 8a781e0cae98374d88e7dfceb38f8b44a47dc3b9
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Tue Mar 13 14:36:45 2018 +0100
Update to v0.13.1
diff --git a/.gitignore b/.gitignore
index e03bbde..c7215c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/glide-8032c28.tar.gz
+/glide-0.13.1.tar.gz
diff --git a/glide.spec b/glide.spec
index 4bd08e0..266618e 100644
--- a/glide.spec
+++ b/glide.spec
@@ -1,53 +1,21 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 1
-%global with_check 1
-%global with_unit_test 1
-%else
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 1
-%global with_check 1
-%global with_unit_test 1
-%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 Masterminds
-%global repo glide
#
https://github.com/Masterminds/glide
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 8032c28b91ee6b8b71655bb622f5aac497011723
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global goipath
github.com/Masterminds/glide
+%global gcommit 67790b3dbede72cfdc54aa53be4706322c9499e0
+
+%gometa -i
Name: glide
-Version: 0.12.1
-Release: 0.5.git%{shortcommit}%{?dist}
+Version: 0.13.1
+Release: 1%{?dist}
Summary: Package Management for Golang
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE'
License: MIT
-URL: https://%{provider_prefix}
-Source0:
https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0: %{gosource}
+# From
https://github.com/mattfarina/glide-hash/blob/master/main.go
+Patch0: Add-glide-hash.patch
-# 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}
-
-%if ! 0%{?with_bundled}
# glide.go
BuildRequires:
golang(github.com/codegangsta/cli)
@@ -56,171 +24,45 @@ BuildRequires:
golang(github.com/urfave/cli)
BuildRequires:
golang(github.com/Masterminds/semver)
BuildRequires: golang(gopkg.in/yaml.v2)
BuildRequires:
golang(github.com/Masterminds/vcs)
-%endif
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check} && ! 0%{?with_bundled}
BuildRequires:
golang(github.com/Masterminds/semver)
BuildRequires:
golang(github.com/Masterminds/vcs)
BuildRequires:
golang(github.com/codegangsta/cli)
BuildRequires:
golang(github.com/urfave/cli)
BuildRequires: golang(gopkg.in/yaml.v2)
-%endif
-
-Requires:
golang(github.com/Masterminds/semver)
-Requires:
golang(github.com/Masterminds/vcs)
-Requires:
golang(github.com/codegangsta/cli)
-Requires:
golang(github.com/urfave/cli)
-Requires: golang(gopkg.in/yaml.v2)
-
-Provides: golang(%{import_path}/action) = %{version}-%{release}
-Provides: golang(%{import_path}/cache) = %{version}-%{release}
-Provides: golang(%{import_path}/cfg) = %{version}-%{release}
-Provides: golang(%{import_path}/dependency) = %{version}-%{release}
-Provides: golang(%{import_path}/gb) = %{version}-%{release}
-Provides: golang(%{import_path}/godep) = %{version}-%{release}
-Provides: golang(%{import_path}/godep/strip) = %{version}-%{release}
-Provides: golang(%{import_path}/gom) = %{version}-%{release}
-Provides: golang(%{import_path}/gpm) = %{version}-%{release}
-Provides: golang(%{import_path}/importer) = %{version}-%{release}
-Provides: golang(%{import_path}/mirrors) = %{version}-%{release}
-Provides: golang(%{import_path}/msg) = %{version}-%{release}
-Provides: golang(%{import_path}/path) = %{version}-%{release}
-Provides: golang(%{import_path}/repo) = %{version}-%{release}
-Provides: golang(%{import_path}/tree) = %{version}-%{release}
-Provides: golang(%{import_path}/util) = %{version}-%{release}
-Provides:
golang(%{import_path}/vendor/github.com/Masterminds/semver) =
%{version}-%{release}
-Provides:
golang(%{import_path}/vendor/github.com/Masterminds/vcs) =
%{version}-%{release}
-Provides:
golang(%{import_path}/vendor/github.com/codegangsta/cli) =
%{version}-%{release}
-Provides:
golang(%{import_path}/vendor/github.com/codegangsta/cli/altsrc) =
%{version}-%{release}
-Provides: golang(%{import_path}/vendor/gopkg.in/yaml.v2) = %{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}
-BuildRequires: golang(gopkg.in/check.v1)
-%endif
-
-Requires: golang(gopkg.in/check.v1)
-
-%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
+%patch0 -p1
%build
-mkdir -p src/%{provider}.%{provider_tld}/%{project}
-ln -s ../../../ src/%{import_path}
+%gobuildroot
-%if ! 0%{?with_bundled}
-export GOPATH=$(pwd):%{gopath}
-%else
-export GOPATH=$(pwd):$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%gobuild -o bin/glide %{import_path}/
+%gobuild -o _bin/glide %{goipath}
+%gobuild -o _bin/glide-hash %{goipath}/glide-hash
%install
install -d -p %{buildroot}%{_bindir}
-install -p -m 0755 bin/glide %{buildroot}%{_bindir}
-
-# 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" | grep -v
"Godeps/_workspace") ; 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
"Godeps/_workspace") ; 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
-
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/testdata
-echo "%%{gopath}/src/%%{import_path}/testdata" >>
unit-test-devel.file-list
-cp -rpav testdata/* %{buildroot}/%{gopath}/src/%{import_path}/testdata/.
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+install -p -m 0755 _bin/glide %{buildroot}%{_bindir}
+install -p -m 0755 _bin/glide-hash %{buildroot}%{_bindir}
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}
-%gotest %{import_path}/action
-%gotest %{import_path}/cache
-%gotest %{import_path}/cfg
-# relevent only for vendor directory from within a project
-#%%gotest %%{import_path}/dependency
-%gotest %{import_path}/godep/strip
-%gotest %{import_path}/mirrors
-%gotest %{import_path}/path
-%gotest %{import_path}/repo
-%gotest %{import_path}/tree
-#%%gotest %%{import_path}/util
-%endif
+#%%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -229,21 +71,16 @@ export
GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%license LICENSE
%doc CHANGELOG.md README.md
%{_bindir}/glide
+%{_bindir}/glide-hash
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc CHANGELOG.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 CHANGELOG.md README.md
-%endif
%changelog
+* Tue Mar 13 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.13.1-1
+- Update to v0.13.1
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
0.12.1-0.5.git8032c28
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 34bca5b..1cb8dfe 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-338bdcb424f519cb96f5dac8a906d664 glide-8032c28.tar.gz
+SHA512 (glide-0.13.1.tar.gz) =
bd3962a8c1ca528ba1eb9310e150576531131f0aa1fd3944bf0cdf764a7d73c91d8824f287554264b124aac2d8e3b7622ab44e0d919235f8b0ef640d3f0f087e