#144 fedpkg srpm and related (fedpkg scratch-build/mockbuild/local)
Closed 2 years ago by nphilipp. Opened 2 years ago by nphilipp.

Story Time

  • As a package maintainer,
    I want to be able to do scratch builds for packages using rpmautospec features,
    because I want to do test builds on different architecture or where local hardware is otherwise insufficient.

  • As a packager,
    I want that local builds with fedpkg use the automatic release and changelog functionality,
    so the built packages have same information as official builds.

Acceptance Criteria

  • Source RPM packages produced with fedpkg srpm contain a pre-processed spec file if rpmautospec features are used.
  • Building a package locally with fedpkg local or fedpkg mockbuild preprocesses the spec file to fill in the release and changelog before building the SRPM to be passed on to rpmbuild or mock.
  • Packagers can do scratch builds (with fedpkg scratch-build) of packages using %autorelease or %autochangelog incorporating local, uncommitted changes.

Background

https://nphilipp.fedorapeople.org/nest2020-rpmautospec-slides/#/20

Scratch builds from local SRPMs don’t work yet.

Workaround: fedpkg build --scratch works but requires changes to be pushed into the dist-git repository.

Solution: fedpkg scratch-build should pre-process the dist-git repository before submitting scratch builds, e.g. rpmautospec process-distgit /path/to/distgit/clone [dist-tag]


Metadata Update from @nphilipp:
- Issue tagged with: F35 Change

2 years ago

Metadata Update from @nphilipp:
- Issue assigned to nphilipp

2 years ago

Metadata Update from @nphilipp:
- Assignee reset

2 years ago

Metadata Update from @nphilipp:
- Issue unmarked as depending on: #177

2 years ago

Removing dependency on #177 as it doesn't block the implementation side.

Metadata Update from @nphilipp:
- Issue tagged with: 3rd party, Changelog Functionality, Release Bumping Functionality

2 years ago

Metadata Update from @nphilipp:
- Issue assigned to nphilipp

2 years ago

rpmautospec PR: #183
fedpkg/rpkg PR: rpkg#557

Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata
Boards 1
Delivery Board Status: Done