Drop source map

They are large and just for debugging. If they are needed, they should
move into a separate -debugsource package, but this seems a bit overkill
as a default.

Closes #197
This commit is contained in:
Martin Pitt 2019-07-11 13:46:18 +02:00 committed by Katerina Koukiou
parent 0cf6704708
commit 35011e4709

View file

@ -22,6 +22,9 @@ Cockpit Starter Kit Example Module
%make_install %make_install
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
find %{buildroot}%{_datadir}/cockpit/ -name '*.map' | xargs rm --verbose
%files %files
%{_datadir}/cockpit/* %{_datadir}/cockpit/*
%{_datadir}/metainfo/* %{_datadir}/metainfo/*