Add USE_SHARED_CACHE option to `make rpm`

The spec file can be build directly with the shared cache feature with
`rpmbuild ... --with cache`