On 04/07/2016 04:07 PM, Michael Catanzaro wrote:
On Thu, 2016-04-07 at 12:55 +0000, Zbigniew Jędrzejewski-Szmek wrote:
If you have:
(main package)
Obsoletes: %{name} < the-new-version-release
%package tc
Obsoletes: %{name} < the-new-version-release
Both subpackages should get installed on upgrade.
This is a good trick; I've had to use it recently. I went with this
form:
Obsoletes: %{name}%{isa} < the-new-version-release
This seems better, right?
It might seem better but it doesn't work.
Obsoletes are matched on package names only, and %{name}%{isa} in
packages is in the package provides so the ends never meet and nothing
gets obsoleted.
- Panu -
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx