SPECS (AC-branch): test.spec - add remove /etc/shells lua tests

glen glen at pld-linux.org
Sun Feb 10 13:43:39 CET 2008


Author: glen                         Date: Sun Feb 10 12:43:39 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- add remove /etc/shells lua tests

---- Files affected:
SPECS:
   test.spec (1.16.4.70 -> 1.16.4.71) 

---- Diffs:

================================================================
Index: SPECS/test.spec
diff -u SPECS/test.spec:1.16.4.70 SPECS/test.spec:1.16.4.71
--- SPECS/test.spec:1.16.4.70	Sun Feb 10 12:18:05 2008
+++ SPECS/test.spec	Sun Feb 10 13:43:34 2008
@@ -1,12 +1,14 @@
 # $Revision$, $Date$
-Summary:	testing
-Name:		devtest
-Version:	0.1
+Summary:	test
+Name:		luatest
+Version:	1
 Release:	0.1
 License:	GPL
 Group:		Applications/System
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_shell			/bin/posh
+
 %description
 This package should be never installed.
 
@@ -18,12 +20,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/dev
-touch $RPM_BUILD_ROOT/dev/testfile
+
+%post	-p %add_etc_shells -p /bin/posh
+%preun	-p %remove_etc_shells -p /bin/posh
 
 %files
 %defattr(644,root,root,755)
-/dev/testfile
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -31,8 +33,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.16.4.70  2008-02-10 11:18:05  glen
-- /dev test
+Revision 1.16.4.71  2008-02-10 12:43:34  glen
+- add remove /etc/shells lua tests
 
 Revision 1.16.4.69  2007-11-28 00:34:24  glen
 - testing builder
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/test.spec?r1=1.16.4.70&r2=1.16.4.71&f=u



More information about the pld-cvs-commit mailing list