diff --git a/buildah.spec b/buildah.spec index b1b91d6..b75712d 100644 --- a/buildah.spec +++ b/buildah.spec @@ -109,8 +109,8 @@ export BUILDTAGS='seccomp selinux' export BUILDTAGS="exclude_graphdriver_btrfs exclude_graphdriver_devicemapper containers_image_ostree_stub" %endif export GO111MODULE=off -%gobuild -o %{name} %{import_path}/cmd/%{name} -%gobuild -o imgtype %{import_path}/tests/imgtype +%gobuild -o bin/%{name} %{import_path}/cmd/%{name} +%gobuild -o bin/imgtype %{import_path}/tests/imgtype GOMD2MAN=go-md2man %{__make} -C docs %install @@ -120,7 +120,7 @@ make DESTDIR=%{buildroot} PREFIX=%{_prefix} -C docs install install -d -p %{buildroot}/%{_datadir}/%{name}/test/system cp -pav tests/. %{buildroot}/%{_datadir}/%{name}/test/system -cp imgtype %{buildroot}/%{_bindir}/%{name}-imgtype +cp bin/imgtype %{buildroot}/%{_bindir}/%{name}-imgtype #define license tag if not already defined %{!?_licensedir:%global license %doc}