The reason for appending distro name to package version? #15136
-
Hello, we are building our own forks of pdns. I am thinking, what is the purpose of appending the distro name to the version of the package? As you do here If I remove it (for our own fork packaging), will things break? :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
If you ever upgrade your distro, you'll have to figure out if your '4.8.4' is for Pokedistro Pikachu or Mewtwo or Leopold. Having the suffix in there solves this problem. Also, some repo management tools (like reprepro, which we use for .deb repos) don't even allow reuse of version numbers between distributions. If you look at Debian/Ubuntu upstream version numbers for packages, you'll also notice that they sometimes add something like a |
Beta Was this translation helpful? Give feedback.
If you ever upgrade your distro, you'll have to figure out if your '4.8.4' is for Pokedistro Pikachu or Mewtwo or Leopold. Having the suffix in there solves this problem. Also, some repo management tools (like reprepro, which we use for .deb repos) don't even allow reuse of version numbers between distributions. If you look at Debian/Ubuntu upstream version numbers for packages, you'll also notice that they sometimes add something like a
deb12u
suffix to distinguish it from the same version built for, say, deb 11.