... and fix parallel build ...

This commit is contained in:
Petr Machata 2007-10-08 18:35:16 +00:00
parent 86b4c4e22e
commit 6eaf4f9fc8
2 changed files with 15 additions and 1 deletions

11
ltrace-0.5-build.patch Normal file
View File

@ -0,0 +1,11 @@
diff -Burp ltrace-0.5/Makefile.in ltrace-0.5-pm/Makefile.in
--- ltrace-0.5/Makefile.in 2007-10-08 20:28:35.000000000 +0200
+++ ltrace-0.5-pm/Makefile.in 2007-10-08 20:27:07.000000000 +0200
@@ -34,6 +34,7 @@ VERSION = @PACKAGE_VERSION@
all: ltrace
+$(OBJ): | sysdeps/sysdep.o
ltrace: sysdeps/sysdep.o $(OBJ)
$(CC) $(LDFLAGS) $^ $(LIBS) -o $@

View File

@ -28,6 +28,7 @@ Patch10: ltrace-0.5-exec.patch
Patch11: ltrace-0.5-exec-tests.patch
Patch12: ltrace-0.5-man.patch
Patch13: ltrace-0.5-ia64-sigill.patch
Patch14: ltrace-0.5-build.patch
%description
Ltrace is a debugging program which runs a specified command until the
@ -55,6 +56,7 @@ execution of processes.
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
sed -i -e 's/-o root -g root//' Makefile.in
%build
@ -87,7 +89,8 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Sep 12 2007 Petr Machata <pmachata@redhat.com> - 0.5-9.45svn
- cleanup spec
- Cleanup spec.
- Fix parallel make bug in Makefile.
- resolves: #226109
* Thu Aug 16 2007 Petr Machata <pmachata@redhat.com> - 0.5-8.45svn