From 74792297b361dc2e47621ce724fc4486344ce58f Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Aug 19 2019 19:37:32 +0000 Subject: Path fixes for flatpak. --- diff --git a/sip.spec b/sip.spec index a525dac..96d991f 100644 --- a/sip.spec +++ b/sip.spec @@ -24,7 +24,7 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.19.18 -Release: 2%{?dist} +Release: 3%{?dist} # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison) License: GPLv2 or GPLv3 and (GPLv3+ with exceptions) @@ -162,6 +162,7 @@ This is the Python 3 build of pyqt5-SIP. mkdir %{_target_platform}-python2 pushd %{_target_platform}-python2 %{__python2} ../configure.py \ + -b %{_bindir} -d %{python2_sitearch} -e %{_includedir}/python%{python2_version} \ CFLAGS+="%{optflags}" CXXFLAGS+="%{optflags}" LFLAGS+="%{?__global_ldflags}" %make_build @@ -172,6 +173,7 @@ mkdir %{_target_platform}-python2-pyqt4 pushd %{_target_platform}-python2-pyqt4 %{__python2} ../configure.py \ --sip-module=PyQt4.sip \ + -b %{_bindir} -d %{python2_sitearch} -e %{_includedir}/python%{python2_version} \ CFLAGS+="%{optflags}" CXXFLAGS+="%{optflags}" LFLAGS+="%{?__global_ldflags}" %make_build @@ -181,6 +183,7 @@ mkdir %{_target_platform}-python2-pyqt5 pushd %{_target_platform}-python2-pyqt5 %{__python2} ../configure.py \ --sip-module=PyQt5.sip \ + -b %{_bindir} -d %{python2_sitearch} -e %{_includedir}/python%{python2_version} \ CFLAGS+="%{optflags}" CXXFLAGS+="%{optflags}" LFLAGS+="%{?__global_ldflags}" %make_build @@ -191,6 +194,7 @@ popd mkdir %{_target_platform}-python3 pushd %{_target_platform}-python3 %{__python3} ../configure.py \ + -b %{_bindir} -d %{python3_sitearch} -e %{_includedir}/python%{python3_version}m \ CXXFLAGS+="%{optflags}" CFLAGS+="%{optflags}" LFLAGS+="%{?__global_ldflags}" %make_build @@ -201,6 +205,7 @@ mkdir %{_target_platform}-python3-pyqt4 pushd %{_target_platform}-python3-pyqt4 %{__python3} ../configure.py \ --sip-module=PyQt4.sip \ + -b %{_bindir} -d %{python3_sitearch} -e %{_includedir}/python%{python3_version}m \ CXXFLAGS+="%{optflags}" CFLAGS+="%{optflags}" LFLAGS+="%{?__global_ldflags}" %make_build @@ -210,6 +215,7 @@ mkdir %{_target_platform}-python3-pyqt5 pushd %{_target_platform}-python3-pyqt5 %{__python3} ../configure.py \ --sip-module=PyQt5.sip \ + -b %{_bindir} -d %{python3_sitearch} -e %{_includedir}/python%{python3_version}m \ CXXFLAGS+="%{optflags}" CFLAGS+="%{optflags}" LFLAGS+="%{?__global_ldflags}" %make_build @@ -324,6 +330,9 @@ install -D -p -m644 %{SOURCE1} %{buildroot}%{rpm_macros_dir}/macros.sip %changelog +* Mon Aug 19 2019 Gwyn Ciesla - 4.19.18-3 +- Set paths for flatpak. + * Thu Aug 15 2019 Miro HronĨok - 4.19.18-2 - Rebuilt for Python 3.8