[colord] Do not build the profiles in parallel, backported from upstream

Richard Hughes rhughes at fedoraproject.org
Mon Jan 14 11:05:41 UTC 2013


commit 752bd3136798d904dc24506da94fc033aa35b2db
Author: Richard Hughes <richard at hughsie.com>
Date:   Mon Jan 14 09:45:58 2013 +0000

    Do not build the profiles in parallel, backported from upstream

 colord.spec       |    4 ++++
 notparallel.patch |   10 ++++++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/colord.spec b/colord.spec
index ec03a26..89c2078 100644
--- a/colord.spec
+++ b/colord.spec
@@ -11,6 +11,9 @@ License:   GPLv2+ and LGPLv2+
 URL:       http://www.freedesktop.org/software/colord/
 Source0:   http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
 
+# backport from upstream -- only build one profile at a time
+Patch0:    notparallel.patch
+
 BuildRequires: dbus-devel
 BuildRequires: docbook-utils
 BuildRequires: gettext
@@ -83,6 +86,7 @@ This may be useful for CMYK soft-proofing or for extra device support.
 
 %prep
 %setup -q
+%patch0 -p1 -b .notparallel
 
 %build
 # we can't use _hardened_build here, see
diff --git a/notparallel.patch b/notparallel.patch
new file mode 100644
index 0000000..9780a1b
--- /dev/null
+++ b/notparallel.patch
@@ -0,0 +1,10 @@
+diff --git a/data/profiles/Makefile.am b/data/profiles/Makefile.am
+index fd442fe..d82bd93 100644
+--- a/data/profiles/Makefile.am
++++ b/data/profiles/Makefile.am
+@@ -1,3 +1,5 @@
++.NOTPARALLEL:
++
+ profilesdir = $(datadir)/color/icc/colord
+ generatedprofiles =					\
+ 	AdobeRGB1998.icc				\


More information about the scm-commits mailing list