Skip to content

Draft: Loosen strict dependency on -common to only match upstream version

Jeremy Bícha requested to merge wip/upstream-common-dep into debian/latest

I am proposing this based on https://bugs.debian.org/1067675 I chose libshumate because it can be built much faster than mutter and the packaging is much simpler too, so the review is easier. If it works for libshumate then we can apply it elsewhere.

I believe the specific motivation was that mutter 46.0-1ubuntu1 built on Ubuntu but then the 46.0-ubuntu2 rebuild failed on amd64 but built on other architectures, causing uninstallability on those architectures. So a modification like this would have avoided that scenario, while still preserving our need to have the upstream version match for packages built by the same source package.

Practically, I imagine most of the time this architecture skew happens, it happens for the first packaged version of a new upstream version (basically those with a -1 Debian version number suffix), but I guess it can still be worthwhile even it only helps sometimes.

We could go one step further and also set an upper bound using something like DEB_GNOME_NEXTVERSION from /usr/share/gnome-pkg-tools/1/rules/gnome-version.mk but that would make things harder for ports that lag behind, right?

cc/ @smcv @seb128 @doko

Merge request reports

Loading