Skip to content

Commit

Permalink
Obsolete earlier packages due to version bump
Browse files Browse the repository at this point in the history
In order for package managers such as dnf to upgrade cleanly after
the package SONAME bump the obsolete package names must be known.
Update the new packages to correctly obsolete the old ones.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #11230 
Closes #11233
  • Loading branch information
behlendorf committed Nov 24, 2020
1 parent 1c4ccfb commit cb01817
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rpm/generic/zfs.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ This package contains the core ZFS command line utilities.
%package -n libzpool4
Summary: Native ZFS pool library for Linux
Group: System Environment/Kernel
Obsoletes: libzpool2

%description -n libzpool4
This package contains the zpool library, which provides support
Expand All @@ -176,6 +177,7 @@ for managing zpools
%package -n libnvpair3
Summary: Solaris name-value library for Linux
Group: System Environment/Kernel
Obsoletes: libnvpair1

%description -n libnvpair3
This package contains routines for packing and unpacking name-value
Expand All @@ -189,6 +191,7 @@ to write self describing data structures on disk.
%package -n libuutil3
Summary: Solaris userland utility library for Linux
Group: System Environment/Kernel
Obsoletes: libuutil1

%description -n libuutil3
This library provides a variety of compatibility functions for OpenZFS:
Expand All @@ -207,6 +210,7 @@ This library provides a variety of compatibility functions for OpenZFS:
%package -n libzfs4
Summary: Native ZFS filesystem library for Linux
Group: System Environment/Kernel
Obsoletes: libzfs2

%description -n libzfs4
This package provides support for managing ZFS filesystems
Expand All @@ -225,6 +229,7 @@ Provides: libzpool4-devel
Provides: libnvpair3-devel
Provides: libuutil3-devel
Obsoletes: zfs-devel
Obsoletes: libzfs2-devel

%description -n libzfs4-devel
This package contains the header files needed for building additional
Expand Down

0 comments on commit cb01817

Please sign in to comment.