$ git clone -n https://src.fedoraproject.org/rpms/ghc-regex-pcre.git /var/lib/mock/f38-build-689794-82602/root/chroot_tmpdir/scmroot/ghc-regex-pcre Cloning into '/var/lib/mock/f38-build-689794-82602/root/chroot_tmpdir/scmroot/ghc-regex-pcre'... $ git reset --hard 9075df6360c16f459c880f4542b928a59be14ebf HEAD is now at 9075df6 Convert to %autorelease and %autochangelog