http://bugzilla.opensuse.org/show_bug.cgi?id=916424
--- Comment #9 from Christian Boltz
(In reply to Christian Boltz from comment #6)
Just as an (untested) idea:
3.18.3-1.3 packages could contain something like %define version_without_rebuild_number = 3.18.3-1 Provides: %name-build = %{version_without_rebuild_number} Conflicts: otherprovides(%name-build) = %{version_without_rebuild_number} (or maybe s/Conflicts/Obsoletes/) to let it conflict with other packages that only differ in the rebuild counter.
Hm, but won't it result in just raising the conflict to the upper level? zypper would still ask users to resolve, I guess.
Right, but it would at least be an "official" conflict - not something "unexpected" like file conflicts. Maybe you could trick around with Obsoletes, maybe something like (untested!): Provides: %name-build-%{version_without_rebuild_number} = %{rebuild_number} Obsoletes: %name-build-%{version_without_rebuild_number} < %{rebuild_number} The interesting[tm] point is to only obsolete packages with the same version and checkin number, but not other older kernel packages. (Better ask on opensuse-packaging or a packaging expert - the above is untested and without warranty ;-)
Or, KISS fix, just use the full release number (including rebuild count) for the file and directory names ;-)
This would result in varying file contents at each package rebuild, and it's what I'd like to avoid.
So you can choose between annoying users (with superfluous big downloads) and annoying users (by having conflicting packages). I was afraid that the solution can't be that easy ;-) -- You are receiving this mail because: You are on the CC list for the bug.