Skip to content

Commit 3e66053

Browse files
authored
Obsolete earlier packages due to version bump
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
1 parent d197a15 commit 3e66053

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rpm/generic/zfs.spec.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ This library provides a variety of compatibility functions for OpenZFS:
208208
%post -n libuutil3 -p /sbin/ldconfig
209209
%postun -n libuutil3 -p /sbin/ldconfig
210210

211+
# The library version is encoded in the package name. When updating the
212+
# version information it is important to add an obsoletes line below for
213+
# the previous version of the package.
211214
%package -n libzfs5
212215
Summary: Native ZFS filesystem library for Linux
213216
Group: System Environment/Kernel
@@ -232,6 +235,7 @@ Provides: libnvpair3-devel
232235
Provides: libuutil3-devel
233236
Obsoletes: zfs-devel
234237
Obsoletes: libzfs2-devel
238+
Obsoletes: libzfs4-devel
235239

236240
%description -n libzfs5-devel
237241
This package contains the header files needed for building additional

0 commit comments

Comments
 (0)