Ticket #82 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

%sources macro gets expanded twice in case there is a BuildArch entry present

Reported by: belegdol Assigned to: pmatilai Priority: major Milestone:
Component: rpm Version: RPM 4.7.x Keywords: Cc:


In case of the following spec file:
http://belegdol.fedorapeople.org/sdlmame-data-samples.spec The %{sources} macro will get expanded twice, causing the build to fail:
http://belegdol.fedorapeople.org/build-0133-1.fc12.log It would be nice to have this fixed so that this new RPM 4.6 feature could be used to its full extent, especially that Fedora 9 is now EOL and all active branches support it.

Change History

07/23/09 09:10:59 changed by pmatilai

  • status changed from new to assigned.

08/17/09 09:17:36 changed by pmatilai

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in HEAD now: https://rpm.org/gitweb?p=rpm.git;a=commitdiff;h=d8cde273e5523364df4f4f9ae7ad3374cf02e549 and will pull into 4.6.x and 4.7.x branches too when preparing next maintenance updates.