rpm: shared library devel packages do not follow the soname
Credits to the openSUSE maintainers for spotting this bug.
The spec file defines several shared library packages such as "librgw2" - the shared library major version is appended to allow different major versions of the shared libary to exist in the system. For example, one could have both "librgw1" and "librgw2" installed at the same time.
The corresponding -devel packages, however, are not parallel-installable. If you install a hypothetical "librgw1-devel" and then try to install "librgw2-devel", there will be a conflict.
The fix is to rename the shared library -devel packages so they do not contain the shared library major version.
Note that the debian packaging already has this fix.