Fix #1
This commit is contained in:
parent
bf9f6ddd32
commit
2a4d42ea28
1 changed files with 7 additions and 4 deletions
11
tlnxbuild.sh
11
tlnxbuild.sh
|
|
@ -1,6 +1,9 @@
|
|||
#!/bin/bash
|
||||
cd $1 && \
|
||||
spectool -g --directory SOURCES $1.spec && \
|
||||
cp -av *.patch SOURCES && \
|
||||
dnf builddep -y $1.spec && \
|
||||
set -e
|
||||
cd $1
|
||||
spectool -g --directory SOURCES $1.spec
|
||||
if ls *.patch > /dev/null 2> /dev/null; then
|
||||
cp -av *.patch SOURCES
|
||||
fi
|
||||
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