diff --git a/ncdu.spec b/ncdu.spec index 6d16767..826a757 100644 --- a/ncdu.spec +++ b/ncdu.spec @@ -1,10 +1,9 @@ +# vim: set sw=4 ts=4 et: # # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# norootforbuild - Name: ncdu Version: 1.8 Release: 1 @@ -21,30 +20,23 @@ ncdu (NCurses Disk Usage) is a curses-based version of the well-known 'du', and provides a fast way to see what directories are using your disk space. -Authors: --------- - Yoran Heling - - - %prep %setup -q %build %configure -%__make %{?jobs:-j%jobs} +%__make %{?_smp_flags} %install %makeinstall %clean -[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}" +%{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root,0755) %doc ChangeLog README COPYING -%doc %{_mandir}/man1/%{name}.1.gz +%doc %{_mandir}/man1/%{name}.1* %{_bindir}/%{name} %changelog -# vim: set sw=4 ts=4 et: