From: WANG Chao <chaowang(a)redhat.com>
Subject: Re: Question: is there any automated way of building rpm package?
Date: Wed, 26 Mar 2014 14:40:56 +0800
On 03/25/14 at 06:53pm, "Hatayama, Daisuke/畑山 大輔" wrote:
> Is there any automated way of building rpm package?
> That is, installing files such eppic, kexec-tools-po, makedumpfile and kexec-tools
with expected file names necessary for installation, place them proper file path location
and then execute rpmbuild command.
> I first found out there's no Makefile and INSTALL file, and then I tried
preparing them manually in an ad-hoc way, but faced build failure several times and gave
# yum install -y fedpkg
# cd kexec-tools/
# fedpkg local
If you want to build a srpm, use fedpkg srpm.
Thanks! I didn't know this command at all...