test: test-ghost.spec (NEW) - testing what happens if ghosted file...

glen glen at pld-linux.org
Sun Mar 26 13:55:59 CEST 2006


Author: glen                         Date: Sun Mar 26 11:55:59 2006 GMT
Module: test                          Tag: HEAD
---- Log message:
- testing what happens if ghosted file is no longer packaged

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

---- Diffs:

================================================================
Index: test/test-ghost.spec
diff -u /dev/null test/test-ghost.spec:1.1
--- /dev/null	Sun Mar 26 13:55:59 2006
+++ test/test-ghost.spec	Sun Mar 26 13:55:54 2006
@@ -0,0 +1,39 @@
+# $Revision$, $Date$
+%bcond_without	ghost	# don't package ghost file
+Summary:	%ghost test
+Name:		test-ghost
+Version:	5.0.5
+Release:	5.7
+License:	test
+Group:		Libraries
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		testfile /bla
+
+%description
+testing
+
+%install
+install -d $RPM_BUILD_ROOT%{testfile}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%if %{with ghost}
+%post
+touch %{testfile}
+%endif
+
+%files
+%defattr(644,root,root,755)
+%{?with_ghost:%ghost %{testfile}}
+
+%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  2006/03/26 11:55:54  glen
+- testing what happens if ghosted file is no longer packaged
+
================================================================


More information about the pld-cvs-commit mailing list