mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-01-25 10:12:13 +03:00
Bump SONAME of libzfs and libzpool
The ABI of libzfs and libzpool have breaking changes since the last major release. Bump the SONAME for the upcoming 2.4 release branch to libzfs7 and libzpool7. Reviewed-by: Rob Norris <robn@despairlabs.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #17911
This commit is contained in:
parent
ff536b1538
commit
5b2489caf2
@ -58,9 +58,9 @@ deb-utils: deb-local rpm-utils-initramfs
|
|||||||
pkg1=$${name}-$${version}.$${arch}.rpm; \
|
pkg1=$${name}-$${version}.$${arch}.rpm; \
|
||||||
pkg2=libnvpair3-$${version}.$${arch}.rpm; \
|
pkg2=libnvpair3-$${version}.$${arch}.rpm; \
|
||||||
pkg3=libuutil3-$${version}.$${arch}.rpm; \
|
pkg3=libuutil3-$${version}.$${arch}.rpm; \
|
||||||
pkg4=libzfs6-$${version}.$${arch}.rpm; \
|
pkg4=libzfs7-$${version}.$${arch}.rpm; \
|
||||||
pkg5=libzpool6-$${version}.$${arch}.rpm; \
|
pkg5=libzpool7-$${version}.$${arch}.rpm; \
|
||||||
pkg6=libzfs6-devel-$${version}.$${arch}.rpm; \
|
pkg6=libzfs7-devel-$${version}.$${arch}.rpm; \
|
||||||
pkg7=$${name}-test-$${version}.$${arch}.rpm; \
|
pkg7=$${name}-test-$${version}.$${arch}.rpm; \
|
||||||
pkg8=$${name}-dracut-$${version}.noarch.rpm; \
|
pkg8=$${name}-dracut-$${version}.noarch.rpm; \
|
||||||
pkg9=$${name}-initramfs-$${version}.$${arch}.rpm; \
|
pkg9=$${name}-initramfs-$${version}.$${arch}.rpm; \
|
||||||
@ -72,7 +72,7 @@ deb-utils: deb-local rpm-utils-initramfs
|
|||||||
path_prepend=`mktemp -d /tmp/intercept.XXXXXX`; \
|
path_prepend=`mktemp -d /tmp/intercept.XXXXXX`; \
|
||||||
echo "#!$(SHELL)" > $${path_prepend}/dh_shlibdeps; \
|
echo "#!$(SHELL)" > $${path_prepend}/dh_shlibdeps; \
|
||||||
echo "`which dh_shlibdeps` -- \
|
echo "`which dh_shlibdeps` -- \
|
||||||
-xlibuutil3linux -xlibnvpair3linux -xlibzfs6linux -xlibzpool6linux" \
|
-xlibuutil3linux -xlibnvpair3linux -xlibzfs7linux -xlibzpool7linux" \
|
||||||
>> $${path_prepend}/dh_shlibdeps; \
|
>> $${path_prepend}/dh_shlibdeps; \
|
||||||
## These -x arguments are passed to dpkg-shlibdeps, which exclude the
|
## These -x arguments are passed to dpkg-shlibdeps, which exclude the
|
||||||
## Debianized packages from the auto-generated dependencies of the new debs,
|
## Debianized packages from the auto-generated dependencies of the new debs,
|
||||||
|
|||||||
@ -12,14 +12,14 @@ dist_noinst_DATA += %D%/openzfs-libpam-zfs.postinst
|
|||||||
dist_noinst_DATA += %D%/openzfs-libpam-zfs.prerm
|
dist_noinst_DATA += %D%/openzfs-libpam-zfs.prerm
|
||||||
dist_noinst_DATA += %D%/openzfs-libuutil3.docs
|
dist_noinst_DATA += %D%/openzfs-libuutil3.docs
|
||||||
dist_noinst_DATA += %D%/openzfs-libuutil3.install.in
|
dist_noinst_DATA += %D%/openzfs-libuutil3.install.in
|
||||||
dist_noinst_DATA += %D%/openzfs-libzfs6.docs
|
dist_noinst_DATA += %D%/openzfs-libzfs7.docs
|
||||||
dist_noinst_DATA += %D%/openzfs-libzfs6.install.in
|
dist_noinst_DATA += %D%/openzfs-libzfs7.install.in
|
||||||
dist_noinst_DATA += %D%/openzfs-libzfsbootenv1.docs
|
dist_noinst_DATA += %D%/openzfs-libzfsbootenv1.docs
|
||||||
dist_noinst_DATA += %D%/openzfs-libzfsbootenv1.install.in
|
dist_noinst_DATA += %D%/openzfs-libzfsbootenv1.install.in
|
||||||
dist_noinst_DATA += %D%/openzfs-libzfs-dev.docs
|
dist_noinst_DATA += %D%/openzfs-libzfs-dev.docs
|
||||||
dist_noinst_DATA += %D%/openzfs-libzfs-dev.install.in
|
dist_noinst_DATA += %D%/openzfs-libzfs-dev.install.in
|
||||||
dist_noinst_DATA += %D%/openzfs-libzpool6.docs
|
dist_noinst_DATA += %D%/openzfs-libzpool7.docs
|
||||||
dist_noinst_DATA += %D%/openzfs-libzpool6.install.in
|
dist_noinst_DATA += %D%/openzfs-libzpool7.install.in
|
||||||
dist_noinst_DATA += %D%/openzfs-python3-pyzfs.install
|
dist_noinst_DATA += %D%/openzfs-python3-pyzfs.install
|
||||||
dist_noinst_DATA += %D%/openzfs-zfs-dkms.config
|
dist_noinst_DATA += %D%/openzfs-zfs-dkms.config
|
||||||
dist_noinst_DATA += %D%/openzfs-zfs-dkms.dkms
|
dist_noinst_DATA += %D%/openzfs-zfs-dkms.dkms
|
||||||
|
|||||||
@ -6,6 +6,6 @@ contrib/pyzfs/libzfs_core/bindings/__pycache__/
|
|||||||
contrib/pyzfs/pyzfs.egg-info/
|
contrib/pyzfs/pyzfs.egg-info/
|
||||||
debian/openzfs-libnvpair3.install
|
debian/openzfs-libnvpair3.install
|
||||||
debian/openzfs-libuutil3.install
|
debian/openzfs-libuutil3.install
|
||||||
debian/openzfs-libzfs6.install
|
debian/openzfs-libzfs7.install
|
||||||
debian/openzfs-libzfs-dev.install
|
debian/openzfs-libzfs-dev.install
|
||||||
debian/openzfs-libzpool6.install
|
debian/openzfs-libzpool7.install
|
||||||
|
|||||||
@ -79,9 +79,9 @@ Architecture: linux-any
|
|||||||
Depends: libssl-dev | libssl1.0-dev,
|
Depends: libssl-dev | libssl1.0-dev,
|
||||||
openzfs-libnvpair3 (= ${binary:Version}),
|
openzfs-libnvpair3 (= ${binary:Version}),
|
||||||
openzfs-libuutil3 (= ${binary:Version}),
|
openzfs-libuutil3 (= ${binary:Version}),
|
||||||
openzfs-libzfs6 (= ${binary:Version}),
|
openzfs-libzfs7 (= ${binary:Version}),
|
||||||
openzfs-libzfsbootenv1 (= ${binary:Version}),
|
openzfs-libzfsbootenv1 (= ${binary:Version}),
|
||||||
openzfs-libzpool6 (= ${binary:Version}),
|
openzfs-libzpool7 (= ${binary:Version}),
|
||||||
${misc:Depends}
|
${misc:Depends}
|
||||||
Replaces: libzfslinux-dev
|
Replaces: libzfslinux-dev
|
||||||
Conflicts: libzfslinux-dev
|
Conflicts: libzfslinux-dev
|
||||||
@ -91,18 +91,18 @@ Description: OpenZFS filesystem development files for Linux
|
|||||||
libraries of OpenZFS filesystem.
|
libraries of OpenZFS filesystem.
|
||||||
.
|
.
|
||||||
This package includes the development files of libnvpair3, libuutil3,
|
This package includes the development files of libnvpair3, libuutil3,
|
||||||
libzpool6 and libzfs6.
|
libzpool7 and libzfs7.
|
||||||
|
|
||||||
Package: openzfs-libzfs6
|
Package: openzfs-libzfs7
|
||||||
Section: contrib/libs
|
Section: contrib/libs
|
||||||
Architecture: linux-any
|
Architecture: linux-any
|
||||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||||
# The libcurl4 is loaded through dlopen("libcurl.so.4").
|
# The libcurl4 is loaded through dlopen("libcurl.so.4").
|
||||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988521
|
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988521
|
||||||
Recommends: libcurl4
|
Recommends: libcurl4
|
||||||
Breaks: libzfs2, libzfs4, libzfs4linux, libzfs6linux, openzfs-libzfs4
|
Breaks: libzfs2, libzfs4, libzfs4linux, libzfs6linux, libzfs7linux, openzfs-libzfs4, openzfs-libzfs6
|
||||||
Replaces: libzfs2, libzfs4, libzfs4linux, libzfs6linux, openzfs-libzfs4
|
Replaces: libzfs2, libzfs4, libzfs4linux, libzfs6linux, libzfs7linux, openzfs-libzfs4, openzfs-libzfs6
|
||||||
Conflicts: libzfs6linux
|
Conflicts: libzfs7linux
|
||||||
Description: OpenZFS filesystem library for Linux - general support
|
Description: OpenZFS filesystem library for Linux - general support
|
||||||
OpenZFS is a storage platform that encompasses the functionality of
|
OpenZFS is a storage platform that encompasses the functionality of
|
||||||
traditional filesystems and volume managers. It supports data checksums,
|
traditional filesystems and volume managers. It supports data checksums,
|
||||||
@ -124,13 +124,13 @@ Description: OpenZFS filesystem library for Linux - label info support
|
|||||||
.
|
.
|
||||||
The zfsbootenv library provides support for modifying ZFS label information.
|
The zfsbootenv library provides support for modifying ZFS label information.
|
||||||
|
|
||||||
Package: openzfs-libzpool6
|
Package: openzfs-libzpool7
|
||||||
Section: contrib/libs
|
Section: contrib/libs
|
||||||
Architecture: linux-any
|
Architecture: linux-any
|
||||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||||
Breaks: libzpool2, libzpool5, libzpool6linux
|
Breaks: libzpool2, libzpool5, libzpool6linux, libzpool7linux
|
||||||
Replaces: libzpool2, libzpool5, libzpool6linux
|
Replaces: libzpool2, libzpool5, libzpool6linux, libzpool7linux
|
||||||
Conflicts: libzpool6linux
|
Conflicts: libzpool7linux
|
||||||
Description: OpenZFS pool library for Linux
|
Description: OpenZFS pool library for Linux
|
||||||
OpenZFS is a storage platform that encompasses the functionality of
|
OpenZFS is a storage platform that encompasses the functionality of
|
||||||
traditional filesystems and volume managers. It supports data checksums,
|
traditional filesystems and volume managers. It supports data checksums,
|
||||||
@ -247,8 +247,8 @@ Architecture: linux-any
|
|||||||
Pre-Depends: ${misc:Pre-Depends}
|
Pre-Depends: ${misc:Pre-Depends}
|
||||||
Depends: openzfs-libnvpair3 (= ${binary:Version}),
|
Depends: openzfs-libnvpair3 (= ${binary:Version}),
|
||||||
openzfs-libuutil3 (= ${binary:Version}),
|
openzfs-libuutil3 (= ${binary:Version}),
|
||||||
openzfs-libzfs6 (= ${binary:Version}),
|
openzfs-libzfs7 (= ${binary:Version}),
|
||||||
openzfs-libzpool6 (= ${binary:Version}),
|
openzfs-libzpool7 (= ${binary:Version}),
|
||||||
python3,
|
python3,
|
||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
${shlibs:Depends}
|
${shlibs:Depends}
|
||||||
|
|||||||
@ -70,7 +70,7 @@ if BUILD_FREEBSD
|
|||||||
libzfs_la_LIBADD += -lutil -lgeom
|
libzfs_la_LIBADD += -lutil -lgeom
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libzfs_la_LDFLAGS += -version-info 6:0:0
|
libzfs_la_LDFLAGS += -version-info 7:0:0
|
||||||
|
|
||||||
pkgconfig_DATA += %D%/libzfs.pc
|
pkgconfig_DATA += %D%/libzfs.pc
|
||||||
|
|
||||||
|
|||||||
@ -212,7 +212,7 @@ if BUILD_FREEBSD
|
|||||||
libzpool_la_LIBADD += -lgeom
|
libzpool_la_LIBADD += -lgeom
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libzpool_la_LDFLAGS += -version-info 6:0:0
|
libzpool_la_LDFLAGS += -version-info 7:0:0
|
||||||
|
|
||||||
if TARGET_CPU_POWERPC
|
if TARGET_CPU_POWERPC
|
||||||
module/zfs/libzpool_la-vdev_raidz_math_powerpc_altivec.$(OBJEXT) : CFLAGS += -maltivec
|
module/zfs/libzpool_la-vdev_raidz_math_powerpc_altivec.$(OBJEXT) : CFLAGS += -maltivec
|
||||||
|
|||||||
@ -111,10 +111,10 @@ License: @ZFS_META_LICENSE@
|
|||||||
URL: https://github.com/openzfs/zfs
|
URL: https://github.com/openzfs/zfs
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Requires: libzpool6%{?_isa} = %{version}-%{release}
|
Requires: libzpool7%{?_isa} = %{version}-%{release}
|
||||||
Requires: libnvpair3%{?_isa} = %{version}-%{release}
|
Requires: libnvpair3%{?_isa} = %{version}-%{release}
|
||||||
Requires: libuutil3%{?_isa} = %{version}-%{release}
|
Requires: libuutil3%{?_isa} = %{version}-%{release}
|
||||||
Requires: libzfs6%{?_isa} = %{version}-%{release}
|
Requires: libzfs7%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-kmod = %{version}
|
Requires: %{name}-kmod = %{version}
|
||||||
Provides: %{name}-kmod-common = %{version}-%{release}
|
Provides: %{name}-kmod-common = %{version}-%{release}
|
||||||
Obsoletes: spl <= %{version}
|
Obsoletes: spl <= %{version}
|
||||||
@ -162,22 +162,23 @@ Requires: sysstat
|
|||||||
%description
|
%description
|
||||||
This package contains the core ZFS command line utilities.
|
This package contains the core ZFS command line utilities.
|
||||||
|
|
||||||
%package -n libzpool6
|
%package -n libzpool7
|
||||||
Summary: Native ZFS pool library for Linux
|
Summary: Native ZFS pool library for Linux
|
||||||
Group: System Environment/Kernel
|
Group: System Environment/Kernel
|
||||||
Obsoletes: libzpool2 <= %{version}
|
Obsoletes: libzpool2 <= %{version}
|
||||||
Obsoletes: libzpool4 <= %{version}
|
Obsoletes: libzpool4 <= %{version}
|
||||||
Obsoletes: libzpool5 <= %{version}
|
Obsoletes: libzpool5 <= %{version}
|
||||||
|
Obsoletes: libzpool6 <= %{version}
|
||||||
|
|
||||||
%description -n libzpool6
|
%description -n libzpool7
|
||||||
This package contains the zpool library, which provides support
|
This package contains the zpool library, which provides support
|
||||||
for managing zpools
|
for managing zpools
|
||||||
|
|
||||||
%if %{defined ldconfig_scriptlets}
|
%if %{defined ldconfig_scriptlets}
|
||||||
%ldconfig_scriptlets -n libzpool6
|
%ldconfig_scriptlets -n libzpool7
|
||||||
%else
|
%else
|
||||||
%post -n libzpool6 -p /sbin/ldconfig
|
%post -n libzpool7 -p /sbin/ldconfig
|
||||||
%postun -n libzpool6 -p /sbin/ldconfig
|
%postun -n libzpool7 -p /sbin/ldconfig
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%package -n libnvpair3
|
%package -n libnvpair3
|
||||||
@ -224,31 +225,32 @@ This library provides a variety of compatibility functions for OpenZFS:
|
|||||||
# The library version is encoded in the package name. When updating the
|
# The library version is encoded in the package name. When updating the
|
||||||
# version information it is important to add an obsoletes line below for
|
# version information it is important to add an obsoletes line below for
|
||||||
# the previous version of the package.
|
# the previous version of the package.
|
||||||
%package -n libzfs6
|
%package -n libzfs7
|
||||||
Summary: Native ZFS filesystem library for Linux
|
Summary: Native ZFS filesystem library for Linux
|
||||||
Group: System Environment/Kernel
|
Group: System Environment/Kernel
|
||||||
Obsoletes: libzfs2 <= %{version}
|
Obsoletes: libzfs2 <= %{version}
|
||||||
Obsoletes: libzfs4 <= %{version}
|
Obsoletes: libzfs4 <= %{version}
|
||||||
Obsoletes: libzfs5 <= %{version}
|
Obsoletes: libzfs5 <= %{version}
|
||||||
|
Obsoletes: libzfs6 <= %{version}
|
||||||
|
|
||||||
%description -n libzfs6
|
%description -n libzfs7
|
||||||
This package provides support for managing ZFS filesystems
|
This package provides support for managing ZFS filesystems
|
||||||
|
|
||||||
%if %{defined ldconfig_scriptlets}
|
%if %{defined ldconfig_scriptlets}
|
||||||
%ldconfig_scriptlets -n libzfs6
|
%ldconfig_scriptlets -n libzfs7
|
||||||
%else
|
%else
|
||||||
%post -n libzfs6 -p /sbin/ldconfig
|
%post -n libzfs7 -p /sbin/ldconfig
|
||||||
%postun -n libzfs6 -p /sbin/ldconfig
|
%postun -n libzfs7 -p /sbin/ldconfig
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%package -n libzfs6-devel
|
%package -n libzfs7-devel
|
||||||
Summary: Development headers
|
Summary: Development headers
|
||||||
Group: System Environment/Kernel
|
Group: System Environment/Kernel
|
||||||
Requires: libzfs6%{?_isa} = %{version}-%{release}
|
Requires: libzfs7%{?_isa} = %{version}-%{release}
|
||||||
Requires: libzpool6%{?_isa} = %{version}-%{release}
|
Requires: libzpool7%{?_isa} = %{version}-%{release}
|
||||||
Requires: libnvpair3%{?_isa} = %{version}-%{release}
|
Requires: libnvpair3%{?_isa} = %{version}-%{release}
|
||||||
Requires: libuutil3%{?_isa} = %{version}-%{release}
|
Requires: libuutil3%{?_isa} = %{version}-%{release}
|
||||||
Provides: libzpool6-devel = %{version}-%{release}
|
Provides: libzpool7-devel = %{version}-%{release}
|
||||||
Provides: libnvpair3-devel = %{version}-%{release}
|
Provides: libnvpair3-devel = %{version}-%{release}
|
||||||
Provides: libuutil3-devel = %{version}-%{release}
|
Provides: libuutil3-devel = %{version}-%{release}
|
||||||
Obsoletes: zfs-devel <= %{version}
|
Obsoletes: zfs-devel <= %{version}
|
||||||
@ -256,7 +258,7 @@ Obsoletes: libzfs2-devel <= %{version}
|
|||||||
Obsoletes: libzfs4-devel <= %{version}
|
Obsoletes: libzfs4-devel <= %{version}
|
||||||
Obsoletes: libzfs5-devel <= %{version}
|
Obsoletes: libzfs5-devel <= %{version}
|
||||||
|
|
||||||
%description -n libzfs6-devel
|
%description -n libzfs7-devel
|
||||||
This package contains the header files needed for building additional
|
This package contains the header files needed for building additional
|
||||||
applications against the ZFS libraries.
|
applications against the ZFS libraries.
|
||||||
|
|
||||||
@ -305,7 +307,7 @@ Summary: Python %{python_version} wrapper for libzfs_core
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: libzfs6 = %{version}-%{release}
|
Requires: libzfs7 = %{version}-%{release}
|
||||||
Requires: libnvpair3 = %{version}-%{release}
|
Requires: libnvpair3 = %{version}-%{release}
|
||||||
Requires: libffi
|
Requires: libffi
|
||||||
Requires: python%{__python_pkg_version}
|
Requires: python%{__python_pkg_version}
|
||||||
@ -548,7 +550,7 @@ systemctl --system daemon-reload >/dev/null || true
|
|||||||
%config(noreplace) %{_bashcompletiondir}/zfs
|
%config(noreplace) %{_bashcompletiondir}/zfs
|
||||||
%config(noreplace) %{_bashcompletiondir}/zpool
|
%config(noreplace) %{_bashcompletiondir}/zpool
|
||||||
|
|
||||||
%files -n libzpool6
|
%files -n libzpool7
|
||||||
%{_libdir}/libzpool.so.*
|
%{_libdir}/libzpool.so.*
|
||||||
|
|
||||||
%files -n libnvpair3
|
%files -n libnvpair3
|
||||||
@ -557,10 +559,10 @@ systemctl --system daemon-reload >/dev/null || true
|
|||||||
%files -n libuutil3
|
%files -n libuutil3
|
||||||
%{_libdir}/libuutil.so.*
|
%{_libdir}/libuutil.so.*
|
||||||
|
|
||||||
%files -n libzfs6
|
%files -n libzfs7
|
||||||
%{_libdir}/libzfs*.so.*
|
%{_libdir}/libzfs*.so.*
|
||||||
|
|
||||||
%files -n libzfs6-devel
|
%files -n libzfs7-devel
|
||||||
%{_pkgconfigdir}/libzfs.pc
|
%{_pkgconfigdir}/libzfs.pc
|
||||||
%{_pkgconfigdir}/libzfsbootenv.pc
|
%{_pkgconfigdir}/libzfsbootenv.pc
|
||||||
%{_pkgconfigdir}/libzfs_core.pc
|
%{_pkgconfigdir}/libzfs_core.pc
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user