diff options
author | Brian Behlendorf <[email protected]> | 2021-04-13 16:33:06 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-13 16:33:06 -0700 |
commit | 3e660534eab18d05de0dfca49e4a5e8c27e2c9af (patch) | |
tree | 4eb389f9b62d1848ded3c9d877b75e64c17b9fbf /rpm | |
parent | d197a150b4fd7e906440c0b6ac820c9a96a8ea73 (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.in | 4 |
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 |