rebuild with fixed go build source path

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2016-05-31 09:12:02 +02:00
parent 5d9911952c
commit 39735d8b41

View File

@ -30,7 +30,7 @@
Name: skopeo Name: skopeo
Version: 0.1.12 Version: 0.1.12
Release: 2%{?dist} Release: 3%{?dist}
Summary: Inspect Docker images and repositories on registries Summary: Inspect Docker images and repositories on registries
License: ASL 2.0 License: ASL 2.0
URL: https://%{provider_prefix} URL: https://%{provider_prefix}
@ -170,7 +170,7 @@ for v in vendor/*; do
if test -d ${v}; then if test -d ${v}; then
mv ${v} vendor/src/ mv ${v} vendor/src/
fi fi
done done
%if ! 0%{?with_bundled} %if ! 0%{?with_bundled}
rm -rf vendor/ rm -rf vendor/
@ -180,11 +180,11 @@ export GOPATH=$(pwd):$(pwd)/vendor:%{gopath}
%endif %endif
export GO15VENDOREXPERIMENT=1 export GO15VENDOREXPERIMENT=1
%gobuild -o skopeo . %gobuild -o skopeo ./cmd/skopeo
if test -f man/skopeo.1.md; then if test -f man/skopeo.1.md; then
go-md2man -in man/skopeo.1.md -out skopeo.1 go-md2man -in man/skopeo.1.md -out skopeo.1
fi fi
%install %install
mkdir -p %{buildroot}/%{_mandir}/man1 mkdir -p %{buildroot}/%{_mandir}/man1
@ -253,6 +253,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%doc README.md %doc README.md
%changelog %changelog
* Tue May 31 2016 Antonio Murdaca <runcom@fedoraproject.org> - 0.1.12-3
- fix go build source path
* Fri May 27 2016 Antonio Murdaca <runcom@fedoraproject.org> - 0.1.12-2 * Fri May 27 2016 Antonio Murdaca <runcom@fedoraproject.org> - 0.1.12-2
- update to v0.1.12 - update to v0.1.12