Skip to content

Commit d561e78

Browse files
behlendorfjsai20
authored andcommitted
Obsolete earlier packages due to version bump
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 <[email protected]> Closes openzfs#11230 Closes openzfs#11233
1 parent a65d536 commit d561e78

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rpm/generic/zfs.spec.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ This package contains the core ZFS command line utilities.
165165
%package -n libzpool4
166166
Summary: Native ZFS pool library for Linux
167167
Group: System Environment/Kernel
168+
Obsoletes: libzpool2
168169

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

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

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

211215
%description -n libzfs4
212216
This package provides support for managing ZFS filesystems
@@ -225,6 +229,7 @@ Provides: libzpool4-devel
225229
Provides: libnvpair3-devel
226230
Provides: libuutil3-devel
227231
Obsoletes: zfs-devel
232+
Obsoletes: libzfs2-devel
228233

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

0 commit comments

Comments
 (0)