Only use FUSE 3 for rofiles-fuse on f37+

It was only meant to land in rawhide. Make it a conditional instead.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2087117
This commit is contained in:
Jonathan Lebon 2022-05-19 11:00:50 -04:00
parent 3a2d96339b
commit fdee6903a2

View File

@ -8,7 +8,7 @@
Summary: Tool for managing bootable, immutable filesystem trees
Name: ostree
Version: 2022.3
Release: 2%{?dist}
Release: 3%{?dist}
Source0: https://github.com/ostreedev/%{name}/releases/download/v%{version}/libostree-%{version}.tar.xz
License: LGPLv2+
URL: https://ostree.readthedocs.io/en/latest/
@ -33,7 +33,11 @@ BuildRequires: pkgconfig(libarchive)
BuildRequires: pkgconfig(liblzma)
BuildRequires: pkgconfig(libselinux)
BuildRequires: pkgconfig(mount)
%if 0%{?fedora} <= 36
BuildRequires: pkgconfig(fuse)
%else
BuildRequires: pkgconfig(fuse3)
%endif
BuildRequires: pkgconfig(e2p)
BuildRequires: libcap-devel
BuildRequires: gpgme-devel
@ -165,6 +169,9 @@ find %{buildroot} -name '*.la' -delete
%endif
%changelog
* Thu May 19 2022 Jonathan Lebon <jonathan@jlebon.com> - 2022.3-3
- Only use FUSE 3 for rofiles-fuse on f37+
* Wed May 04 2022 Colin Walters <walters@verbum.org> - 2022.3-2
- https://github.com/ostreedev/ostree/releases/tag/v2022.3