Add missing path to header files

This makes the package build in rawhide
This commit is contained in:
Jakub Jelen 2018-04-03 14:45:27 +02:00
parent fef84e86e6
commit ad5af2005f
2 changed files with 13 additions and 0 deletions

10
uwsgi-2.0.16-glfs.patch Normal file
View File

@ -0,0 +1,10 @@
diff -up uwsgi-2.0.16/plugins/glusterfs/glusterfs.c.glfs uwsgi-2.0.16/plugins/glusterfs/glusterfs.c
--- uwsgi-2.0.16/plugins/glusterfs/glusterfs.c.glfs 2018-04-03 14:35:48.099323330 +0200
+++ uwsgi-2.0.16/plugins/glusterfs/glusterfs.c 2018-04-03 14:35:07.573068567 +0200
@@ -1,5 +1,5 @@
#include <uwsgi.h>
-#include <api/glfs.h>
+#include <glusterfs/api/glfs.h>
extern struct uwsgi_server uwsgi;

View File

@ -146,6 +146,8 @@ Patch6: uwsgi_v8-314_compatibility.patch
Patch7: uwsgi_fix_mono.patch
# https://github.com/unbit/uwsgi/pull/1768
Patch8: uwsgi-2.0.16-strict.patch
# https://github.com/unbit/uwsgi/pull/1772
Patch9: uwsgi-2.0.16-glfs.patch
BuildRequires: curl, python2-devel, libxml2-devel, libuuid-devel, jansson-devel
BuildRequires: libyaml-devel, ruby-devel
%if %{with tcp_wrappers}
@ -1146,6 +1148,7 @@ echo "plugin_dir = %{_libdir}/%{name}" >> buildconf/$(basename %{SOURCE1})
%patch7 -p1
%endif
%patch8 -p1 -b .strict
%patch9 -p1 -b .glfs
#disable plug-ins
%if %{without mongodblibs}