File drop-vendor-sources.patch of Package python-hiredis
Index: hiredis-py-1.0.0/setup.py
===================================================================
--- hiredis-py-1.0.0.orig/setup.py
+++ hiredis-py-1.0.0/setup.py
@@ -11,8 +11,7 @@ def version():
return module.__version__
ext = Extension("hiredis.hiredis",
- sources=sorted(glob.glob("src/*.c") +
- ["vendor/hiredis/%s.c" % src for src in ("read", "sds")]),
+ sources=sorted(glob.glob("src/*.c")),
include_dirs=["vendor"],
extra_link_args=["-lhiredis"])