Install builddep before build

This commit is contained in:
Dmitrii Tochanskii 2025-08-05 19:07:07 +03:00
parent 5869aef9d9
commit 354720754a

View file

@ -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