https://bugzilla.redhat.com/show_bug.cgi?id=1703284
--- Comment #5 from Robert-André Mauchin zebob.m@gmail.com --- You archive of version 0.3 in the SRPM does not correspond to the version 0.3 as downloaded on Github. If you want to package a GIT snapshot, don't use version 0.3
%global commit e174ebaa282a681b932b6b8790851b78da0168d7 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global snapshotdate 20190605
[…]
Version: 0.3 Release: 1.%{snapshotdate}git%{shortcommit}%{?dist} URL: https://github.com/gluster/nbd-runner.git
Source0: https://github.com/gluster/%%7Bname%7D/archive/%%7Bcommit%7D/%%7Bname%7D-%%7...
[…]
%autosetup -p 1 -n %{name}-%{commit}