Handling name change of RPM
Łukasz Stelmach
l.stelmach at samsung.com
Sat Jan 18 12:47:25 UTC 2014
It was <2014-01-16 czw 19:37>, when Sarang Radke wrote:
> I need to change the name of my RPM and it should override the RPM
> with old name. However I am running into file conflict.
>
> Old name - old-fw-1.0.0.noarch.rpm
> New name - new-fw-2.0.0.noarch.rpm
>
> Now when I try to install the new RPM with older RPM already
> installed, I see a file conflict and installation fails. (tried # rpm
> -Uvh & -ivh)
>
> What I have tried so far in the SPEC file is,
>
> Obsolete: old-rpm
> Conflicts: old-rpm
> Provides: old-rpm
Remember to provide versions here, especially for Conflicts
Conflicts: old-rpm < %{version}
Otherwise Conflicts would conflict with Provides.
--
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20140118/d3c53dbf/attachment.asc>
More information about the Rpm-list
mailing list