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

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

    <bug>
          <bug_id>3386</bug_id>
          
          <creation_ts>2003-12-17 16:44:03 +0300</creation_ts>
          <short_desc>Default target wanted</short_desc>
          <delta_ts>2013-07-01 04:56:47 +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>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="at@altlinux.org">at</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>arseny</cc>
    
    <cc>glebfm</cc>
    
    <cc>icesik</cc>
    
    <cc>imz</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</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>10942</commentid>
    <comment_count>0</comment_count>
    <who name="at@altlinux.org">at</who>
    <bug_when>2003-12-17 16:44:03 +0300</bug_when>
    <thetext>I want to specify the default target in ~/.rpmmacros.
Apparently I can&apos;t.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15665</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-06-27 04:01:50 +0400</bug_when>
    <thetext>How would you like to specify it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18164</commentid>
    <comment_count>2</comment_count>
    <who name="at@altlinux.org">at</who>
    <bug_when>2004-08-17 07:22:52 +0400</bug_when>
    <thetext>$ echo &apos;%_target i386&apos; &gt; ~/.rpmmacros
$ rpm --eval %_target
i686-linux
$
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102582</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2009-11-03 17:39:00 +0300</bug_when>
    <thetext>As of rpm-4.0.4-alt98.23:

pad:~&gt; grep target ~/.rpmmacros 
%_configure_target      --build=i586-alt-linux-gnu
%_target_cpu    i586
pad:~&gt; rpm --eval %_target
pentium4-linux</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102583</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2009-11-03 17:39:35 +0300</bug_when>
    <thetext>er...

pad:~&gt; rpm --eval %_target_cpu
pentium4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>