diff --git a/osc.changes b/osc.changes index 4430f4d..ca395a9 100644 --- a/osc.changes +++ b/osc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 14 12:46:34 UTC 2014 - suse-tux@gmx.de + +- fixed #123 (wrong requires for Fedora 20) + ------------------------------------------------------------------- Tue Oct 21 09:57:27 UTC 2014 - suse-tux@gmx.de diff --git a/osc.spec b/osc.spec index 343d509..fc4c5f3 100644 --- a/osc.spec +++ b/osc.spec @@ -93,7 +93,11 @@ introduction. %setup -q %build -CFLAGS="%{optflags}" python setup.py build +# the PATH hack/rewrite is needed for Fedora 20 builds, because /bin +# is a symlink to /usr/bin and /bin precedes /usr/bin in PATH +# => a "wrong" interpreter line ("#!/bin/python") is constructed +# ("wrong", because no package provides "/bin/python"). +PATH="/usr/bin:$PATH" CFLAGS="%{optflags}" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot}