Closed Bug 209317 Opened 23 years ago Closed 21 years ago

Build RPMS in workarea rather than /usr/src/redhat

Categories

(NSPR :: NSPR, defect, P2)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kirk.erickson, Assigned: glenbeasley)

Details

Attachments

(1 file)

I solved the problem of letting rpm build in its default place subordinate to /usr/src/redhat as part of the fix for backporting the RPM build infrastructure: 208288 Build Linux RPMS (NSPRPUB_RELEASE_4_1_BRANCH) http://bugzilla.mozilla.org/show_bug.cgi?id=208288 I collected DIFFS for reference, comparing the state of the branch after making it look like the TIP with after the changes to build in the workarea rather than the root owned area (/usr/src/redhat). Its the first attachment. This change addresses issues raised by Sonja, who can be building arbitrary versions in the same tree simultaneously. All the building needs to be done subordinate to the OBJDIR to be safe. Sonja also discovered that 'cp -L' (follow links) is not supported under Redhat 6.2. This was introduced to copy subdirectories in dist/include. The changes address this second issue too, by removing private/ and obsolete/ from the devel package.
Note, the 4.1 branch is not autoconf based, and different as a result in many ways, but these diffs can provide a guideline to integrate the compelte set of changes at the TIP.
Status: NEW → ASSIGNED
Priority: -- → P2
Summary: Build in RPMS in workarea rather than /usr/src/redhat → Build RPMS in workarea rather than /usr/src/redhat
Target Milestone: --- → 4.4
Mass reassign of Kirk's bugs.
Assignee: kirk.erickson → glen.beasley
Status: ASSIGNED → NEW
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: