Re: Handling name change of RPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgpnCxuidlsR5.pgp
Description: PGP signature

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux