Copy *.patch to SOURCES before build
This commit is contained in:
parent
354720754a
commit
bf9f6ddd32
1 changed files with 1 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd $1 && \
|
cd $1 && \
|
||||||
spectool -g --directory SOURCES $1.spec && \
|
spectool -g --directory SOURCES $1.spec && \
|
||||||
|
cp -av *.patch SOURCES && \
|
||||||
dnf builddep -y $1.spec && \
|
dnf builddep -y $1.spec && \
|
||||||
rpmbuild --define "_topdir `pwd`" --define "debug_package %{nil}" --define "dist .tlnx0" -bb $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