if (rc)
goto errxit;
---- rpm-5.4.10/rpmio/rpmio.c.dl_error~ 2012-07-06 17:39:19.000000000 +0200
-+++ rpm-5.4.10/rpmio/rpmio.c 2012-07-11 19:47:59.396732322 +0200
-@@ -2306,9 +2306,12 @@ fprintf(stderr, "*** ufdOpen(%s,0x%x,0%o
- u->openError = httpReq(fd, cmd, path);
- #endif
- if (u->openError < 0) {
-+ /* XXX rpmdav doesn't behave consistently with the rest...*/
-+#ifndef WITH_NEON
- /* XXX make sure that we can exit through ufdClose */
-- fd = fdLink(fd, "error ctrl (ufdOpen HTTP)");
-- fd = fdLink(fd, "error data (ufdOpen HTTP)");
-+ fd = u->ctrl = fdLink(fd, "error ctrl (ufdOpen HTTP)");
-+ fd = u->data = fdLink(fd, "error data (ufdOpen HTTP)");
-+#endif
- } else {
- fd->bytesRemain = ((!strcmp(cmd, "GET"))
- ? fd->contentLength : -1);
%patch1034 -p1
%patch1035 -p1
%patch1036 -p1
-#patch1037 -p1
+%patch1037 -p1
%patch1038 -p1
%patch1039 -p1
%patch1040 -p1
--with-bugreport="http://bugs.pld-linux.org/" \
--with-vendor=pld
-#if %{without neon}
-#{__mv} tests/probes-test-1-0.src.rpm{,-no-neon}
-#{__mv} tests/triggers-D-1.0-1.src.rpm{,-no-neon}
-#endif
-
%{__make} -j1 \
CC="%{__cc}" \
CXX="%{__cxx}" \