add wrapper scripts for rpmbuild
This commit is contained in:
parent
dd97991b93
commit
ca5228df7a
10
overlay/bin/rpmbuild
Executable file
10
overlay/bin/rpmbuild
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
set -eo pipefail
|
||||||
|
|
||||||
|
DIR=$(pwd)
|
||||||
|
|
||||||
|
mkdir ./dist
|
||||||
|
echo '%_topdir '"${DIR}"'/dist' > /root/.rpmmacros
|
||||||
|
rpmdev-setuptree
|
||||||
|
|
||||||
|
exec /usr/bin/rpmbuild "$@"
|
4
overlay/bin/rpmbuild-official
Executable file
4
overlay/bin/rpmbuild-official
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
set -eo pipefail
|
||||||
|
|
||||||
|
exec /usr/bin/rpmbuild "$@"
|
Reference in New Issue
Block a user