Use %{version} where appropriate
Some paths contain the full version, so use the macro to allow for
smooth updates to new upstream releases. Note that there are still
places where the major version is used explicitly - this is intentional
to avoid accidental soname bumps (which should happen only between major
versions).
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>