Accepting request 683632 from home:cyphar:containers:docker-test
Fix find usage. OBS-URL: https://build.opensuse.org/request/show/683632 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=292
This commit is contained in:
parent
1711b55eb5
commit
da5c1b9837
11
docker.spec
11
docker.spec
@ -379,13 +379,12 @@ install -D -m0644 components/cli/contrib/completion/zsh/_docker "%{buildroot}%{_
|
||||
|
||||
# We only need all our built tests.main and hack/ for testing purposes.
|
||||
install -d %{buildroot}%{_prefix}/src/docker/
|
||||
pushd components/engine
|
||||
cp -a integration/ integration-cli/ %{buildroot}%{_prefix}/src/docker/
|
||||
find %{buildroot}%{_prefix}/src/docker/ \
|
||||
\( -type f -not -name 'tests.main' \) -or \( -type d -empty \) -delete
|
||||
install -D -m0755 %{SOURCE9} %{buildroot}%{_prefix}/src/docker/tests.sh
|
||||
cp -a hack/ %{buildroot}%{_prefix}/src/docker/
|
||||
popd
|
||||
cp -a components/engine/{hack,integration{,-cli}}/ %{buildroot}%{_prefix}/src/docker/
|
||||
find %{buildroot}%{_prefix}/src/docker/ \
|
||||
\( -type f -name '*_test.go' \) -delete
|
||||
find %{buildroot}%{_prefix}/src/docker/ \
|
||||
\( -type d -empty \) -delete
|
||||
|
||||
#
|
||||
# systemd service
|
||||
|
Loading…
Reference in New Issue
Block a user