From 485c2fa685e3534f28528eb2c46f1ca4d46bca9a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 12 Jun 2022 11:16:40 +0200 Subject: [PATCH] pck-update.in: added --distro-rpm argument to redefine default configured DISTRO_rpm --- plugins/pck-update.in | 7 ++++++- po/it/autospec.po | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/plugins/pck-update.in b/plugins/pck-update.in index fa28480..3cc3db0 100644 --- a/plugins/pck-update.in +++ b/plugins/pck-update.in @@ -138,6 +138,8 @@ function usage() { "$"Override packager full name"" --packager-email "$"Override packager email"" + --distro-rpm + "$"Override release append tag (predefined: $DISTRO_rpm)"" --nosrpm "$"action"" 5: "$"Only build the rpm packages"" "$"action"" 10: "$"Do not upload the srpm package"" --norpm "$"action"" 5: "$"Only build the srpm package"" @@ -198,7 +200,7 @@ exec_options=`LC_ALL=C getopt \ --long \ update,action:,define:,login:,specfile:,arch:,\ server-download:,server-upload:,server:,\ -changelog:,packager-fullname:,packager-email:,\ +changelog:,packager-fullname:,packager-email:,distro-rpm:,\ nosrpm,norpm,list-check,update-autobuildreq,\ force-update,force-build,force-install,force-download,force,\ ignore-test:,clear,format,log,rebuild,root:,\ @@ -252,6 +254,9 @@ while :; do --packager-email) packager_email="$2"; shift cmdline_vars[${#cmdline_vars[*]}]="packager_email=\"$packager_email\"" ;; + --distro-rpm) + DISTRO_rpm="$2"; shift + cmdline_vars[${#cmdline_vars[*]}]="DISTRO_rpm=\"$DISTRO_rpm\"" ;; --nosrpm) let "nosrpm = 1" ;; --norpm) diff --git a/po/it/autospec.po b/po/it/autospec.po index f3be0ba..1b36cdc 100644 --- a/po/it/autospec.po +++ b/po/it/autospec.po @@ -517,6 +517,9 @@ msgstr "Sostituisce il nome completo del packager" msgid "Override packager email" msgstr "Ridefinisce l'indirizzo mail del packager" +msgid "Override release append tag (predefined: $DISTRO_rpm)" +msgstr "Ridefinisce l'etichetta aggiunta alla release (predefinito: $DISTRO_rpm)" + msgid "action" msgstr "azione"