diff --git a/buildah.spec b/buildah.spec index 1293b64..b6dc2ec 100644 --- a/buildah.spec +++ b/buildah.spec @@ -170,6 +170,7 @@ export BUILDTAGS+=' libsubid selinux' %gobuild -o bin/%{name} %{import_path}/cmd/%{name} %gobuild -o bin/imgtype %{import_path}/tests/imgtype %gobuild -o bin/copy %{import_path}/tests/copy +%gobuild -o bin/tutorial %{import_path}/tests/tutorial GOMD2MAN=go-md2man %{__make} -C docs %install @@ -189,6 +190,7 @@ install -d -p %{buildroot}/%{_datadir}/%{name}/test/system cp -pav tests/. %{buildroot}/%{_datadir}/%{name}/test/system cp bin/imgtype %{buildroot}/%{_bindir}/%{name}-imgtype cp bin/copy %{buildroot}/%{_bindir}/%{name}-copy +cp bin/tutorial %{buildroot}/%{_bindir}/%{name}-tutorial #define license tag if not already defined %{!?_licensedir:%global license %doc} @@ -206,6 +208,7 @@ cp bin/copy %{buildroot}/%{_bindir}/%{name}-copy %license LICENSE %{_bindir}/%{name}-imgtype %{_bindir}/%{name}-copy +%{_bindir}/%{name}-tutorial %{_datadir}/%{name}/test %changelog diff --git a/tests/test_buildah.sh b/tests/test_buildah.sh index 5974d30..f8776bb 100755 --- a/tests/test_buildah.sh +++ b/tests/test_buildah.sh @@ -16,6 +16,7 @@ env | grep -v LS_COLORS= | sort | sed -e 's/^/ /' export BUILDAH_BINARY=/usr/bin/buildah export IMGTYPE_BINARY=/usr/bin/buildah-imgtype export COPY_BINARY=/usr/bin/buildah-copy +export TUTORIAL_BINARY=/usr/bin/buildah-tutorial ############################################################################### # BEGIN setup/teardown