[nginx] Fix %pre scriptlet
Jamie Nguyen
jamielinux at fedoraproject.org
Sun Mar 4 16:24:17 UTC 2012
commit a28f6d63b26b3d044f013acf34c60611dcc6f919
Author: Jamie Nguyen <jamie at tomoyolinux.co.uk>
Date: Sun Mar 4 16:22:43 2012 +0000
Fix %pre scriptlet
nginx.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/nginx.spec b/nginx.spec
index 798cd28..68a7438 100644
--- a/nginx.spec
+++ b/nginx.spec
@@ -10,7 +10,7 @@
Name: nginx
Epoch: 1
Version: 1.0.12
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A high performance web server and reverse proxy server
Group: System Environment/Daemons
@@ -148,7 +148,7 @@ install -p -m 0644 %{SOURCE103} %{SOURCE104} \
if [ $1 -eq 1 ]; then
getent group %{nginx_group} > /dev/null || groupadd -r %{nginx_group}
getent passwd %{nginx_user} > /dev/null || \
- useradd -r -d %{nginx_home} \
+ useradd -r -d %{nginx_home} -g %{nginx_group} \
-s /sbin/nologin -c "Nginx web server" %{nginx_user}
exit 0
fi
@@ -212,6 +212,9 @@ fi
%changelog
+* Sun Mar 04 2012 Jamie Nguyen <jamie at tomoyolinux.co.uk> 1:1.0.12-3
+- fix %%pre scriptlet
+
* Mon Feb 20 2012 Jamie Nguyen <jamie at tomoyolinux.co.uk> 1:1.0.12-2
- update upstream URL
- replace %%define with %%global
More information about the scm-commits
mailing list