enable -plugin-psgi on EL7, but leave -plugin-coroae disabled for now
This commit is contained in:
parent
eda7982c79
commit
864a57ae9a
16
uwsgi.spec
16
uwsgi.spec
|
@ -69,7 +69,8 @@
|
||||||
%bcond_with tornado3
|
%bcond_with tornado3
|
||||||
# el6 ships with ruby 1.8 but fiberloop/rbthreads needs 1.9
|
# el6 ships with ruby 1.8 but fiberloop/rbthreads needs 1.9
|
||||||
%bcond_with ruby19
|
%bcond_with ruby19
|
||||||
# el7 doesn't have perl-PSGI
|
# el6 doesn't have perl-PSGI
|
||||||
|
# el6 does have perl-Coro
|
||||||
%bcond_with perl
|
%bcond_with perl
|
||||||
# this fails in el not sure why
|
# this fails in el not sure why
|
||||||
%bcond_with gridfs
|
%bcond_with gridfs
|
||||||
|
@ -95,8 +96,9 @@
|
||||||
%bcond_with zeromq
|
%bcond_with zeromq
|
||||||
# el7 doesn't have greenlet
|
# el7 doesn't have greenlet
|
||||||
%bcond_with greenlet
|
%bcond_with greenlet
|
||||||
|
# el7 does have perl-PSGI
|
||||||
# el7 doesn't have perl-Coro
|
# el7 doesn't have perl-Coro
|
||||||
%bcond_with perl
|
%bcond_without perl
|
||||||
# el7 can now build glusterfs but only on x86_64
|
# el7 can now build glusterfs but only on x86_64
|
||||||
%ifnarch x86_64
|
%ifnarch x86_64
|
||||||
%bcond_with glusterfs
|
%bcond_with glusterfs
|
||||||
|
@ -161,8 +163,10 @@ BuildRequires: openldap-devel, boost-devel
|
||||||
BuildRequires: libattr-devel, libxslt-devel
|
BuildRequires: libattr-devel, libxslt-devel
|
||||||
%if %{with perl}
|
%if %{with perl}
|
||||||
BuildRequires: perl-devel, perl-ExtUtils-Embed
|
BuildRequires: perl-devel, perl-ExtUtils-Embed
|
||||||
|
%if 0%{?fedora} >= 15
|
||||||
BuildRequires: perl-Coro
|
BuildRequires: perl-Coro
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
%if %{with zeromq}
|
%if %{with zeromq}
|
||||||
BuildRequires: zeromq-devel
|
BuildRequires: zeromq-devel
|
||||||
%endif
|
%endif
|
||||||
|
@ -522,6 +526,7 @@ Requires: perl-PSGI, %{name}-plugin-common = %{version}-%{release}
|
||||||
%description -n %{name}-plugin-psgi
|
%description -n %{name}-plugin-psgi
|
||||||
This package contains the PSGI plugin for uWSGI
|
This package contains the PSGI plugin for uWSGI
|
||||||
|
|
||||||
|
%if 0%{?fedora} >= 15
|
||||||
%package -n %{name}-plugin-coroae
|
%package -n %{name}-plugin-coroae
|
||||||
Summary: uWSGI - Plugin for PERL Coro support
|
Summary: uWSGI - Plugin for PERL Coro support
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
|
@ -530,6 +535,7 @@ Requires: %{name}-plugin-common = %{version}-%{release}, %{name}-plugin-psgi = %
|
||||||
%description -n %{name}-plugin-coroae
|
%description -n %{name}-plugin-coroae
|
||||||
This package contains the coroae plugin for uWSGI
|
This package contains the coroae plugin for uWSGI
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%package -n %{name}-plugin-cplusplus
|
%package -n %{name}-plugin-cplusplus
|
||||||
Summary: uWSGI - Plugin for C++ support
|
Summary: uWSGI - Plugin for C++ support
|
||||||
|
@ -1149,8 +1155,10 @@ CFLAGS="%{optflags} -Wno-unused-but-set-variable" python uwsgiconfig.py --plugin
|
||||||
CFLAGS="%{optflags} -Wno-unused-but-set-variable" python uwsgiconfig.py --plugin plugins/tuntap fedora
|
CFLAGS="%{optflags} -Wno-unused-but-set-variable" python uwsgiconfig.py --plugin plugins/tuntap fedora
|
||||||
%endif
|
%endif
|
||||||
%if %{with perl}
|
%if %{with perl}
|
||||||
CFLAGS="%{optflags} -Wno-unused-but-set-variable" python uwsgiconfig.py --plugin plugins/coroae fedora
|
|
||||||
CFLAGS="%{optflags} -Wno-unused-but-set-variable" python uwsgiconfig.py --plugin plugins/psgi fedora
|
CFLAGS="%{optflags} -Wno-unused-but-set-variable" python uwsgiconfig.py --plugin plugins/psgi fedora
|
||||||
|
%if 0%{?fedora} >= 15
|
||||||
|
CFLAGS="%{optflags} -Wno-unused-but-set-variable" python uwsgiconfig.py --plugin plugins/coroae fedora
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%if %{with zeromq}
|
%if %{with zeromq}
|
||||||
CFLAGS="%{optflags} -Wno-unused-but-set-variable" python uwsgiconfig.py --plugin plugins/logzmq fedora
|
CFLAGS="%{optflags} -Wno-unused-but-set-variable" python uwsgiconfig.py --plugin plugins/logzmq fedora
|
||||||
|
@ -1430,9 +1438,11 @@ fi
|
||||||
%files -n %{name}-plugin-psgi
|
%files -n %{name}-plugin-psgi
|
||||||
%{_libdir}/%{name}/psgi_plugin.so
|
%{_libdir}/%{name}/psgi_plugin.so
|
||||||
|
|
||||||
|
%if 0%{?fedora} >= 15
|
||||||
%files -n %{name}-plugin-coroae
|
%files -n %{name}-plugin-coroae
|
||||||
%{_libdir}/%{name}/coroae_plugin.so
|
%{_libdir}/%{name}/coroae_plugin.so
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n %{name}-plugin-cplusplus
|
%files -n %{name}-plugin-cplusplus
|
||||||
%{_libdir}/%{name}/cplusplus_plugin.so
|
%{_libdir}/%{name}/cplusplus_plugin.so
|
||||||
|
|
Loading…
Reference in New Issue