From 00a1875a84c18e5feea1fe7293d52338f41b36f4 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 18 Feb 2007 22:55:21 +0000 Subject: [PATCH] 2007-02-18 Roland McGrath * strace.spec (Summary): Remove trailing period. (%files): Add %doc files. (%changelog): Double %s in text. (BuildRoot): Change to Fedora canonical. (%install): Don't use %makeinstall macro. --- strace.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/strace.spec b/strace.spec index ab9f558d..4937b24f 100644 --- a/strace.spec +++ b/strace.spec @@ -1,4 +1,4 @@ -Summary: Tracks and displays system calls associated with a running process. +Summary: Tracks and displays system calls associated with a running process Name: strace Version: 4.5.15 Release: 1%{?dist} @@ -6,7 +6,7 @@ License: BSD Group: Development/Debuggers URL: http://sourceforge.net/projects/strace/ Source0: http://dl.sourceforge.net/strace/%{name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-root +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %define strace64_arches ppc64 @@ -48,9 +48,7 @@ make %install rm -rf %{buildroot} -mkdir -p %{buildroot}%{_mandir}/man1 -mkdir -p %{buildroot}%{_bindir} -%makeinstall man1dir=%{buildroot}%{_mandir}/man1 +make DESTDIR=%{buildroot} install # remove unpackaged files from the buildroot rm -f %{buildroot}%{_bindir}/strace-graph @@ -64,6 +62,7 @@ rm -rf %{buildroot} %files %defattr(-,root,root) +%doc CREDITS ChangeLog COPYRIGHT NEWS PORTING README %{_bindir}/strace %{_mandir}/man1/* @@ -372,7 +371,7 @@ rm -rf %{buildroot} - strace 3.1 patches carried along for now. * Sun May 16 1999 Jeff Johnson -- don't rely on (broken!) rpm %patch (#2735) +- don't rely on (broken!) rpm %%patch (#2735) * Tue Apr 06 1999 Preston Brown - strip binary