Install builddep before build
This commit is contained in:
parent
5869aef9d9
commit
354720754a
1 changed files with 4 additions and 1 deletions
|
|
@ -1,2 +1,5 @@
|
||||||
#!/bin/bash
|
#!/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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue