Opensearch-dashboards rpm seems to have an incorrect version number

I just updated our rpm install of opensearch and opensearch-dashboards to 2.0.0, but starting opensearch-dashboards errors with:

opensearch-dashboards[33538]: {“type”:“log”,“@timestamp”:“2022-05-27T20:46:01Z”,“tags”:[“error”,"
savedobjects-service"],“pid”:33538,“message”:“This version of OpenSearch Dashboards (v1.3.1) is incompatible with the following OpenSearch nodes in your cluster: v2.0.0 @ XXX)”}

rpm -q opensearch-dashboards

opensearch-dashboards-2.0.0-1.x86_64

This was due to an old tarball install which was using an old /etc/systemd/system/opensearch-dashboards.service file. I removed that and we seem to be all good.