Bug 65437

Summary: rpm won't take my spec file.
Product: [Retired] Red Hat Linux Reporter: hjl
Component: rpm-buildAssignee: Jeff Johnson <jbj>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: dan
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: 2005-09-29 21:46:18 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
My spec file.
none
This patch will fix the issue (at least it works for me)
none
Here is my version none

Description hjl 2002-05-24 03:47:21 UTC
I got
Building target platforms: alpha
Building for target alpha
error: parse error in expression
error: /export/redhat/baseline/dummy/dummy.spec:18: parseExpressionBoolean retur
ns -1
Executing(%prep): /bin/sh -e /var/tmp/alpha-linux/rpm-tmp.23970
+ umask 022
+ cd /export/redhat/rpms/BUILD
+ cd /export/redhat/rpms/BUILD
+ rm -rf dummy
+ /bin/mkdir -p dummy
+ cd dummy
++ /usr/bin/id -u
+ '[' 1103 = 0 ']'
++ /usr/bin/id -u
+ '[' 1103 = 0 ']'
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/alpha-linux/rpm-tmp.23970
+ umask 022
+ cd /export/redhat/rpms/BUILD
+ cd dummy
+ exit 0

Comment 1 hjl 2002-05-24 03:47:57 UTC
Created attachment 58365 [details]
My spec file.

Comment 2 Dan Yefimov 2002-06-27 20:54:59 UTC
Created attachment 62945 [details]
This patch will fix the issue (at least it works for me)

Comment 3 hjl 2002-06-27 21:00:56 UTC
Created attachment 62946 [details]
Here is my version

Comment 4 Dan Yefimov 2002-06-27 21:17:35 UTC
Your patch doesn't completely solve the problem, it just masks it off. My
version does remove the root of the problem - it just skips processing
conditionals that shouldn't be processed anyway because they're inside the false
branch of the outer conditional.

Comment 5 Bill Nottingham 2005-09-29 21:46:18 UTC
Closing bugs on older, no longer supported, releases. Apologies for any lack of
response.

For RPM issues, please try a current release such as Fedora Core 4; if bugs
persist, please open a new issue.