Add an option flag (e.g. -a) to use rpmautospec, i.e. set release to %autorelease and changelog to %autochangelog.
-a
%autorelease
%autochangelog
Yeah, that would be great. I have started to use rpmautospec in my packages and having rust2rpm generate compatible Release and changelog fields would reduce maintenance burden for Rust packages significantly. I'll try to work on a PR for this feature this week.
I have an initial version of this implemented here: https://pagure.io/fedora-rust/rust2rpm/pull-request/131
I would appreciate a review. The diff is small :)
The PR was merged.
Metadata Update from @decathorpe: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.