Learn more about these different git repos.
Other Git URLs
Srpm builds cannot be done when configuration option results_dir = subdir is set. Rpkg does not consider layout's srcrpmdir when locating the default srpm file.
results_dir = subdir
srcrpmdir
To reproduce:
$ LANG=C.UTF-8 fedpkg scratch-build --srpm Not downloading already downloaded mercenary-0.4.0.gem setting SOURCE_DATE_EPOCH=1658534400 Wrote: /home/otto/fedora/rpms/rubygem-mercenary/results/rubygem-mercenary-0.4.0-6.fc38.src.rpm Could not execute scratch_build: No such file: /home/otto/fedora/rpms/rubygem-mercenary/rubygem-mercenary-0.4.0-6.fc38.src.rpm
Notice that the srpm was written to rubygem-mercenary/results/, but read attempt was to the repo root rubygem-mercenary/.
rubygem-mercenary/results/
rubygem-mercenary/
Fixed by #649
Commit 320e677 fixes this issue
Metadata Update from @onosek: - Issue set to the milestone: 1.66
Login to comment on this ticket.