From 39735d8b41d1e56d024c4f984590c5431ce7ac7d Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Tue, 31 May 2016 09:12:02 +0200 Subject: [PATCH] rebuild with fixed go build source path Signed-off-by: Antonio Murdaca --- skopeo.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/skopeo.spec b/skopeo.spec index d693d2f..51b04b7 100644 --- a/skopeo.spec +++ b/skopeo.spec @@ -30,7 +30,7 @@ Name: skopeo Version: 0.1.12 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Inspect Docker images and repositories on registries License: ASL 2.0 URL: https://%{provider_prefix} @@ -170,7 +170,7 @@ for v in vendor/*; do if test -d ${v}; then mv ${v} vendor/src/ fi -done +done %if ! 0%{?with_bundled} rm -rf vendor/ @@ -180,11 +180,11 @@ export GOPATH=$(pwd):$(pwd)/vendor:%{gopath} %endif export GO15VENDOREXPERIMENT=1 -%gobuild -o skopeo . +%gobuild -o skopeo ./cmd/skopeo if test -f man/skopeo.1.md; then go-md2man -in man/skopeo.1.md -out skopeo.1 -fi +fi %install mkdir -p %{buildroot}/%{_mandir}/man1 @@ -253,6 +253,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath} %doc README.md %changelog +* Tue May 31 2016 Antonio Murdaca - 0.1.12-3 +- fix go build source path + * Fri May 27 2016 Antonio Murdaca - 0.1.12-2 - update to v0.1.12