Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 2.1 product line. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 130989

Summary: a bug in rh-postgresql.spec file
Product: Red Hat Enterprise Linux 2.1 Reporter: Lisa Lu <llu>
Component: rh-postgresqlAssignee: Tom Lane <tgl>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: hhorak
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-22 23:01:05 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:

Description Lisa Lu 2004-08-26 14:44:55 UTC
Description of problem:
I encountered an parse error from "rh-postgresql.spec" while compiling
rh-postgresql 7.3.6-7 on a RHEL AS 2.1 machine.

Version-Release number of selected component (if applicable):


How reproducible:
rpmbuild -bc --define='tcl 0' rh-postgresql.spec

Steps to Reproduce:
1.
2.
3.
  
Actual results: Error: parse error on line 272 in rh-postgresql.spec file.

I located the error.  The original code on line 272 is 
              %if ! %{fedora}
I fixed it by doing the following
              %if !%{fedora}
I basically took out the space between the negation and the variable
for the rest of file. This if condition is used quite a few times in
the rh-postgresql.spec file.

I would like to share this with others. Hopefully, the author of the
spec file would fix it. So others won't suffer what I had to go through. 

Lisa


Expected results:


Additional info:

Comment 1 David Lawrence 2004-09-13 16:40:58 UTC
Changing component and product so proper developer will see this report.

Comment 2 Tom Lane 2004-09-22 23:01:05 UTC
I've removed the spaces in rh-postgresql-7.3.7-1.

Comment 3 John Flanagan 2004-12-20 17:54:14 UTC
An errata has been issued which should help the problem 
described in this bug report. This report is therefore being 
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, 
please follow the link below. You may reopen this bug report 
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2004-489.html