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:
Changing component and product so proper developer will see this report.
I've removed the spaces in rh-postgresql-7.3.7-1.
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