This is only being used for extracting the package name from package json, to avoid having to duplicate it in `Makefile`. But for only this purpose, Python 3 is rather heavyweight. It's also not available on RHEL/CentOS 7.
25 lines
395 B
RPMSpec
25 lines
395 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
|
|
|
|
%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
|