<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>39783</bug_id>
          
          <creation_ts>2021-03-10 15:30:55 +0300</creation_ts>
          <short_desc>Добавить поддержку specsubst в gear-create-tag</short_desc>
          <delta_ts>2021-03-19 01:30:22 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>gear</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anton Farygin">rider</reporter>
          <assigned_to name="Dmitry V. Levin">ldv</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>legion</cc>
    
    <cc>placeholder</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>196848</commentid>
    <comment_count>0</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2021-03-10 15:30:55 +0300</bug_when>
    <thetext>Было бы удобно добавить опцию -s --specsubst &lt;имя1&gt;=&lt;значение1&gt;,&lt;имя2&gt;=&lt;значение2&gt;...
которая будет добавлять в создаваемый тэг поля:
X-gear-specsubst: &lt;имя1&gt;=&lt;значение1&gt;
X-gear-specsubst: &lt;имя2&gt;=&lt;значение2&gt;

Сейчас для этого приходится писать отдельные скрипты.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196855</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2021-03-10 17:13:12 +0300</bug_when>
    <thetext>Или указание нескольких --specsubst.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196858</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2021-03-10 17:17:33 +0300</bug_when>
    <thetext>Указание нескольких --specsubst кажется более правильным решением.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196862</commentid>
    <comment_count>3</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2021-03-10 17:43:46 +0300</bug_when>
    <thetext>Да, указание нескольких мне тоже кажется более правильным вариантом.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>197078</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2021-03-19 01:30:22 +0300</bug_when>
    <thetext>gear-2.5.0-alt1 -&gt; sisyphus:

 Wed Mar 17 2021 Dmitry V. Levin &lt;ldv@altlinux&gt; 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 -&gt; 644).
 - Moved gear-sh-functions and describe-specfile to separate
   subpackages (by Gleb Fotengauer-Malinovskiy).
 - Updated bash completions.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>