Bug 679180
Summary: | logging.properties not listed as a config file in the rpm | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Jason Pyeron <jpyeron> | ||||||||||
Component: | java-1.6.0-openjdk | Assignee: | jiri vanek <jvanek> | ||||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> | ||||||||||
Severity: | low | Docs Contact: | |||||||||||
Priority: | low | ||||||||||||
Version: | 5.8 | CC: | dbhole | ||||||||||
Target Milestone: | rc | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | |||||||||||||
: | 924828 (view as bug list) | Environment: | |||||||||||
Last Closed: | 2013-03-22 14:52:55 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: | |||||||||||||
Bug Depends On: | 680144 | ||||||||||||
Bug Blocks: | 924828 | ||||||||||||
Attachments: |
|
Description
Jason Pyeron
2011-02-21 20:06:08 UTC
Then logging properties should be marked as config(noreplace) %config(noreplace) jre/lib/logging.properties Created attachment 480287 [details]
patch for %files section
also fixes a build requirement by adding BuildRequires: gcc-c++
Why have you added this? BuildRequires: gcc-c++ There is no need for it. if you do not have it installed then the build will fail. remove g++ and try to build. gcc-c++ is always added as dependence of dependence. (In reply to comment #5) > gcc-c++ is always added as dependence of dependence. Which dependency? I ask because, I must have managed to break something, if that was the case. The build failed the first time with a g++ not found. Created attachment 480566 [details]
console log showing gcc/g++ build requires issues
As you can see gcc is a dependency for g++ but g++ is not a dependency for any package needed by the build requires or rpm-build.
Created attachment 480572 [details]
patch for %files and build requires
I still must disagree. When build is done on clean system (mock) tehn all dependencies are available. For missing gcc/g++ There must be fault on your machine. Please run mock build, nd you will be sure. The dependece can't be add. I will apply %config(noreplace) %{_jvmdir}/%{jredir}/lib/logging.properties into spec file asap I recieve acks. Created attachment 480752 [details]
no build require update
I am testing in mockbuild right now, if I can reproduce I will open another bug.
did you even do a mock build? it is complaining wildly. I have opened bug 680144 for the build requires issues. why? the patch was submitted over a year ago, and approved. https://bugzilla.redhat.com/show_bug.cgi?id=924828 This is the clone for rhe 6.4. The fix will bubble probably also to 5.X Builds with fix of this were pushed to fedora. if they will pass theirs usual QA, I'm for inclusion into next CPU for Rhel and for jdks 6 http://pkgs.fedoraproject.org/cgit/java-1.7.0-openjdk.git/commit/?id=89e2aea2f9880efd4ad773ef9dc566225c9ae9ef |