This commit is contained in:
Ben Grande 2023-11-06 15:18:59 +00:00
parent f345ebc8a1
commit 6fb526768f
No known key found for this signature in database
GPG key ID: 00C64E14F51F9E56
7 changed files with 73 additions and 35 deletions

View file

@ -26,7 +26,8 @@ spec_gen="./scripts/spec-gen.sh"
"${spec_gen}" "${project}"
sudo dnf build-dep "${spec}"
rpmlint "${spec}"
rpmdev-setuptree
mkdir -p ~/rpmbuild/BUILD ~/rpmbuild/BUILDROOT ~/rpmbuild/RPMS \
~/rpmbuild/SOURCES ~/rpmbuild/SPECS ~/rpmbuild/SRPMS
cp -r "${group}/${project}" ~/rpmbuild/BUILD/"${group}-${project}"
cp -r "${group}/${project}" ~/rpmbuild/SOURCES/"${group}-${project}"
rpmbuild -ba "${spec}"