Closed
Bug 8484
Opened 25 years ago
Closed 25 years ago
missing mozilla-wrapper in .src.rpm
Categories
(Core Graveyard :: Tracking, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M9
People
(Reporter: johns, Assigned: simon)
Details
Attachments
(1 file)
(deleted),
text/plain
|
Details |
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
Assignee | ||
Comment 1•25 years ago
|
||
Assignee | ||
Comment 2•25 years ago
|
||
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.
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.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•25 years ago
|
||
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.
Updated•25 years ago
|
Target Milestone: M7 → M8
Comment 6•25 years ago
|
||
rolling over to m8
Updated•25 years ago
|
Target Milestone: M8 → M9
Comment 7•25 years ago
|
||
does this need to be marked fixed?
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
QA Contact: leger → johns
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•