packages (builder): test/test.spec - test builder build dir macro

glen glen at pld-linux.org
Sat Mar 24 01:48:32 CET 2012


Author: glen                         Date: Sat Mar 24 00:48:32 2012 GMT
Module: packages                      Tag: builder
---- Log message:
- test builder build dir macro

---- Files affected:
packages/test:
   test.spec (1.16.4.66.2.1.2.7.2.20.4.4 -> 1.16.4.66.2.1.2.7.2.20.4.5) 

---- Diffs:

================================================================
Index: packages/test/test.spec
diff -u packages/test/test.spec:1.16.4.66.2.1.2.7.2.20.4.4 packages/test/test.spec:1.16.4.66.2.1.2.7.2.20.4.5
--- packages/test/test.spec:1.16.4.66.2.1.2.7.2.20.4.4	Tue Mar 20 17:04:20 2012
+++ packages/test/test.spec	Sat Mar 24 01:48:26 2012
@@ -1,14 +1,11 @@
 # $Revision$, $Date$
-%define		plugin configmanager
-Summary:	testing something
+Summary:	testing builder
 Name:		builder
 Version:	1
 Release:	0.1
 License:	GPL
 Group:		Applications/System
 URL:		http://www.pld-linux.org/
-Source0:	https://swfupload.googlecode.com/files/SWFUpload%20v%{version}%20Core.zip
-# Source0-md5:	1bf14f5a7a9a3ecc529378ee50f0c59b
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -16,16 +13,16 @@
 
 %prep
 %setup -qcT
+install -d a-dir
 
 %install
 install -d $RPM_BUILD_ROOT
-install a $RPM_BUILD_ROOT
+ls -ld %{_builddir}/%{name}-%{version}/a-dir
 
 %clean
 
 %files
 %defattr(644,root,root,755)
-/a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -33,11 +30,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.16.4.66.2.1.2.7.2.20.4.4  2012/03/20 16:04:20  glen
-- bla
-
-Revision 1.16.4.66.2.1.2.7.2.20.4.3  2012/01/11 13:00:21  glen
-- test with %20 in url
+Revision 1.16.4.66.2.1.2.7.2.20.4.5  2012/03/24 00:48:26  glen
+- test builder build dir macro
 
 Revision 1.16.4.66.2.1.2.7.2.20.4.2  2011/10/28 09:56:22  glen
 - problem with normal source instead
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/test/test.spec?r1=1.16.4.66.2.1.2.7.2.20.4.4&r2=1.16.4.66.2.1.2.7.2.20.4.5



More information about the pld-cvs-commit mailing list