spec: Don't fail if there are no map files

This commit is contained in:
Martin Pitt 2021-04-08 10:28:34 +02:00
parent 70351d9081
commit 0437800580

View file

@ -24,7 +24,7 @@ Cockpit Starter Kit Example Module
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
# 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
%{_datadir}/cockpit/*