$ git clone -n https://git.cclinux.org/stage/rpms/python-psycopg2 /var/lib/mock/module-python27-2.7-8040020210926050339-cdb2db54-build-40932-7751/root/chroot_tmpdir/scmroot/python-psycopg2 Cloning into '/var/lib/mock/module-python27-2.7-8040020210926050339-cdb2db54-build-40932-7751/root/chroot_tmpdir/scmroot/python-psycopg2'... warning: redirecting to https://git.cclinux.org/stage/rpms/python-psycopg2.git/ $ git reset --hard 74b44cf7d274c3a5c477811fa892bd5a9b2583d2 HEAD is now at 74b44cf import python-psycopg2-2.7.5-7.module+el8.1.0+3111+de3f2d8e