rpms/rubygem-actionpack/F-13 rubygem-actionpack.spec,1.16,1.17

Mamoru Tasaka mtasaka at fedoraproject.org
Mon May 17 07:27:22 UTC 2010


Author: mtasaka

Update of /cvs/extras/rpms/rubygem-actionpack/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv393/F-13

Modified Files:
	rubygem-actionpack.spec 
Log Message:
* Mon May 17 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1:2.3.5-2
- Set TMPDIR environment at %check to make it sure all files created
  during rpmbuild are cleaned up



Index: rubygem-actionpack.spec
===================================================================
RCS file: /cvs/extras/rpms/rubygem-actionpack/F-13/rubygem-actionpack.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -r1.16 -r1.17
--- rubygem-actionpack.spec	3 Feb 2010 19:30:22 -0000	1.16
+++ rubygem-actionpack.spec	17 May 2010 07:27:18 -0000	1.17
@@ -10,7 +10,7 @@ Summary: Web-flow and rendering framewor
 Name: rubygem-%{gemname}
 Epoch: 1
 Version: 2.3.5
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://www.rubyonrails.org
@@ -92,6 +92,11 @@ cp -a .%{gemdir}/* %{buildroot}%{gemdir}
 rm -rf %{buildroot}
 
 %check
+# Don't pollute /tmp, it won't be cleaned up after build
+rm -rf ./tmpdir
+mkdir ./tmpdir
+export TMPDIR=$(pwd)/tmpdir
+
 pushd .%{geminstdir}
 
 # dependency loop
@@ -119,6 +124,10 @@ rake test --trace
 
 
 %changelog
+* Mon May 17 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1:2.3.5-2
+- Set TMPDIR environment at %%check to make it sure all files created
+  during rpmbuild are cleaned up
+
 * Thu Jan 28 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1:2.3.5-1
 - Update to 2.3.5
 



More information about the scm-commits mailing list