[time] Clean spec file
Petr Pisar
ppisar at fedoraproject.org
Wed May 11 16:08:32 UTC 2011
commit 2381523f5f6197b984cf774f2f4503c633482a8d
Author: Petr Písař <ppisar at redhat.com>
Date: Wed May 11 15:33:36 2011 +0200
Clean spec file
time.spec | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/time.spec b/time.spec
index 133738f..b0b149b 100644
--- a/time.spec
+++ b/time.spec
@@ -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 at redhat.com> - 1.7-39
- Fix maximal RSS report (bug #702826)
+- Clean spec file
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7-38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list