#648 Srpm builds fail with results_dir=subdir
Closed: Fixed a year ago by onosek. Opened a year ago by oturpe.

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.

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/.


Metadata Update from @onosek:
- Issue set to the milestone: 1.66

a year ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #649 Merged a year ago