%global gitcommit a0c452714052ab1f1d70403448f766c1eaa9f84a %global gitshortcommit %(c=%{gitcommit}; echo ${c:0:7}) %global snapshotdate 20200526 Name: kdump-anaconda-addon Version: 003 Release: 3.%{snapshotdate}git%{gitshortcommit}%{?dist} Url: https://github.com/daveyoung/kdump-anaconda-addon License: GPLv2 Summary: Kdump configuration anaconda addon BuildArch: noarch Requires: anaconda >= 32.18 Requires: hicolor-icon-theme BuildRequires: intltool gettext Obsoletes: kexec-tools-anaconda-addon < 2.0.17-12 Provides: kexec-tools-anaconda-addon = %{version}-%{release} Source0: https://github.com/daveyoung/kdump-anaconda-addon/archive/%{gitcommit}/kdump-anaconda-addon-%{gitshortcommit}.tar.gz %description Kdump anaconda addon %prep %autosetup -n %{name}-%{gitcommit} %build %install %make_install %find_lang kdump-anaconda-addon %files -f kdump-anaconda-addon.lang %doc README %license LICENSE %{_datadir}/anaconda/addons/com_redhat_kdump %{_datadir}/icons/hicolor/scalable/apps/kdump.svg %changelog * Tue May 26 2020 Kairui Song - 003-3.20200526gita0c4527 - Rebase to latest upstream * Wed Nov 07 2018 Kairui Song - 003-2.20181107git443d7ed - Define help_id for Kdump spokes (#1637546) * Wed Aug 29 2018 Kairui Song - 003-1.20180730git06ad891 - Initial package for kdump-anaconda-addon