rebase.sh: relative path is now used for the SRPM
This commit is contained in:
parent
c1a3a2c4c9
commit
b401eaeb06
@ -16,7 +16,7 @@ curl https://raw.githubusercontent.com/fedora-sysv/initscripts/master/initscript
|
|||||||
spectool -g initscripts.spec
|
spectool -g initscripts.spec
|
||||||
|
|
||||||
# Make a local scratch build in mock first. If it fails, do not upload new tarball!
|
# Make a local scratch build in mock first. If it fails, do not upload new tarball!
|
||||||
srpm_file="$(fedpkg srpm | grep -i "wrote" | cut -d ':' -f 2)"
|
srpm_file="$(basename $(fedpkg srpm | grep -i "wrote" | cut -d ':' -f 2))"
|
||||||
arch="$(uname -p)"
|
arch="$(uname -p)"
|
||||||
|
|
||||||
mock -r "fedora-rawhide-${arch}" "${srpm_file}" || exit 2
|
mock -r "fedora-rawhide-${arch}" "${srpm_file}" || exit 2
|
||||||
|
Loading…
Reference in New Issue
Block a user