[prwd/el6] clean section fix.

Christopher Meng cicku at fedoraproject.org
Wed May 29 05:52:20 UTC 2013


commit 774740cceee9fb8e22afc6b1098a1172d7ca4994
Author: Christopher Meng <rpm at cicku.me>
Date:   Wed May 29 13:34:45 2013 +0800

    clean section fix.

 prwd.spec |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/prwd.spec b/prwd.spec
index 763d8f9..71445ba 100644
--- a/prwd.spec
+++ b/prwd.spec
@@ -6,7 +6,7 @@ License:      ISC
 
 URL:          http://tamentis.com/projects/prwd/
 Source0:      http://tamentis.com/projects/%{name}/files/%{name}-%{version}.tar.gz
-BuildRoot:         %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRoot:    %{_tmppath}/%{name}-%{version}-%{release}-root
 
 %description
 Most shells read $PS1 differently and have a very rigid way to display 
@@ -29,6 +29,9 @@ make install DESTDIR=%{buildroot}
 %check
 make test
 
+%clean
+rm -rf %{buildroot}
+
 %files
 %defattr(-,root,root)
 %doc AUTHORS ChangeLog LICENSE prwdrc.example


More information about the scm-commits mailing list