Browse Source

pam: fix %post script

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3901 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 13 years ago
parent
commit
3c903c3fc5
1 changed files with 5 additions and 2 deletions
  1. 5 2
      p/pam/pam-vl.spec

+ 5 - 2
p/pam/pam-vl.spec

@@ -6,7 +6,7 @@ Summary: A security tool which provides authentication for applications
 Summary(ja): アプリケーションに認証の仕組みを提供するセキュリティツール
 Name: pam
 Version: 1.1.1
-Release: 6%{?_dist_release}
+Release: 7%{?_dist_release}
 # The library is BSD licensed with option to relicense as GPLv2+ - this option is redundant
 # as the BSD license allows that anyway. pam_timestamp and pam_console modules are GPLv2+
 License: BSD and GPLv2+
@@ -293,7 +293,7 @@ rm -rf $RPM_BUILD_ROOT
 os.execute("/sbin/ldconfig")
 list = {"faillog", "tallylog"}
 for i, f in pairs(list) do
-  fname = "/var/log"..f
+  fname = "/var/log/"..f
   if not posix.access(fname, "r") then
     f = io.open(fname, "w")
     f:close()
@@ -506,6 +506,9 @@ end
 
 
 %changelog
+* Tue May 17 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.1-7
+- fix %%post script bug..
+
 * Thu May 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.1-6
 - use lua in %%post scriptlet
   - remove coreutils from R(post)