From 1c5adb816708be8742c25a679c8639fd5d051f03 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 11 Jul 2019 13:46:18 +0200 Subject: [PATCH] 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 --- cockpit-starter-kit.spec.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cockpit-starter-kit.spec.in b/cockpit-starter-kit.spec.in index e7a2c5f..48f5b17 100644 --- a/cockpit-starter-kit.spec.in +++ b/cockpit-starter-kit.spec.in @@ -22,6 +22,9 @@ Cockpit Starter Kit Example Module %make_install 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 %{_datadir}/cockpit/* %{_datadir}/metainfo/*