--- /dev/null
+--- webserver-1.2.104/configure.ac~ 2014-04-01 19:12:48.000000000 +0200
++++ webserver-1.2.104/configure.ac 2023-02-03 06:49:13.443165591 +0100
+@@ -197,7 +197,6 @@ LIBTOOL_EXPORT_OPTIONS=
+ AC_SUBST(LIBTOOL_EXPORT_OPTIONS)
+
+ dnl Set the Version
+-AM_INIT_AUTOMAKE
+ AM_MAINTAINER_MODE
+
+ AC_CONFIG_HEADERS(config.h)
Summary(pl.UTF-8): Cherokee - serwer WWW
Name: cherokee
Version: 1.2.104
-Release: 3
+Release: 4
License: GPL v2
Group: Networking/Daemons
Source0: https://github.com/cherokee/webserver/archive/v%{version}.zip
Patch2: ffmpeg0.11.patch
Patch3: time_t_x32.patch
Patch4: openssl.patch
+Patch5: build.patch
URL: http://www.cherokee-project.com/
%{?with_geoip:BuildRequires: GeoIP-devel}
BuildRequires: autoconf
#%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python2(\s|$),#!%{__python}\1,' -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' \
admin/CTK/CTK-run.pre \