rpm: Use the correct version-release information in dependencies
This tightly links the subpackages together and ensures that everything is upgraded together. Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Neal Gompa <ngompa@datto.com> Closes #13489
This commit is contained in:
parent
8131a96544
commit
e1b49e3f1d
|
@ -120,12 +120,12 @@ License: @ZFS_META_LICENSE@
|
||||||
URL: https://github.com/openzfs/zfs
|
URL: https://github.com/openzfs/zfs
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Requires: libzpool5 = %{version}
|
Requires: libzpool5%{?_isa} = %{version}-%{release}
|
||||||
Requires: libnvpair3 = %{version}
|
Requires: libnvpair3%{?_isa} = %{version}-%{release}
|
||||||
Requires: libuutil3 = %{version}
|
Requires: libuutil3%{?_isa} = %{version}-%{release}
|
||||||
Requires: libzfs5 = %{version}
|
Requires: libzfs5%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-kmod = %{version}
|
Requires: %{name}-kmod = %{version}
|
||||||
Provides: %{name}-kmod-common = %{version}
|
Provides: %{name}-kmod-common = %{version}-%{release}
|
||||||
Obsoletes: spl
|
Obsoletes: spl
|
||||||
|
|
||||||
# zfs-fuse provides the same commands and man pages that OpenZFS does.
|
# zfs-fuse provides the same commands and man pages that OpenZFS does.
|
||||||
|
@ -255,13 +255,13 @@ This package provides support for managing ZFS filesystems
|
||||||
%package -n libzfs5-devel
|
%package -n libzfs5-devel
|
||||||
Summary: Development headers
|
Summary: Development headers
|
||||||
Group: System Environment/Kernel
|
Group: System Environment/Kernel
|
||||||
Requires: libzfs5 = %{version}
|
Requires: libzfs5%{?_isa} = %{version}-%{release}
|
||||||
Requires: libzpool5 = %{version}
|
Requires: libzpool5%{?_isa} = %{version}-%{release}
|
||||||
Requires: libnvpair3 = %{version}
|
Requires: libnvpair3%{?_isa} = %{version}-%{release}
|
||||||
Requires: libuutil3 = %{version}
|
Requires: libuutil3%{?_isa} = %{version}-%{release}
|
||||||
Provides: libzpool5-devel
|
Provides: libzpool5-devel = %{version}-%{release}
|
||||||
Provides: libnvpair3-devel
|
Provides: libnvpair3-devel = %{version}-%{release}
|
||||||
Provides: libuutil3-devel
|
Provides: libuutil3-devel = %{version}-%{release}
|
||||||
Obsoletes: zfs-devel
|
Obsoletes: zfs-devel
|
||||||
Obsoletes: libzfs2-devel
|
Obsoletes: libzfs2-devel
|
||||||
Obsoletes: libzfs4-devel
|
Obsoletes: libzfs4-devel
|
||||||
|
@ -313,8 +313,8 @@ Summary: Python %{python_version} wrapper for libzfs_core
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: libzfs5 = %{version}
|
Requires: libzfs5 = %{version}-%{release}
|
||||||
Requires: libnvpair3 = %{version}
|
Requires: libnvpair3 = %{version}-%{release}
|
||||||
Requires: libffi
|
Requires: libffi
|
||||||
Requires: python%{__python_pkg_version}
|
Requires: python%{__python_pkg_version}
|
||||||
Requires: %{__python_cffi_pkg}
|
Requires: %{__python_cffi_pkg}
|
||||||
|
@ -339,7 +339,6 @@ This package provides a python wrapper for the libzfs_core C library.
|
||||||
Summary: Initramfs module
|
Summary: Initramfs module
|
||||||
Group: System Environment/Kernel
|
Group: System Environment/Kernel
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
Requires: initramfs-tools
|
Requires: initramfs-tools
|
||||||
|
|
||||||
%description initramfs
|
%description initramfs
|
||||||
|
|
Loading…
Reference in New Issue