}
else if (strcmp(name, "notes") == 0) {
Py_INCREF(self->notes);
+--- mod_python-3.3.1/src/requestobject.c~ 2006-12-03 05:36:37.000000000 +0100
++++ mod_python-3.3.1/src/requestobject.c 2013-06-21 00:41:47.635302626 +0200
+@@ -1230,7 +1230,12 @@
+ follow requires, e.g. "requires role terminator".
+ */
+
+- const apr_array_header_t *reqs_arr = ap_requires(self->request_rec);
++ const apr_array_header_t *reqs_arr =
++#if AP_SERVER_MAJORVERSION_NUMBER > 2 || AP_SERVER_MINORVERSION_NUMBER >= 3
++ NULL;
++#else
++ ap_requires(self->request_rec);
++#endif
+ require_line *reqs;
+ int i, ti = 0;
+
%define mod_name python
-%define apxs /usr/sbin/apxs
+%define apxs /usr/sbin/apxs
Summary: An embedded Python interpreter for the Apache Web server
Summary(cs.UTF-8): Vestavěný interpret Pythonu pro WWW server Apache
Summary(da.UTF-8): En indbygget Python-fortolker for webtjeneren Apache
Summary(sv.UTF-8): En inbyggd Python-interpretator för webbservern Apache
Name: apache-mod_%{mod_name}
Version: 3.3.1
-Release: 19
+Release: 20
License: Apache
Group: Networking/Daemons/HTTP
Source0: http://www.apache.org/dist/httpd/modpython/mod_%{mod_name}-%{version}.tgz