From 729c28281b25d3b70bfef84c4e5cf9876f1f7a9a Mon Sep 17 00:00:00 2001 From: Wojtek Porczyk Date: Tue, 22 Dec 2015 14:21:28 +0100 Subject: [PATCH] spec: disable AutoReq This fixes compilation under Fedora. Depending on $PATH order, automagic dependencies put /usr/bin/python or /bin/python (because we have anything, becase /bin is just symlink to /usr/bin. --- rpm_spec/core-dom0.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rpm_spec/core-dom0.spec b/rpm_spec/core-dom0.spec index ed9944c6..366c109e 100644 --- a/rpm_spec/core-dom0.spec +++ b/rpm_spec/core-dom0.spec @@ -42,6 +42,12 @@ Vendor: Invisible Things Lab License: GPL URL: http://www.qubes-os.org +# because we have "#!/usr/bin/env python" shebangs, RPM puts +# "Requires: $(which # python)" dependency, which, depending on $PATH order, +# may point to /usr/bin/python or /bin/python (because Fedora has this stupid +# /bin -> usr/bin symlink). python*.rpm provides only /usr/bin/python. +AutoReq: no + BuildRequires: ImageMagick BuildRequires: systemd-units