diff options
author | Mamoru Tasaka <mtasaka@fedoraproject.org> | 2010-05-17 07:27:19 +0000 |
---|---|---|
committer | Mamoru Tasaka <mtasaka@fedoraproject.org> | 2010-05-17 07:27:19 +0000 |
commit | c0987de9a0619a398c0c285114e09bb8d0683a03 (patch) | |
tree | 04073520bf8c93db8bb1b8482f026f8fe1d4bed8 | |
parent | f073f4b0e912463b32b0e485ad9b3dea8961489b (diff) | |
download | rubygem-actionpack-c0987de9a0619a398c0c285114e09bb8d0683a03.tar.gz rubygem-actionpack-c0987de9a0619a398c0c285114e09bb8d0683a03.tar.xz rubygem-actionpack-c0987de9a0619a398c0c285114e09bb8d0683a03.zip |
- Set TMPDIR environment at %check to make it sure all files created during
rpmbuild are cleaned up
-rw-r--r-- | rubygem-actionpack.spec | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/rubygem-actionpack.spec b/rubygem-actionpack.spec index 8215a6e..851cc49 100644 --- a/rubygem-actionpack.spec +++ b/rubygem-actionpack.spec @@ -10,7 +10,7 @@ Summary: Web-flow and rendering framework putting the VC in MVC 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@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@ioa.s.u-tokyo.ac.jp> - 1:2.3.5-1 - Update to 2.3.5 |