From: Jan Rękorajski Date: Fri, 20 Jan 2012 13:52:29 +0000 (+0000) Subject: - rel 2 X-Git-Tag: auto/th/nginx-1_0_11-2 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=99c7e9013682723efb2927d6d3c1370dc76c3d89;p=packages%2Fnginx.git - rel 2 - logrotate 3.8.0 requires "su" option for non-root owned dirs Changed files: nginx.logrotate -> 1.5 nginx.spec -> 1.111 --- diff --git a/nginx.logrotate b/nginx.logrotate index de1f30d..5ba567c 100644 --- a/nginx.logrotate +++ b/nginx.logrotate @@ -1,4 +1,5 @@ /var/log/nginx/*.log { + su nginx nginx olddir /var/log/archive/nginx create 644 nginx nginx sharedscripts diff --git a/nginx.spec b/nginx.spec index d2b6bcc..1891616 100644 --- a/nginx.spec +++ b/nginx.spec @@ -24,7 +24,7 @@ Summary: High perfomance HTTP and reverse proxy server Summary(pl.UTF-8): Serwer HTTP i odwrotne proxy o wysokiej wydajności Name: nginx Version: 1.0.11 -Release: 1 +Release: 2 License: BSD-like Group: Networking/Daemons/HTTP Source0: http://nginx.org/download/%{name}-%{version}.tar.gz @@ -74,7 +74,7 @@ Provides: group(http) Provides: group(nginx) Provides: user(nginx) Provides: webserver -Conflicts: logrotate < 3.7-4 +Conflicts: logrotate < 3.8.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _sysconfdir /etc/%{name}