Opened 7 years ago

Closed 7 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 7 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 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by dmik

Attachment: macros.diff added

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

Changed 7 years ago by dmik

Attachment: brp-strip.os2.diff added

comment:1 Changed 7 years ago by dmik

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

comment:2 Changed 7 years ago by Yuri Dario

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

comment:3 Changed 7 years ago by Silvan Scherrer

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