- Entirely drop `%build` section, as there is nothing to do anyway. - Use `%make_install` macro. - Replace the complicated file list wrangling with a simple directory enumeration. Thanks to Igor Gnatenko for the suggestions! See https://bugzilla.redhat.com/show_bug.cgi?id=1603146 Closes #38
26 lines
429 B
RPMSpec
26 lines
429 B
RPMSpec
Name: cockpit-starter-kit
|
|
Version: @VERSION@
|
|
Release: 1%{?dist}
|
|
Summary: Cockpit Starter Kit Example Module
|
|
License: LGPLv2.1+
|
|
|
|
Source: cockpit-starter-kit-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: /usr/bin/python3
|
|
|
|
%define debug_package %{nil}
|
|
|
|
%description
|
|
Cockpit Starter Kit Example Module
|
|
|
|
%prep
|
|
%setup -n cockpit-starter-kit
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%{_datadir}/cockpit/*
|
|
%{_datadir}/metainfo/*
|
|
|
|
%changelog
|