Ticket #10 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

%buildroot uses subpackage %version

Reported by: pixel Assigned to: pmatilai
Priority: major Milestone:
Component: rpm Version: RPM Development
Keywords: Cc:

Description

In the subpackage-with-different-version case, %buildroot in %install is set with %version from subpackage version instead of main package version

Attachments

a.spec (200 bytes) - added by pixel on 11/28/08 15:36:49.
test case: displays a-2-2 instead of a-1-1
p.patch (0.7 kB) - added by pixel on 11/28/08 15:42:32.
quick & dirty fix

Change History

11/28/08 15:36:49 changed by pixel

  • attachment a.spec added.

test case: displays a-2-2 instead of a-1-1

11/28/08 15:42:32 changed by pixel

  • attachment p.patch added.

quick & dirty fix

12/04/08 16:24:16 changed by pmatilai

  • status changed from new to assigned.

Yup, needs fixing before 4.6.0 final. The patch looks quite ok, it doesn't fix a funny corner case where macro abuse from spec can set buildroot to "/" but the current code doesn't handle that either...

12/05/08 11:53:10 changed by pmatilai

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