$ git clone -n https://github.com/xcp-ng-rpms/zfs-kmod.git /var/lib/mock/v8.0-base-1403-668/root/chroot_tmpdir/scmroot/zfs-kmod Cloning into '/var/lib/mock/v8.0-base-1403-668/root/chroot_tmpdir/scmroot/zfs-kmod'... $ git reset --hard 083f8798e789745c00905c405fce4b8d0ae20125 Downloading SOURCES/zfs-0.8.0.tar.gz (9.0 MB) HEAD is now at 083f879 Fix %post and %postun scriptlets so that depmod runs