View Single Post
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#7
Originally Posted by rainisto View Post
Just use .spec file.

Obsoletes: - if you want to uninstall other versions

Conflicts: - if you want to keep 1st installed rpm package and stop 2 other packages from installing

(And you all 3 packages can use Provides: hebvbk for example so depending packages dont care which one of the 3 packages is installed).
Thank you very much ! Conflicts:work like a charm!
Wanted to ask you about Provides: if I understand it right..

For example I have 3 packages named:
hebrewvkb-4ar
hebrewvkb-2ar-3lang
hebrewvkb-2ar-2lang

I'm going to create another/different app/package and I know it can be conflicted with this 3 packages.
I will add:
Provides: hebrewvkb to new package and that mean, when I will try to install new package and I already have one of 3 packages (vkb) installed - it just will not allow me to install new package ? I'm right ?