Browse Source

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.
Wojtek Porczyk 8 years ago
parent
commit
729c28281b
1 changed files with 6 additions and 0 deletions
  1. 6 0
      rpm_spec/core-dom0.spec

+ 6 - 0
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