Red Hat Bugzilla – Bug 679180
logging.properties not listed as a config file in the rpm
Last modified: 2013-04-23 01:49:06 EDT
Description of problem:
modify the logging.properties, then update the package via normal yum process, not you chages will go away if there is a newer rpm package.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
logging.properties.rpmnew file created instead
working on a patch to the spec file
Then logging properties should be marked as config(noreplace)
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
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.
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