diff options
author | Antonio Russo <[email protected]> | 2020-11-19 17:25:24 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2020-11-19 16:25:24 -0800 |
commit | 8434017a276e4c311d32adfa793a779d814ce543 (patch) | |
tree | d46209f557c1142dcedbb7bfc12f1327b1908eb1 /config | |
parent | 567e4d0dfafd9a6da8efff2b6c49f740ecf0bb9d (diff) |
Track SONAME version bump in packaging
RPM and DEB packages are named after the SONAME version of the library
they contain. After bumping this version, the packaging should be
renamed.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Antonio Russo <[email protected]>
Closes #11219
Diffstat (limited to 'config')
-rw-r--r-- | config/deb.am | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/config/deb.am b/config/deb.am index 79063e407..81dc8a306 100644 --- a/config/deb.am +++ b/config/deb.am @@ -41,11 +41,11 @@ deb-utils: deb-local rpm-utils-initramfs arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \ debarch=`$(DPKG) --print-architecture`; \ pkg1=$${name}-$${version}.$${arch}.rpm; \ - pkg2=libnvpair1-$${version}.$${arch}.rpm; \ - pkg3=libuutil1-$${version}.$${arch}.rpm; \ - pkg4=libzfs2-$${version}.$${arch}.rpm; \ - pkg5=libzpool2-$${version}.$${arch}.rpm; \ - pkg6=libzfs2-devel-$${version}.$${arch}.rpm; \ + pkg2=libnvpair3-$${version}.$${arch}.rpm; \ + pkg3=libuutil3-$${version}.$${arch}.rpm; \ + pkg4=libzfs4-$${version}.$${arch}.rpm; \ + pkg5=libzpool4-$${version}.$${arch}.rpm; \ + pkg6=libzfs4-devel-$${version}.$${arch}.rpm; \ pkg7=$${name}-test-$${version}.$${arch}.rpm; \ pkg8=$${name}-dracut-$${version}.noarch.rpm; \ pkg9=$${name}-initramfs-$${version}.$${arch}.rpm; \ @@ -56,7 +56,7 @@ deb-utils: deb-local rpm-utils-initramfs path_prepend=`mktemp -d /tmp/intercept.XXX`; \ echo "#$(SHELL)" > $${path_prepend}/dh_shlibdeps; \ echo "`which dh_shlibdeps` -- \ - -xlibuutil1linux -xlibnvpair1linux -xlibzfs2linux -xlibzpool2linux" \ + -xlibuutil3linux -xlibnvpair3linux -xlibzfs4linux -xlibzpool4linux" \ >> $${path_prepend}/dh_shlibdeps; \ ## These -x arguments are passed to dpkg-shlibdeps, which exclude the ## Debianized packages from the auto-generated dependencies of the new debs, |