Do not build the profiles in parallel, backported from upstream

This commit is contained in:
Richard Hughes 2013-01-14 09:45:58 +00:00
parent 14d5a36c8d
commit 752bd31367
2 changed files with 14 additions and 0 deletions

View File

@ -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

10
notparallel.patch Normal file
View File

@ -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 \