mirror of
https://github.com/naveenrajm7/rpmbuild.git
synced 2025-07-11 20:04:42 +00:00
Adds an action to install build dependencies before running rpmbuild
Signed-off-by: Cyrille Bollu <cyrille@debian-BULLSEYE-live-builder-AMD64>
This commit is contained in:
@ -56,6 +56,9 @@ async function run() {
|
||||
await exec.exec(`ln -s /github/home/rpmbuild/SOURCES/${name}-${version}.tar.gz /github/home/rpmbuild/SOURCES/${name}.tar.gz`);
|
||||
process.env.GIT_DIR = oldGitDir;
|
||||
|
||||
// Installs build dependencies
|
||||
await exec.exec(`yum-builddep ${specFile.destFullPath}`);
|
||||
|
||||
// Execute rpmbuild , -ba generates both RPMS and SPRMS
|
||||
try {
|
||||
await exec.exec(
|
||||
|
Reference in New Issue
Block a user