Prechádzať zdrojové kódy

new upstream release
※コミット忘れ

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@7137 ec354946-7b23-47d6-9f5a-488ba84defc7

miyabi 12 rokov pred
rodič
commit
f7799d96cf
1 zmenil súbory, kde vykonal 8 pridanie a 3 odobranie
  1. 8 3
      s/squid/squid-vl.spec

+ 8 - 3
s/squid/squid-vl.spec

@@ -1,7 +1,9 @@
 %define         base_name       squid
 %define         pkg_epoch       7
-%define         pkg_version     3.1.16
+%define         pkg_version     3.1.20
 %define         pkg_release     1%{?_dist_release}
+%define         uid             23
+%define         gid             23
 
 Summary:        The Squid proxy caching server
 Summary(ja):    Squid ウェブプロキシキャッシュ
@@ -151,11 +153,11 @@ rm -f ${RPM_BUILD_ROOT}/%{base_name}.httpd.tmp
 
 %pre
 if ! getent group %{base_name} >/dev/null 2>&1; then
-  /usr/sbin/groupadd -g 23 %{base_name}
+  /usr/sbin/groupadd -g %{gid} %{base_name}
 fi
 
 if ! getent passwd %{base_name} >/dev/null 2>&1 ; then
-  /usr/sbin/useradd -g 23 -u 23 -d %{_localstatedir}/cache/%{base_name} -r -s /sbin/nologin %{base_name} >/dev/null 2>&1 || exit 1 
+  /usr/sbin/useradd -g %{gid} -u %{uid} -d %{_localstatedir}/cache/%{base_name} -r -s /sbin/nologin %{base_name} >/dev/null 2>&1 || exit 1 
 fi
 
 for i in %{_localstatedir}/log/%{base_name} %{_localstatedir}/cache/%{base_name} ; do
@@ -261,6 +263,9 @@ fi
 %{_sysconfdir}/%{base_name}/%{base_name}.conf.documented
 
 %changelog
+* Thu Aug 23 2012 Masahiro INOUE <miyabi.-.inoue@nifty.com> 3.1.20-1
+- new upstream release
+
 * Mon Oct 17 2011 Masahiro INOUE <miyabi.-.inoue@nifty.com> 3.1.16-1
 - new upstream release
 - add BuildRequires - libcap-devel