Created attachment 335747 [details]
rpm removal result
Description of problem:
While reviewing Review request, bug 486390, on i586
"rpm -e simspark simspark-devel" does not delete
- Both simspark and simspark own some files under /usr/lib/simspark
- /usr/lib/simspark is owned by simspark and not by simspark-devel
- simspark-devel Requires simspark
- simspark does not Requires simspark-devel
Then "rpm -e simspark simspark-devel" first removes
simspark, then simspark-devel (rpm -evv results attached)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
(on bug 486390) with mock (the result is currently under
2. yum -y --nogpgcheck localinstall simspark-0.1-3.fc11.i586.rpm \
3. rpm -evv simspark simspark-devel
simspark-devel must be removed first.
Note that the current Fedora packaging guideline
assumes that this is done by rpm correctly.
Created attachment 336523 [details]
Test case spec file
The attached specfile is a testcase for this bug.
The test case is described in detail in this post to the fedora-packaging mailing list:
This bug is really, really bad. Any package that correctly implements the packaging guideline
"A package should not own a directory that is owned by a package on which it depends."
will, due to the way rpm is currently working, violate the packaging guideline
"packages should own all directories needed in order not to leave orphaned directories after a package de-installation."
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here:
*** This bug has been marked as a duplicate of bug 479257 ***