$ git clone -n https://src.fedoraproject.org/rpms/pg_auto_failover.git /var/lib/mock/f37-build-676819-76175/root/chroot_tmpdir/scmroot/pg_auto_failover Cloning into '/var/lib/mock/f37-build-676819-76175/root/chroot_tmpdir/scmroot/pg_auto_failover'... $ git reset --hard 48c0a34c206cfc34de8ac87d2f5cbf471f141eca HEAD is now at 48c0a34 Change patch file according to upstream