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

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

    <bug>
          <bug_id>5573</bug_id>
          
          <creation_ts>2004-11-28 05:01:22 +0300</creation_ts>
          <short_desc>rpmbuild -bE sometimes duplicates a head part of specfile</short_desc>
          <delta_ts>2005-07-13 15:47:06 +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>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>5662</dup_id>
          
          <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="evseev">evseev</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>20057</commentid>
    <comment_count>0</comment_count>
    <who name="evseev">evseev</who>
    <bug_when>2004-11-28 05:01:22 +0300</bug_when>
    <thetext>This is a unique situation that&apos;s happen with only package, but under both ALM2.
2 and Sisyphus. When RpmBuild evaluates my specfile (rkhunter.spec), it displays 
heading block twice. This block contains ~11 lines. Remaining part of specfile 
is displayed normally. All other specfiles are processed normally.
Steps to Reproduce:
1. apt-get install wget rpm-build
2. wget http://ilya-evseev.narod.ru/posix/rkhunter/rkhunter.spec
3. rpmbuild -bE rkhunter.spec | egrep -i &quot;^(Source|Patch).*:.*&quot;

Actual Results:  
Source0:        http://downloads.rootkit.nl/rkhunter-1.1.8.tar.gz
Patch0:         os.dat.diff
Patch1:         development.diff
Source0:        http://downloads.rootkit.nl/rkhunter-1.1.8.tar.gz
Patch0:         os.dat.diff
Patch1:         development.diff

Expected Results:  
Source0:        http://downloads.rootkit.nl/rkhunter-1.1.8.tar.gz
Patch0:         os.dat.diff
Patch1:         development.diff</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20150</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-12-02 23:19:26 +0300</bug_when>
    <thetext>This happends due to BuildArch tag inserted after source/patch tags.

You should correct specfile according to alt packaging conventions,
including recommended tags order.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20311</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-12-09 17:55:54 +0300</bug_when>
    <thetext>reopened to change resolved status</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20312</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-12-09 17:56:27 +0300</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 5662 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>