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 <faaland1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes openzfs#11844 
Closes openzfs#11895
  • Loading branch information
behlendorf authored and mcmilk committed Apr 15, 2021
1 parent fa49cec commit 6891431
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 6891431

Please sign in to comment.