Remove gfs2-utils dependency in RHEL 9.

This commit is contained in:
Richard W.M. Jones 2021-02-09 10:22:55 +00:00
parent 1a5193c66e
commit 49700015ed

View File

@ -56,7 +56,7 @@ Summary: Access and modify virtual machine disk images
Name: libguestfs Name: libguestfs
Epoch: 1 Epoch: 1
Version: 1.44.0 Version: 1.44.0
Release: 4%{?dist} Release: 5%{?dist}
License: LGPLv2+ License: LGPLv2+
# Build only for architectures that have a kernel # Build only for architectures that have a kernel
@ -226,7 +226,9 @@ BuildRequires: findutils
BuildRequires: gawk BuildRequires: gawk
BuildRequires: gdisk BuildRequires: gdisk
BuildRequires: genisoimage BuildRequires: genisoimage
%if !0%{?rhel}
BuildRequires: gfs2-utils BuildRequires: gfs2-utils
%endif
BuildRequires: grep BuildRequires: grep
BuildRequires: gzip BuildRequires: gzip
%if !0%{?rhel} %if !0%{?rhel}
@ -389,9 +391,7 @@ For enhanced features, install:
%if !0%{?rhel} %if !0%{?rhel}
libguestfs-forensics adds filesystem forensics support libguestfs-forensics adds filesystem forensics support
%endif
libguestfs-gfs2 adds Global Filesystem (GFS2) support libguestfs-gfs2 adds Global Filesystem (GFS2) support
%if !0%{?rhel}
libguestfs-hfsplus adds HFS+ (Mac filesystem) support libguestfs-hfsplus adds HFS+ (Mac filesystem) support
%endif %endif
libguestfs-inspect-icons adds support for inspecting guest icons libguestfs-inspect-icons adds support for inspecting guest icons
@ -460,6 +460,7 @@ want to forensically analyze disk images using The Sleuth Kit.
%endif %endif
%if !0%{?rhel}
%package gfs2 %package gfs2
Summary: GFS2 support for %{name} Summary: GFS2 support for %{name}
License: LGPLv2+ License: LGPLv2+
@ -468,6 +469,7 @@ Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
%description gfs2 %description gfs2
This adds GFS2 support to %{name}. Install it if you want to process This adds GFS2 support to %{name}. Install it if you want to process
disk images containing GFS2. disk images containing GFS2.
%endif
%if !0%{?rhel} %if !0%{?rhel}
@ -1043,9 +1045,7 @@ move_to qemu-img zz-packages-dib
move_to which zz-packages-dib move_to which zz-packages-dib
%if !0%{?rhel} %if !0%{?rhel}
move_to sleuthkit zz-packages-forensics move_to sleuthkit zz-packages-forensics
%endif
move_to gfs2-utils zz-packages-gfs2 move_to gfs2-utils zz-packages-gfs2
%if !0%{?rhel}
move_to hfsplus-tools zz-packages-hfsplus move_to hfsplus-tools zz-packages-hfsplus
move_to jfsutils zz-packages-jfs move_to jfsutils zz-packages-jfs
move_to nilfs-utils zz-packages-nilfs move_to nilfs-utils zz-packages-nilfs
@ -1133,8 +1133,10 @@ rm ocaml/html/.gitignore
%{_libdir}/guestfs/supermin.d/zz-packages-forensics %{_libdir}/guestfs/supermin.d/zz-packages-forensics
%endif %endif
%if !0%{?rhel}
%files gfs2 %files gfs2
%{_libdir}/guestfs/supermin.d/zz-packages-gfs2 %{_libdir}/guestfs/supermin.d/zz-packages-gfs2
%endif
%if !0%{?rhel} %if !0%{?rhel}
%ifnarch ppc %ifnarch ppc
@ -1375,6 +1377,9 @@ rm ocaml/html/.gitignore
%changelog %changelog
* Tue Feb 09 2021 Richard W.M. Jones <rjones@redhat.com> - 1:1.44.0-5
- Remove gfs2-utils dependency in RHEL 9.
* Thu Jan 28 2021 Richard W.M. Jones <rjones@redhat.com> - 1:1.44.0-4 * Thu Jan 28 2021 Richard W.M. Jones <rjones@redhat.com> - 1:1.44.0-4
- ELN has full-fat qemu (not qemu-kvm). - ELN has full-fat qemu (not qemu-kvm).