Bug 47497

Summary: fixes for solaris 2.6
Product: [Retired] Red Hat Raw Hide Reporter: Nathan Owen <owenna>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-07-05 19:10:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
fixes the above issues (patch against rpm-4.0.3-.057) none

Description Nathan Owen 2001-07-05 19:07:39 UTC
Description of Problem:
On Solaris gendiff is run with /bin/sh but uses bash syntax causing errors
when run.

in lib/fsm.c st_mtime is used as a variable name. This is (apparently) a
reserved word on solaris and prevents rpm from compiling.(it is #defined in
stat.h)

rpm.spec.in specifies %{__prefix}/src/redhat for the topdir, but a make
install does not necessarily create this directory. (it uses
%{__prefix}/src/@RPMCANONVENDOR@

Comment 1 Nathan Owen 2001-07-05 19:10:32 UTC
Created attachment 22807 [details]
fixes the above issues (patch against rpm-4.0.3-.057)

Comment 2 Jeff Johnson 2001-07-05 20:48:10 UTC
Fixed in my next checkin, should be in rpm-4.0.3-0.58 or thereabouts.