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

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

    <bug>
          <bug_id>11008</bug_id>
          
          <creation_ts>2007-03-04 15:06:59 +0300</creation_ts>
          <short_desc>не работает параметр suffix= для директивы zip</short_desc>
          <delta_ts>2007-03-04 18:22:31 +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>all</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>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Gladkov">legion</reporter>
          <assigned_to name="Dmitry V. Levin">ldv</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>legion</cc>
    
    <cc>placeholder</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>46136</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2007-03-04 15:07:00 +0300</bug_when>
    <thetext>В документации сказано:
#  zip: tree_path [options] 
#  zip?: tree_path [options] 
...
#    suffix=suffix      - override default output file name suffix.

Либо документация не полная, либо suffix= не работает.
Вот тест:

$ find . -type f \! -wholename &apos;*/.git/*&apos;
./.gear-rules
./firefox-switch-locales.spec
./switch-locales/chrome/content/switch-tbird.xul
./switch-locales/chrome/content/switch.js
./switch-locales/chrome/content/switch.xul
./switch-locales/chrome.manifest
./switch-locales/install.rdf
./switch-locales-2.0.xpi

$ cat ./.gear-rules
#copy: *.xpi
zip: switch-locales suffix=.xpi

$ gear -v --commit --export-dir=/tmp/zzz
Created commit 01696302541d274eb7ac1361066de952ba2ff223
 7 files changed, 159 insertions(+), 2 deletions(-)
 create mode 100644 switch-locales/chrome.manifest
 create mode 100644 switch-locales/chrome/content/switch-tbird.xul
 create mode 100644 switch-locales/chrome/content/switch.js
 create mode 100644 switch-locales/chrome/content/switch.xul
 create mode 100644 switch-locales/install.rdf
gear: Temporarily committed local changes.
gear: Extracted &quot;switch-locales-2.0.zip&quot; archive.
gear: Extracted &quot;firefox-switch-locales.spec&quot; specfile.
gear: Reverted temporary commit.

$ find /tmp/zzz        
/tmp/zzz
/tmp/zzz/firefox-switch-locales.spec
/tmp/zzz/switch-locales-2.0.zip</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46138</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2007-03-04 16:16:42 +0300</bug_when>
    <thetext>Try 1.2.0-alt1-1-gd805957</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46144</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2007-03-04 18:22:19 +0300</bug_when>
    <thetext>Исправлено</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>