Only enable ws starting with EL9
This commit is contained in:
parent
a17ebac507
commit
1e86605b62
|
@ -16,7 +16,9 @@ BuildRequires: gcc
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
%if 0%{?rhel} >= 9
|
||||||
BuildRequires: libwebsockets-devel
|
BuildRequires: libwebsockets-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
BuildRequires: pkgconfig(fuse)
|
BuildRequires: pkgconfig(fuse)
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
|
@ -58,7 +60,12 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
%configure --disable-static PYTHON=%{__python3}
|
%configure \
|
||||||
|
--disable-static \
|
||||||
|
%if 0%{?rhel} < 9
|
||||||
|
--disable-ws \
|
||||||
|
%endif
|
||||||
|
PYTHON=%{__python3}
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user