Skip to content

Commit

Permalink
Obsolete earlier packages due to version bump
Browse files Browse the repository at this point in the history
Follow up to d5ef91a 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
  • Loading branch information
behlendorf authored Apr 13, 2021
1 parent d197a15 commit 3e66053
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rpm/generic/zfs.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3e66053

Please sign in to comment.