fix build issues
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
879a6d17fd
commit
293c1c8152
@ -115,8 +115,8 @@ export BUILDTAGS='seccomp selinux'
|
|||||||
%if 0%{?centos} >= 8
|
%if 0%{?centos} >= 8
|
||||||
export BUILDTAGS+=' exclude_graphdriver_btrfs'
|
export BUILDTAGS+=' exclude_graphdriver_btrfs'
|
||||||
%endif
|
%endif
|
||||||
%gobuild -o %{name} %{import_path}/cmd/%{name}
|
%gobuild -o bin/%{name} %{import_path}/cmd/%{name}
|
||||||
%gobuild -o imgtype %{import_path}/tests/imgtype
|
%gobuild -o bin/imgtype %{import_path}/tests/imgtype
|
||||||
GOMD2MAN=go-md2man %{__make} -C docs
|
GOMD2MAN=go-md2man %{__make} -C docs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -126,7 +126,7 @@ make DESTDIR=%{buildroot} PREFIX=%{_prefix} -C docs install
|
|||||||
|
|
||||||
install -d -p %{buildroot}/%{_datadir}/%{name}/test/system
|
install -d -p %{buildroot}/%{_datadir}/%{name}/test/system
|
||||||
cp -pav tests/. %{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
|
#define license tag if not already defined
|
||||||
%{!?_licensedir:%global license %doc}
|
%{!?_licensedir:%global license %doc}
|
||||||
|
Loading…
Reference in New Issue
Block a user