Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=576591
--- Comment #14 from Terje Røsten <terjeros(a)phys.ntnu.no> 2011-01-26 08:01:52 EST
---
No, don't help.
This line
Provides: iptraf-ng = %{version}
is implicit any way.
This line
Obsoletes: iptraf <= 3.0.1-10
is correct.
This means when iptraf-ng is installed iptraf is removed, I guess you want that
to happen
Now if some installed package A have a dep on iptraf,
rpm/yum will refuse to install iptraf-ng as iptraf is removed with nothing to
satisfy the dep package A has on iptraf. So we solve that by adding
Provides: iptraf = %{version}-%{release}
in iptraf-ng.spec, letting iptraf-ng satisfy the dep pacakge A has on iptraf.
However, we have just obsoleted iptraf <= 3.0.1-10, when
%{version}-%{release} < 3.0.1-10 the package obsoletes itself, not good.
I see two options:
- adjust %{version} to be > 3.0.1
or use this line
Provides: iptraf = 3.0.1-11
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.