Accepting request 262584 from openSUSE:Tools

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/262584
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=99
This commit is contained in:
Dominique Leuenberger 2014-11-24 10:09:06 +00:00 committed by Git OBS Bridge
commit 46506de54a
2 changed files with 10 additions and 1 deletions

View File

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

View File

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