|
|
|
@ -13,11 +13,11 @@ BuildRequires: libuuid-devel
|
|
|
|
|
BuildRequires: libwebsockets-devel
|
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
|
BuildRequires: uthash-devel
|
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
|
BuildRequires: tcp_wrappers-libs
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: uthash-devel
|
|
|
|
|
#BuildRequires: uthash-devel
|
|
|
|
|
Provides: bundled(uthash)
|
|
|
|
|
|
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
|
Requires(post): systemd
|
|
|
|
@ -53,7 +53,7 @@ export CFLAGS="%{optflags} -std=gnu99"
|
|
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
|
%endif
|
|
|
|
|
export LDFLAGS="%{optflags} %{__global_ldflags} -Wl,--as-needed"
|
|
|
|
|
make all %{?_smp_mflags} WITH_WEBSOCKETS=yes WITH_SYSTEMD=yes WITH_BUNDLED_DEPS=no
|
|
|
|
|
make all %{?_smp_mflags} WITH_WEBSOCKETS=yes WITH_SYSTEMD=yes
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%if "%{_lib}" == "lib64"
|
|
|
|
|