test: test-lua.spec (NEW) - testing lua

glen glen at pld-linux.org
Fri Sep 16 23:11:26 CEST 2005


Author: glen                         Date: Fri Sep 16 21:11:25 2005 GMT
Module: test                          Tag: HEAD
---- Log message:
- testing lua

---- Files affected:
test:
   test-lua.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: test/test-lua.spec
diff -u /dev/null test/test-lua.spec:1.1
--- /dev/null	Fri Sep 16 23:11:25 2005
+++ test/test-lua.spec	Fri Sep 16 23:11:20 2005
@@ -0,0 +1,51 @@
+# $Revision$, $Date$
+Summary:	lua test
+Name:		test-php
+Version:	5.0.5
+Release:	5.7
+License:	test
+Group:		Libraries
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+testing
+
+%install
+install -d $RPM_BUILD_ROOT/foo
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%triggerpostun -p <lua> --- foo > 1
+d = posix.stat("/%{_lib}/%{_host_cpu}")
+if d ~= nil and d.type == 'directory' then 
+
+s.rename("/%{_lib}/%{_host_cpu}","/%{_lib}/%{_host_cpu}.rpmsave")
+end
+f = posix.fork()
+if f == 0 then
+       posix.exec("/sbin/ldconfig", "/%{_lib}", "%{_prefix}/%{_lib}")
+end
+if f ~= -1 then
+       posix.wait(f)
+end
+f = posix.fork()
+if f == 0 then
+       posix.exec("/sbin/telinit","u")
+end
+if f ~= -1 then
+       posix.wait(f)
+end
+
+%files
+%defattr(644,root,root,755)
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/09/16 21:11:20  glen
+- testing lua
+
================================================================



More information about the pld-cvs-commit mailing list