From 6eaf4f9fc8417c17de774ff9708caee3a426d3c9 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Mon, 8 Oct 2007 18:35:16 +0000 Subject: [PATCH] ... and fix parallel build ... --- ltrace-0.5-build.patch | 11 +++++++++++ ltrace.spec | 5 ++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 ltrace-0.5-build.patch diff --git a/ltrace-0.5-build.patch b/ltrace-0.5-build.patch new file mode 100644 index 0000000..d6d9c21 --- /dev/null +++ b/ltrace-0.5-build.patch @@ -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 $@ + diff --git a/ltrace.spec b/ltrace.spec index f0aa29f..b9b1bc9 100644 --- a/ltrace.spec +++ b/ltrace.spec @@ -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 - 0.5-9.45svn -- cleanup spec +- Cleanup spec. +- Fix parallel make bug in Makefile. - resolves: #226109 * Thu Aug 16 2007 Petr Machata - 0.5-8.45svn