Bug 235500 - [PATCH] Make gcc-java etc. really conditional in spec file
[PATCH] Make gcc-java etc. really conditional in spec file
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-06 07:18 EDT by Robert Scheck
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version: 4.1.2-9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-04-19 03:40:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch to make java in gcc41.spec conditional (1.43 KB, patch)
2007-04-06 07:20 EDT, Robert Scheck
no flags Details | Diff

  None (edit)
Description Robert Scheck 2007-04-06 07:18:49 EDT
Description of problem:
There are already some %if's regarding java in gcc41.spec, but please make gcc-
java etc. really conditional in spec file. I've attached a working patch which 
solves this "issue" for me. Please apply in devel branch for the next rebuild.

Version-Release number of selected component (if applicable):
gcc-4.1.2-8
Comment 1 Robert Scheck 2007-04-06 07:20:06 EDT
Created attachment 151868 [details]
Patch to make java in gcc41.spec conditional
Comment 2 Jakub Jelinek 2007-04-06 15:31:03 EDT
Only the last hunk is actually needed, the rest is pointless.
Comment 3 Robert Scheck 2007-04-06 16:23:43 EDT
All hunks are needed, otherwise build requirements from gcc-java etc. are 
enforced during build which is pointless. And if gcc-java is not available,
the other hunks should be applied, too (because of conditional package).
Comment 4 Jakub Jelinek 2007-04-19 03:40:01 EDT
Should be fixed (differently) in gcc-4.1.2-9 in rawhide.

Note You need to log in before you can comment on or make changes to this bug.