[prwd/el6] Add EPEL support
Christopher Meng
cicku at fedoraproject.org
Wed May 29 04:39:28 UTC 2013
commit d51ea7864284fb9bdf0704798af411b1d6a99697
Author: Christopher Meng <rpm at cicku.me>
Date: Wed May 29 12:24:04 2013 +0800
Add EPEL support
prwd.spec | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/prwd.spec b/prwd.spec
index a531725..763d8f9 100644
--- a/prwd.spec
+++ b/prwd.spec
@@ -6,6 +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
%description
Most shells read $PS1 differently and have a very rigid way to display
@@ -22,12 +23,14 @@ a project handled by git or mercurial.
make %{?_smp_mflags}
%install
+rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%check
make test
%files
+%defattr(-,root,root)
%doc AUTHORS ChangeLog LICENSE prwdrc.example
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
More information about the scm-commits
mailing list