Provides/Obsoletes question

Steve Dickson SteveD at redhat.com
Tue Oct 16 15:42:51 UTC 2007


I'm trying to rename the libgssapi-0.11-2.fc8 package
into libgssglue-0.1-2.fc8 and I'm getting file conflictions
on a common config file.

Now reading the http://fedoraproject.org/wiki/Packaging/NamingGuidelines
its seems all I have to do is added a Provides and Obsoletes cause to
the new spec file and the file conflictions will be resolved.
Unfortunately I must be not understanding something since no matter
what I do, I can not get ride of the file confliction.

So I'm hoping a "second pair of eyes" will be able to show
what I'm doing wrong.

The old package is libgssapi-0.11-2.fc8
The new package is libgssglue-0.1-2.fc8
The libgssglue.spec file entry is:

Provides: libgssapi = %{version}-%{release}
Obsoletes: libgssapi <= 0.11-2

The error is:
# rpm -ihv libgssglue-0.1-2.fc8
Preparing...                ########################################### 
[100%]
         file /etc/gssapi_mech.conf from install of libgssglue-0.1-2.fc8 
conflicts with file from package libgssapi-0.11-2.fc8
#

Anybody have a clue as to what I'm doing wrong?

tia,

steved.






More information about the fedora-devel-list mailing list