Obsolete earlier packages due to version bump

Follow up to d5ef91af which adds a missing 'obsoletes' for the
libzfs-devel package.

Add a comment to the zfs.spec file as a reminder that previous
versions of the package should be marked as obsolete.

Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #11844 
Closes #11895
This commit is contained in:
Brian Behlendorf 2021-04-13 16:33:06 -07:00 committed by GitHub
parent d197a150b4
commit 3e660534ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -208,6 +208,9 @@ This library provides a variety of compatibility functions for OpenZFS:
%post -n libuutil3 -p /sbin/ldconfig %post -n libuutil3 -p /sbin/ldconfig
%postun -n libuutil3 -p /sbin/ldconfig %postun -n libuutil3 -p /sbin/ldconfig
# The library version is encoded in the package name. When updating the
# version information it is important to add an obsoletes line below for
# the previous version of the package.
%package -n libzfs5 %package -n libzfs5
Summary: Native ZFS filesystem library for Linux Summary: Native ZFS filesystem library for Linux
Group: System Environment/Kernel Group: System Environment/Kernel
@ -232,6 +235,7 @@ Provides: libnvpair3-devel
Provides: libuutil3-devel Provides: libuutil3-devel
Obsoletes: zfs-devel Obsoletes: zfs-devel
Obsoletes: libzfs2-devel Obsoletes: libzfs2-devel
Obsoletes: libzfs4-devel
%description -n libzfs5-devel %description -n libzfs5-devel
This package contains the header files needed for building additional This package contains the header files needed for building additional