Skip to content

Commit da70104

Browse files
committed
Fix buildrpm.sh "-r" option used for RPM options specification
The "-r" option now concatenates using the rpmbuild_options variable. The "-r" option in prior versions of buildrpm.sh concatenated using the configure_options variable, which uses special delineation for Autoconf options (first word of argument string is "configure_options"). This resulted in an RPM build failure as the Autoconf options would contain nested RPM option statements. Signed-off-by: John K. McIver III <john.mciver.iii@gmail.com>
1 parent dbc5675 commit da70104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/dist/linux/buildrpm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ while getopts bn:omif:t:dc:r:sR:h flag; do
185185
;;
186186
c) configure_options="$configure_options $OPTARG"
187187
;;
188-
r) configure_options="$rpmbuild_options $OPTARG"
188+
r) rpmbuild_options="$rpmbuild_options $OPTARG"
189189
;;
190190
R) rpmtopdir="$OPTARG"
191191
;;

0 commit comments

Comments
 (0)