Closed Bug 8484 Opened 25 years ago Closed 25 years ago

missing mozilla-wrapper in .src.rpm

Categories

(Core Graveyard :: Tracking, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: johns, Assigned: simon)

Details

Attachments

(1 file)

I downloaded the .src.rpm file and tried to do an rpm build. In the insttallation phase, I get: + mkdir -p /tmp/mozilla/usr/bin + cp -R /n/chum2/johns/Src/SOURCES/mozilla-wrapper /tmp/mozilla/usr/bin/mozilla cp: /n/chum2/johns/Src/SOURCES/mozilla-wrapper: No such file or directory Sure enough -- the mozilla.spec file sez: cp -R $RPM_SOURCE_DIR/mozilla-wrapper $RPM_BUILD_ROOT/usr/bin/mozilla But there's nothing called *wrapper* anywhere sight. I obtained the src rpm from : ftp://I-dont-remember-which-mirror/mozilla/releases/m6/SRPMS/mozilla-5.0-M6.src.rpm.Z
Attached file The missing mozilla-wrapper script (deleted) —
This is probably my bug. I built the m6 mozilla RPMS, and yes, I did forget to include mozilla-wrapper in the list of files to include in the source rpm. I'm rebuilding a corrected SRPM at the moment, and will let leaf know when the new ones have been produced. For now, I've attached the correct file to this bug. Placing this in your /usr/src/redhat/SOURCES/ directory will allow you to build the RPM.
Assignee: chofmann → sxw
Target Milestone: M7
johns...if this works for you, please mark bug Verified.
Adding the missing mozilla-wrapper script from the attachment allows rpm -ba to run to completion and to create binary and src rpms. So far so good. HOWEVER, when installed (i.e., rpm -i RPMS/i386/mozilla-5.0-M6.i386.rpm), the resulting /usr/bin/mozilla-wrapper has permisions 0644. It should be 0755. I think the fix is to add: %attr(0755, root, root) /usr/bin/mozilla to the %files section of the spec file.
Status: NEW → ASSIGNED
Okay, but if the file comes out of the source RPM with mode 755, it will get installed with mode 755 (baring restrictive umasks). This is a bad assumption, however, so I've added your suggested fix to the SPEC file. The fix will make it into the M7 RPM builds.
Target Milestone: M7 → M8
rolling over to m8
Target Milestone: M8 → M9
does this need to be marked fixed?
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
QA Contact: leger → johns
Resolution: --- → FIXED
Looks like this is Fixed. Please mark Verified if all is well.
Status: RESOLVED → VERIFIED
Marking Verified.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: