This is a unique situation that'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 "^(Source|Patch).*:.*" 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
This happends due to BuildArch tag inserted after source/patch tags. You should correct specfile according to alt packaging conventions, including recommended tags order.
reopened to change resolved status
*** This bug has been marked as a duplicate of 5662 ***