Skip to content

Support rpmautospec

Steve Traylen requested to merge straylen/rpmci:rpmautospec into rpmautospec

Add a new switch

variables:
  RPM_AUTOSPEC: 'True'

This will process all .spec files through rpmautospec to expand in particular %autochangelog and %autorelease

To migrate an existing RPM to use rpmautospec run:

rpmautospec convert myexample.spec

Note this also removes the rpmlint of the .spec file. The existing rpmlint of .src.rpm is sufficient and better - second paragraph of - https://github.com/rpm-software-management/rpmlint

Edited by Steve Traylen

Merge request reports

Loading