diff --git a/ChangeLog b/ChangeLog index ea87884..a877c49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/lib/libspec.lib.in b/lib/libspec.lib.in index 90d5245..cc7a4e5 100644 --- a/lib/libspec.lib.in +++ b/lib/libspec.lib.in @@ -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[*]} )"