Imported Upstream version 14.43.4 53/94653/1
authorDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 1 Nov 2016 01:39:34 +0000 (10:39 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 1 Nov 2016 01:39:35 +0000 (10:39 +0900)
Change-Id: I843641dde97e0131257fd7f20de16edeece1c205
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
VERSION.cmake
package/libzypp.changes
zypp/Capability.cc

index 8d472c3..fe80259 100644 (file)
@@ -61,8 +61,8 @@
 SET(LIBZYPP_MAJOR "14")
 SET(LIBZYPP_COMPATMINOR "39")
 SET(LIBZYPP_MINOR "43")
-SET(LIBZYPP_PATCH "3")
+SET(LIBZYPP_PATCH "4")
 #
-# LAST RELEASED: 14.43.3 (39)
+# LAST RELEASED: 14.43.4 (39)
 # (The number in parenthesis is LIBZYPP_COMPATMINOR)
 #=======
index 62ac130..f7fbcfa 100644 (file)
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Fri Sep 16 12:58:46 CEST 2016 - ma@suse.de
+
+- guessPackageSpec: Don't break globbing (fixes openSUSE/zypper#97)
+- version 14.43.4 (39)
+
+-------------------------------------------------------------------
 Thu Sep 15 15:29:40 CEST 2016 - ma@suse.de
 
 - RepoFileReader: fix parsing of multiline url entries (bsc#964932)
index dc75eaa..ef2337c 100644 (file)
@@ -372,7 +372,9 @@ namespace zypp
 
     // str_r might be the form "libzypp-1.2.3-4.5(.arch)'
     // correctly parsed as name capability by the ctor.
-    if ( detail.isNamed() && ::strrchr( detail.name().c_str(), '-' ) && sat::WhatProvides( cap ).empty() )
+    // TODO: Think about allowing glob char in name - for now don't process
+    if ( detail.isNamed() && !::strpbrk( detail.name().c_str(), "*?[{" )
+      && ::strrchr( detail.name().c_str(), '-' ) && sat::WhatProvides( cap ).empty() )
     {
       Arch origArch( detail.arch() ); // to support a trailing .arch