For me this works:
Code:
# zypper se --file-list gl3.h
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
---+----------------------+----------------------------------------+--------
i+ | Mesa-libGLESv3-devel | Файлы разработки для API OpenGL ES 3.x | package
However all of the above does not work if package containing the file is not installed:
# zypper se --file-list --match-substrings gl3.h
Loading repository data...
Reading installed packages...
No matching items found.
So if file not listed in provides section then no way to find it until package installed.
zypper search -f stringdoes not work until package containing the file is installed. And that is the problem. – Aleksey K Apr 29 '20 at 01:00