--- /dev/null
+--- nginx-0.7.61/auto/os/linux.old 2009-06-28 16:31:31.000000000 +0200
++++ nginx-0.7.61/auto/os/linux 2009-06-28 16:32:08.000000000 +0200
+@@ -18,7 +18,7 @@ CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURC
+ # Linux kernel version
+
+ version=$((`uname -r \
+- | sed 's/^\([^.]*\)\.\([^.]*\)\.\([^.-]*\).*/\1*256*256+\2*256+\3/'`))
++ | sed 's/^\([^.]*\)\.\([^.]*\)\.\([^._]*\).*/\1*256*256+\2*256+\3/'`))
+
+ version=${version:-0}
+
Summary: High perfomance HTTP and reverse proxy server
Summary(pl.UTF-8): Serwer HTTP i odwrotne proxy o wysokiej wydajności
Name: nginx
-Version: 0.7.59
+Version: 0.7.61
Release: 1
License: BSD-like
Group: Networking/Daemons/HTTP
Source0: http://sysoev.ru/nginx/%{name}-%{version}.tar.gz
-# Source0-md5: d981b03b4c3ba43de580553355608b63
+# Source0-md5: 6ebf89b9b00a3b82734e93c32da7df07
Source1: http://www.nginx.eu/favicon.ico
# Source1-md5: 2aaf2115c752cbdbfb8a2f0b3c3189ab
Source2: http://www.nginx.eu/download/proxy.conf
Source15: %{name}-standard.monitrc
Source16: %{name}-standard.init
Source17: %{name}-mime.types.sh
+Patch0: %{name}-uname.patch
URL: http://nginx.net/
BuildRequires: mailcap
BuildRequires: openssl-devel
%prep
%setup -q
+%patch0 -p1
# build mime.types.conf
#sh %{SOURCE17} /etc/mime.types