Disable composefs on rhel9 for now

Hopefully we'll get it there soon.
This commit is contained in:
Colin Walters 2023-12-04 13:35:36 -05:00
parent b76796dd21
commit a44ed04ae3
1 changed files with 10 additions and 1 deletions

View File

@ -4,6 +4,11 @@
%else
%bcond_without tests
%endif
%if 0%{?rhel} < 10
%bcond_with composefs
%else
%bcond_without composefs
%endif
Summary: Tool for managing bootable, immutable filesystem trees
Name: ostree
@ -46,7 +51,9 @@ BuildRequires: pkgconfig(libsystemd)
BuildRequires: /usr/bin/g-ir-scanner
BuildRequires: dracut
BuildRequires: bison
%if %{with composefs}
BuildRequires: pkgconfig(composefs)
%endif
# Runtime requirements
Requires: dracut
@ -55,7 +62,9 @@ Requires: systemd-units
Requires: %{name}-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
# Strictly speaking, this is not a current hard requirement, but it will
# be in the future.
%if %{with composefs}
Requires: composefs
%endif
%description
libostree is a shared library designed primarily for
@ -110,7 +119,7 @@ env NOCONFIGURE=1 ./autogen.sh
--with-selinux \
--with-curl \
--with-openssl \
--with-composefs \
%{?with_composefs:--with-composefs} \
%{?with_tests:--with-soup3} \
%{?with_tests:--enable-installed-tests=exclusive} \
--with-dracut=yesbutnoconf