libspec.lib: also support "=" relation when assigning SPEC_OBSOLETES.

This commit is contained in:
Silvan Calarco 2013-01-19 18:22:52 +01:00
parent 644f634393
commit 636e7f8495
2 changed files with 4 additions and 1 deletions

View File

@ -15,6 +15,9 @@ Changes in version 1.16.3 - Christmas Release
* lib/libspec.lib - Silvan Calarco: * lib/libspec.lib - Silvan Calarco:
Reworked sed expressions to get SPEC_SOURCE0_PCKNAME from SPEC_SOURCE0 Reworked sed expressions to get SPEC_SOURCE0_PCKNAME from SPEC_SOURCE0
* lib/libspec.lib - Silvan Calarco:
Also support "=" relation when assigning SPEC_OBSOLETES.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Changes in version 1.16.2 - Christmas Release Changes in version 1.16.2 - Christmas Release

View File

@ -1175,7 +1175,7 @@ $FUNCNAME: * entry found at line $linenum: \"${tok[*]}\""
[ $skiptok -gt 0 ] && [ $skiptok -gt 0 ] &&
{ skiptok="$(($skiptok-1))"; continue; } { skiptok="$(($skiptok-1))"; continue; }
case "$currtok" in case "$currtok" in
"<"|">"|"<="|">=") "<"|">"|"<="|">="|"=")
skiptok="1"; continue ;; skiptok="1"; continue ;;
",") skiptok="0"; continue ;; ",") skiptok="0"; continue ;;
esac esac