spec: Don't fail if there are no map files
This commit is contained in:
parent
0e608d562a
commit
45b8c2a45a
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ Cockpit Starter Kit Example Module
|
||||||
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
|
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
|
||||||
|
|
||||||
# drop source maps, they are large and just for debugging
|
# drop source maps, they are large and just for debugging
|
||||||
find %{buildroot}%{_datadir}/cockpit/ -name '*.map' | xargs rm --verbose
|
find %{buildroot}%{_datadir}/cockpit/ -name '*.map' | xargs --no-run-if-empty rm --verbose
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_datadir}/cockpit/*
|
%{_datadir}/cockpit/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue