starter-kit/cockpit-starter-kit.spec.in
Martin Pitt 35011e4709 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
2019-07-17 17:43:01 +02:00

32 lines
661 B
RPMSpec

Name: cockpit-starter-kit
Version: @VERSION@
Release: 1%{?dist}
Summary: Cockpit Starter Kit Example Module
License: LGPLv2+
Source: cockpit-starter-kit-%{version}.tar.gz
BuildArch: noarch
BuildRequires: libappstream-glib
Requires: cockpit-system
%define debug_package %{nil}
%description
Cockpit Starter Kit Example Module
%prep
%setup -n cockpit-starter-kit
%install
%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/*
%changelog