Clean spec file

This commit is contained in:
Petr Písař 2011-05-11 15:33:36 +02:00
parent fc28ded7a9
commit 2381523f5f

View File

@ -9,7 +9,6 @@ Source: ftp://prep.ai.mit.edu/pub/gnu/%{name}/%{name}-%{version}.tar.gz
Patch0: time-1.7-destdir.patch
Patch1: time-1.7-verbose.patch
Patch2: time-1.7-ru_maxrss-is-in-kilobytes-on-Linux.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
@ -30,12 +29,8 @@ echo "ac_cv_func_wait3=\${ac_cv_func_wait3='yes'}" >> config.cache
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf %{buildroot}
%post
/sbin/install-info %{_infodir}/time.info.gz %{_infodir}/dir \
--entry="* time: (time). GNU time Utility" >/dev/null 2>&1 || :
@ -47,7 +42,6 @@ if [ "$1" = 0 ]; then
fi
%files
%defattr(-,root,root,-)
%doc NEWS README COPYING
%{_bindir}/time
%{_infodir}/time.info*
@ -55,6 +49,7 @@ fi
%changelog
* Wed May 11 2011 Petr Pisar <ppisar@redhat.com> - 1.7-39
- Fix maximal RSS report (bug #702826)
- Clean spec file
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild