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 committed by Katerina Koukiou
parent 0e608d562a
commit 45b8c2a45a

View file

@ -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/*