911937
Use python macro instead of rpm query Rpm might prevent access to rpm database during the build. It is not required anyway. Use %python3_sitelib macro to get path for shared data.