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

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

    <bug>
          <bug_id>1128</bug_id>
          
          <creation_ts>2002-07-25 02:45:50 +0400</creation_ts>
          <short_desc>FR: brace expansion in %files section (esp. for %doc)</short_desc>
          <delta_ts>2008-03-31 00:39:00 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>rpm-build</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>ASSIGNED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mikhail Zabaluev">mhz</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>arseny</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1076</commentid>
    <comment_count>0</comment_count>
    <who name="Mikhail Zabaluev">mhz</who>
    <bug_when>2002-07-25 02:45:50 +0400</bug_when>
    <thetext>When the file list contains a %doc line with an absolute path specification, e.g.:
%doc %_docdir/%name-%version/{AUTHORS,README,TODO}
, the brace expansion doesn\&apos;t occur, whereas a relative spec expands braces just fine:
%doc subdir/{README,TODO}
---

---

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3922</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2003-04-22 15:26:15 +0400</bug_when>
    <thetext>As well as in other %files lines.
It is not a bug report but feature request.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7287</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2003-04-22 15:26:15 +0400</bug_when>
    <thetext>As well as in other %files lines.
It is not a bug report but feature request.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3923</commentid>
    <comment_count>3</comment_count>
    <who name="Mikhail Zabaluev">mhz</who>
    <bug_when>2003-05-06 02:26:23 +0400</bug_when>
    <thetext>But the relative form of %doc expands braces. It\&apos;s inconsistent behaviour at least.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7288</commentid>
    <comment_count>4</comment_count>
    <who name="Mikhail Zabaluev">mhz</who>
    <bug_when>2003-05-06 02:26:23 +0400</bug_when>
    <thetext>But the relative form of %doc expands braces. It\&apos;s inconsistent behaviour at least.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67032</commentid>
    <comment_count>5</comment_count>
    <who name="at@altlinux.org">at</who>
    <bug_when>2008-03-31 00:39:00 +0400</bug_when>
    <thetext>In bourne shell, brace expansion is a separate stage of substitution that is
prefromed BEFORE glob.  There is no such stage in %files section.  However,
glob(3) has GLOB_BRACE option, which we may want (or may not want to use).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>