libspec.lib: Workaround for lines containing "Obsoletes pck <= ver"
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
d349dcdd7a
commit
9cc2f35855
@ -34,6 +34,12 @@ Changes in version 1.9.1
|
||||
Action 5: for better readability do add a newline to the message asking
|
||||
developers to run quality and security tests.
|
||||
|
||||
+ bugfix
|
||||
* lib/libspec.lib - Davide Madrisan:
|
||||
Workaround the problem of lines containing an 'Obsoletes' followed by a '<='
|
||||
(or similar) operator.
|
||||
(Bug discovered by Silvan Calarco)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.9.0 - Silvan Birthday Release
|
||||
|
@ -1092,8 +1092,8 @@ rpmvars.solve "$filesname" "$specfile")" )
|
||||
unset tok[0]
|
||||
notify.debug "\
|
||||
$FUNCNAME: * entry found at line $linenum: \"${tok[*]}\""
|
||||
SPEC_OBSOLETES[${#SPEC_OBSOLETES[*]}]="\
|
||||
$(rpmvars.solve "${tok[*]}" "$specfile")"
|
||||
SPEC_OBSOLETES[${#SPEC_OBSOLETES[*]}]="\"\
|
||||
$(rpmvars.solve "${tok[*]}" "$specfile")\""
|
||||
|
||||
notify.debug "\
|
||||
$FUNCNAME: SPEC_OBSOLETES = ( ${SPEC_OBSOLETES[*]} )"
|
||||
|
Loading…
Reference in New Issue
Block a user