Opened 8 years ago

Closed 8 years ago

#230 closed defect (fixed)

rpm: Make brp-strip.os2 always create debugfiles.list in top build directory

Reported by: dmik Owned by:
Priority: major Milestone:
Component: rpm Version:
Severity: medium Keywords:
Cc:

Description

Now, if the %install section of a .spec changes to some dir which is not the top package's build directory (i.e. the directory where %setup unpacks source files to), the %debug_packages macro which generates debuginfo sub-packages, fails like this:

error: Could not open %files file D:/Users/dmik/rpmbuild/BUILD/which-0.0/debugfiles.list: No such file or directory

The attached patches fix this.

Attachments (2)

macros.diff (719 bytes ) - added by dmik 8 years ago.
to be applied to /@unixroot/usr/lib/rpm/platform/*-os2-emx/macro files
brp-strip.os2.diff (2.1 KB ) - added by dmik 8 years ago.

Download all attachments as: .zip

Change History (5)

by dmik, 8 years ago

Attachment: macros.diff added

to be applied to /@unixroot/usr/lib/rpm/platform/*-os2-emx/macro files

by dmik, 8 years ago

Attachment: brp-strip.os2.diff added

comment:1 by dmik, 8 years ago

Replaced the brp-strip.os2 patch due to a tiny bug.

comment:2 by Yuri Dario, 8 years ago

rpm: make brp-strip.os2 always create debugfiles.list in top build directory. ticket#230.
Committed revision r954.

comment:3 by Silvan Scherrer, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.