add buildah-tutorial binary
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
6a103c38f6
commit
62002a5e06
@ -170,6 +170,7 @@ export BUILDTAGS+=' libsubid selinux'
|
|||||||
%gobuild -o bin/%{name} %{import_path}/cmd/%{name}
|
%gobuild -o bin/%{name} %{import_path}/cmd/%{name}
|
||||||
%gobuild -o bin/imgtype %{import_path}/tests/imgtype
|
%gobuild -o bin/imgtype %{import_path}/tests/imgtype
|
||||||
%gobuild -o bin/copy %{import_path}/tests/copy
|
%gobuild -o bin/copy %{import_path}/tests/copy
|
||||||
|
%gobuild -o bin/tutorial %{import_path}/tests/tutorial
|
||||||
GOMD2MAN=go-md2man %{__make} -C docs
|
GOMD2MAN=go-md2man %{__make} -C docs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -189,6 +190,7 @@ 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 bin/imgtype %{buildroot}/%{_bindir}/%{name}-imgtype
|
cp bin/imgtype %{buildroot}/%{_bindir}/%{name}-imgtype
|
||||||
cp bin/copy %{buildroot}/%{_bindir}/%{name}-copy
|
cp bin/copy %{buildroot}/%{_bindir}/%{name}-copy
|
||||||
|
cp bin/tutorial %{buildroot}/%{_bindir}/%{name}-tutorial
|
||||||
|
|
||||||
#define license tag if not already defined
|
#define license tag if not already defined
|
||||||
%{!?_licensedir:%global license %doc}
|
%{!?_licensedir:%global license %doc}
|
||||||
@ -206,6 +208,7 @@ cp bin/copy %{buildroot}/%{_bindir}/%{name}-copy
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/%{name}-imgtype
|
%{_bindir}/%{name}-imgtype
|
||||||
%{_bindir}/%{name}-copy
|
%{_bindir}/%{name}-copy
|
||||||
|
%{_bindir}/%{name}-tutorial
|
||||||
%{_datadir}/%{name}/test
|
%{_datadir}/%{name}/test
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -16,6 +16,7 @@ env | grep -v LS_COLORS= | sort | sed -e 's/^/ /'
|
|||||||
export BUILDAH_BINARY=/usr/bin/buildah
|
export BUILDAH_BINARY=/usr/bin/buildah
|
||||||
export IMGTYPE_BINARY=/usr/bin/buildah-imgtype
|
export IMGTYPE_BINARY=/usr/bin/buildah-imgtype
|
||||||
export COPY_BINARY=/usr/bin/buildah-copy
|
export COPY_BINARY=/usr/bin/buildah-copy
|
||||||
|
export TUTORIAL_BINARY=/usr/bin/buildah-tutorial
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# BEGIN setup/teardown
|
# BEGIN setup/teardown
|
||||||
|
Loading…
Reference in New Issue
Block a user