From 354720754adf48066754e99d4cc2fa90a02bbbf5 Mon Sep 17 00:00:00 2001 From: Dmitrii Tochanskii Date: Tue, 5 Aug 2025 19:07:07 +0300 Subject: [PATCH] Install builddep before build --- tlnxbuild.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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