Bug 39783

Summary: Добавить поддержку specsubst в gear-create-tag
Product: Sisyphus Reporter: Anton Farygin <rider>
Component: gearAssignee: Dmitry V. Levin <ldv>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: glebfm, ldv, legion, placeholder, rider
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Anton Farygin 2021-03-10 15:30:55 MSK
Было бы удобно добавить опцию -s --specsubst <имя1>=<значение1>,<имя2>=<значение2>...
которая будет добавлять в создаваемый тэг поля:
X-gear-specsubst: <имя1>=<значение1>
X-gear-specsubst: <имя2>=<значение2>

Сейчас для этого приходится писать отдельные скрипты.
Comment 1 Dmitry V. Levin 2021-03-10 17:13:12 MSK
Или указание нескольких --specsubst.
Comment 2 Alexey Gladkov 2021-03-10 17:17:33 MSK
Указание нескольких --specsubst кажется более правильным решением.
Comment 3 Anton Farygin 2021-03-10 17:43:46 MSK
Да, указание нескольких мне тоже кажется более правильным вариантом.
Comment 4 Repository Robot 2021-03-19 01:30:22 MSK
gear-2.5.0-alt1 -> sisyphus:

 Wed Mar 17 2021 Dmitry V. Levin <ldv@altlinux> 2.5.0-alt1
 - Added exclude= option for tar: and zip: directives
   (by Alexey Gladkov; closes: #39801).
 - describe-specfile (by Gleb Fotengauer-Malinovskiy):
   + new utility, prints name and version info for specfile.
 - gear:
   + change the current workdir back before the last command invocation.
 - gear-changelog (by Arseny Maslennikov):
   + added --header-only option to only print changelog header.
 - gear-create-tag:
   + refuse to create tags that do not define all specsubst variables;
   + implemented -s/--specsubst option (closes: #39783).
 - gear-update-sh-functions (by Gleb Fotengauer-Malinovskiy):
   + fixed permissions (755 -> 644).
 - Moved gear-sh-functions and describe-specfile to separate
   subpackages (by Gleb Fotengauer-Malinovskiy).
 - Updated bash completions.