Added workaround to the helper script for the rhbz#1926687

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2021-05-03 22:17:57 +02:00
parent d0fd50bd6b
commit 07e402a1ba
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ PROBLEMS=(
'gr-atsc'
)
# Indicate the source
URL=$(spectool -S -l ./gnuradio.spec | sed -E 's/Source0:\s+//g')
# Indicate the source (including workaround for rhbz#1926687)
URL=$(spectool -S -l ./gnuradio.spec | sed -nE '/^\s*Source/ s/Source0:\s+//g;p')
# Meta variables
SOURCE=$(basename $URL)