aboutsummaryrefslogtreecommitdiffstats
path: root/rpm
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2021-04-13 16:33:06 -0700
committerBrian Behlendorf <[email protected]>2021-04-14 13:23:08 -0700
commit25cd7b520d2f0597ae98d4fd9309cc5e66c55da8 (patch)
tree02ec29e36d43c755ad57758e57ac299b17a83033 /rpm
parent4a30a0b94750aa8bfd09c5bd03f2970055b19968 (diff)
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #11844 Closes #11895
Diffstat (limited to 'rpm')
-rw-r--r--rpm/generic/zfs.spec.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in
index 13e154948..997f62332 100644
--- a/rpm/generic/zfs.spec.in
+++ b/rpm/generic/zfs.spec.in
@@ -208,6 +208,9 @@ This library provides a variety of compatibility functions for OpenZFS:
%post -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
Summary: Native ZFS filesystem library for Linux
Group: System Environment/Kernel
@@ -232,6 +235,7 @@ Provides: libnvpair3-devel
Provides: libuutil3-devel
Obsoletes: zfs-devel
Obsoletes: libzfs2-devel
+Obsoletes: libzfs4-devel
%description -n libzfs5-devel
This package contains the header files needed for building additional