Fix accidental change in last revision
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=20
This commit is contained in:
parent
7e23e79c8f
commit
5cef53271a
12
uwsgi.spec
12
uwsgi.spec
@ -47,7 +47,7 @@ BuildRequires: erlang
|
||||
%endif
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gcc-objc
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1230
|
||||
%if 0%{?suse_version} > 1220
|
||||
BuildRequires: glusterfs-devel
|
||||
%endif
|
||||
#BuildRequires: go
|
||||
@ -220,7 +220,7 @@ This package contains support for Python Gevent, which is a non-blocking
|
||||
networking framework.
|
||||
|
||||
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1230
|
||||
%if 0%{?suse_version} > 1220
|
||||
%package glusterfs
|
||||
Summary: GlusterFS Plugin for uWSGI
|
||||
Group: Productivity/Networking/Web/Servers
|
||||
@ -466,17 +466,17 @@ excluded_plugins="$excluded_plugins v8"
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1210
|
||||
%if 0%{?suse_version} <= 1210
|
||||
# Requirements missing on openSUSE <= 12.1
|
||||
excluded_plugins="$excluded_plugins erlang fiber pyerl rack ruby19 systemd_logger"
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1230
|
||||
%if 0%{?suse_version} <= 1230
|
||||
# Requirements missing on openSUSE <= 12.3
|
||||
excluded_plugins="$excluded_plugins glusterfs"
|
||||
%endif
|
||||
|
||||
lugins=$(python -c "import sys, os; print ', '.join([p for p in os.listdir('plugins') if p not in sys.argv[1:]])" $excluded_plugins)
|
||||
plugins=$(python -c "import sys, os; print ', '.join([p for p in os.listdir('plugins') if p not in sys.argv[1:]])" $excluded_plugins)
|
||||
sed -e "s#@@LIBDIR@@#%{_libdir}#" -e "s#@@PLUGINS@@#$plugins#" %{SOURCE1} > buildconf/opensuse.ini
|
||||
|
||||
# README.openSUSE
|
||||
@ -627,7 +627,7 @@ install -D plugins/jvm/uwsgi.jar %{buildroot}%{_javadir}/uwsgi.jar
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/uwsgi/greenlet_plugin.so
|
||||
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1230
|
||||
%if 0%{?suse_version} <= 1230
|
||||
%files glusterfs
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/uwsgi/glusterfs_plugin.so
|
||||
|
Loading…
x
Reference in New Issue
Block a user