diff --git a/tlnxbuild.sh b/tlnxbuild.sh index 474fc14..d86d81d 100755 --- a/tlnxbuild.sh +++ b/tlnxbuild.sh @@ -1,2 +1,5 @@ #!/bin/bash -cd $1 && spectool -g --directory SOURCES $1.spec && rpmbuild --define "_topdir `pwd`" --define "debug_package %{nil}" --define "dist .tlnx0" -bb $1.spec +cd $1 && \ +spectool -g --directory SOURCES $1.spec && \ +dnf builddep -y $1.spec && \ +rpmbuild --define "_topdir `pwd`" --define "debug_package %{nil}" --define "dist .tlnx0" -bb $1.spec