From 7fe215cad826413a698df0b1351b1541158f8947 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Aug 08 2022 00:23:40 +0000 Subject: Add argument to disable rpmautospec --- diff --git a/go2rpm/__main__.py b/go2rpm/__main__.py index f28a9fb..c29d901 100644 --- a/go2rpm/__main__.py +++ b/go2rpm/__main__.py @@ -494,6 +494,13 @@ def main(): default=True, help="Use autorelease and autochangelog features", ) + changelog_group.add_argument( + "-n", + "--no-rpmautospec", + action="store_false", + dest="rpmautospec", + help="Use static release and changelog instead of rpmautospec.", + ) parser.add_argument( "--no-auto-changelog-entry", action="store_true",