SPECS: scponly.spec - comment syntax for lua

glen glen at pld-linux.org
Sat Nov 8 14:01:49 CET 2008


Author: glen                         Date: Sat Nov  8 13:01:49 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- comment syntax for lua

---- Files affected:
SPECS:
   scponly.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: SPECS/scponly.spec
diff -u SPECS/scponly.spec:1.18 SPECS/scponly.spec:1.19
--- SPECS/scponly.spec:1.18	Sat Nov  8 13:57:43 2008
+++ SPECS/scponly.spec	Sat Nov  8 14:01:43 2008
@@ -135,20 +135,20 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post	-p <lua>
-%lua_add_etc_shells %{_sbindir}/%{name}
+%lua_add_etc_shells %{_sbindir}/scponly
 
 %preun	-p <lua>
 if arg[2] == 0 then
-	%lua_remove_etc_shells %{_sbindir}/%{name}
+	%lua_remove_etc_shells %{_sbindir}/scponly
 end
 
 %post -p <lua> chroot
 %lua_add_etc_shells %{_sbindir}/scponlyc
 
-# build ld.so.ccache
+-- build ld.so.ccache
 os.execute("/sbin/ldconfig -X -r %{_datadir}")
 
-%preun  -p <lua> chroot
+%preun -p <lua> chroot
 if arg[2] == 0 then
 	%lua_remove_etc_shells %{_sbindir}/scponlyc
 end
@@ -161,7 +161,7 @@
 %doc AUTHOR CHANGELOG CONTRIB INSTALL README TODO
 %dir %{_sysconfdir}/%{name}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/debuglevel
-%attr(755,root,root) %{_sbindir}/%{name}
+%attr(755,root,root) %{_sbindir}/scponly
 %{_mandir}/man?/*
 # old compat symlink
 %attr(755,root,root) /bin/scponly
@@ -205,6 +205,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2008/11/08 13:01:43  glen
+- comment syntax for lua
+
 Revision 1.18  2008/11/08 12:57:43  glen
 - lua also for %post chroot
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/scponly.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list