[Bug 1249368] Review Request: python-pyqtgraph - Scientific Graphics and GUI Library for Python

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1249368



--- Comment #24 from Michal Ambroz <rebus@xxxxxxxxx> ---
Build for FC21 failing probably just about the python macros missing.
To add the macros on the beginning ofthe file should do the trick :

%if 0%{?rhel} && 0%{?rhel} <= 6
 %{!?__python2:         %global __python2       /usr/bin/python2}
 %{!?python2_sitelib:   %global python2_sitelib %(%{__python2} -c "from
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
 %{!?python2_sitearch:  %global python2_sitearch %(%{__python2} -c "from
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%endif

%if 0%{?fedora} <= 21
 %{!?py2_build:         %global py2_build       %{__python2} setup.py build
--executable="%{__python2} -s"}
 %{!?py2_install:       %global py2_install     %{__python2} setup.py install
-O1 --skip-build --root %{buildroot}}
 %{!?py3_build:         %global py3_build       %{__python3} setup.py build
--executable="%{__python3} -s"}
 %{!?py3_install:       %global py3_install     %{__python3} setup.py install
-O1 --skip-build --root %{buildroot}}
%endif

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]