Changes of Revision 19
[-] | Changed | nginx.spec |
x 1
2 # syslog patch, use syslog instead of nginx logfiles 3 #Patch2: nginx-syslog.patch 4 #Patch3: nginx-unix-sockets.diff 5 +Patch4: nginx-versiontilt.patch 6 7 %description 8 Nginx [engine x] is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 9
10 %patch1 -p0 11 #%patch2 -p1 12 # %patch3 -p1 13 +%patch4 -p1 14 %{__tar} zxvf %{SOURCE5} 15 %{__tar} zxvf %{SOURCE9} 16 17 |
||
[+] | Added | nginx-versiontilt.patch ^ |
@@ -0,0 +1,13 @@ +--- nginx-1.2.0/src/core/nginx.h 2012-04-23 14:54:14.000000000 +0200 ++++ nginx-1.2.0/src/core/nginx.h~ 2012-04-25 16:20:55.000000000 +0200 +@@ -10,8 +10,8 @@ + + + #define nginx_version 1002000 +-#define NGINX_VERSION "1.2.0" +-#define NGINX_VER "nginx/" NGINX_VERSION ++#define NGINX_VERSION "0.0" ++#define NGINX_VER "/" NGINX_VERSION + + #define NGINX_VAR "NGINX" + #define NGX_OLDPID_EXT ".oldbin" |