When calling query on a sack object it doesn't work correctly with given name of the package. I need to carefully parse the package name to find out:
-whether there is version number included in the name - if so, then it needs to be used to find the exact match for this package
-whether the name of the package is the exact match with any package in the sack object - then client wants exactly this package
-if none of the above finds any package then I need to use HY_GLOB and put * in the name of the package to find the closest match of the name
When calling query on a sack object it doesn't work correctly with given name of the package. I need to carefully parse the package name to find out: -whether there is version number included in the name - if so, then it needs to be used to find the exact match for this package -whether the name of the package is the exact match with any package in the sack object - then client wants exactly this package -if none of the above finds any package then I need to use HY_GLOB and put * in the name of the package to find the closest match of the name