Question: is there any automated way of building rpm package?
WANG Chao
chaowang at redhat.com
Wed Mar 26 06:40:56 UTC 2014
On 03/25/14 at 06:53pm, "Hatayama, Daisuke/畑山 大輔" wrote:
> Hello,
>
> 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 up.
Simply put:
# yum install -y fedpkg
# cd kexec-tools/
# fedpkg local
If you want to build a srpm, use fedpkg srpm.
More information about the kexec
mailing list