#568 rpmautospec: fedpkg/rpkg srpm does not work with new packages
Closed: Invalid 2 years ago by eclipseo. Opened 2 years ago by eclipseo.

Hi,

When creating a SPEC file from scratch with rpmautospec %autorelease and %autochangelog, fedpkg --srpm fails with:

$ fedpkg --release f35 srpm
Could not execute srpm: 'NoneType' object has no attribute 'head'

Similarly:

fedpkg  --release f35 scratch-build --srpm --fail-fast
sources file doesn't exist. Source files download skipped.
Failed to get repository name from Git url or pushurl
Could not execute scratch_build: 'NoneType' object has no attribute 'head'

Moving this to autorpmspec

Metadata Update from @eclipseo:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata