The package rpms/pyqtwebengine.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/pyqtwebengine.git/commit/?id=f63c406....
Change: +ExclusiveArch: %{qt5_qtwebengine_arches}
Thanks.
Full change: ============
commit f63c4061a619e37109e8cfb026e4e58af754f955 Author: Rex Dieter rdieter@gmail.com Date: Thu Apr 11 14:54:32 2019 -0500
import
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f83bdf2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/PyQtWebEngine_gpl-5.12.1.tar.gz diff --git a/pyqtwebengine.spec b/pyqtwebengine.spec new file mode 100644 index 0000000..4ee5324 --- /dev/null +++ b/pyqtwebengine.spec @@ -0,0 +1,173 @@ + +%if 0%{?fedora} || 0%{?rhel} > 6 +%global with_python3 1 +%endif +%if 0%{?fedora} < 30 +%global with_python2 1 +%endif + +Summary: Python bindings for QtWebEngine +Name: pyqtwebengine +Version: 5.12.1 +Release: 4%{?dist} + +License: GPLv3 +Url: https://www.riverbankcomputing.com/software/pyqt/ +Source0: https://www.riverbankcomputing.com/static/Downloads/PyQtWebEngine/%%7Bversio... +ExclusiveArch: %{qt5_qtwebengine_arches} + +BuildRequires: gcc-c++ +BuildRequires: pkgconfig(Qt5WebEngine) + +%global sip_ver 4.19.14 +%if 0%{?with_python2} +BuildRequires: python2-devel python2 +BuildRequires: python2-qt5 +BuildRequires: python2-qt5-devel +BuildRequires: python2-pyqt5-sip >= %{sip_ver} +BuildRequires: python2-sip-devel >= %{sip_ver} +%endif +%if 0%{?with_python3} +BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion} +BuildRequires: python%{python3_pkgversion}-qt5 +BuildRequires: python%{python3_pkgversion}-qt5-devel +BuildRequires: python%{python3_pkgversion}-pyqt5-sip >= %{sip_ver} +BuildRequires: python%{python3_pkgversion}-sip-devel >= %{sip_ver} +%endif # with_python3 + +%description +%{summary}. + +%package -n python2-qt5-webengine +Summary: Python bindings for Qt5 WebEngine +Requires: python2-qt5%{?_isa} +%{?python_provide:%python_provide python2-qt5-webengine} +%description -n python2-qt5-webengine +%{summary}. + +%package -n python%{python3_pkgversion}-qt5-webengine +Summary: Python3 bindings for Qt5 WebEngine +Requires: python%{python3_pkgversion}-qt5%{?_isa} +%{?python_provide:%python_provide python%{python3_pkgversion}-qt5-webengine} +%description -n python%{python3_pkgversion}-qt5-webengine +%{summary}. + +%package devel +Summary: Development files for %{name} +# when webengine content was split out +Conflicts: python2-qt5-devel < 5.12.1 +Conflicts: python%{python3_pkgversion}-qt5-devel < 5.12.1 +Requires: sip +BuildArch: noarch +%description devel +%{summary}. + +%package doc +Summary: Developer documentation for %{name} +BuildArch: noarch +%description doc +%{summary}. + + +%prep +%autosetup -n PyQtWebEngine_gpl-%{version} + + +%build +PATH=%{_qt5_bindir}:$PATH ; export PATH + +# Python 2 build: +%if 0%{?with_python2} +mkdir %{_target_platform} +pushd %{_target_platform} +%{__python2} ../configure.py \ + --qmake=%{_qt5_qmake} \ + --verbose \ + QMAKE_CFLAGS_RELEASE="%{build_cflags}" \ + QMAKE_CXXFLAGS_RELEASE="%{build_cxxflags}" \ + QMAKE_LFLAGS_RELEASE="%{build_ldflags}" + +%make_build +popd +%endif # with_python2 + +# Python 3 build: +%if 0%{?with_python3} +mkdir %{_target_platform}-python3 +pushd %{_target_platform}-python3 +%{__python3} ../configure.py \ + --qmake=%{_qt5_qmake} \ + --verbose \ + QMAKE_CFLAGS_RELEASE="%{build_cflags}" \ + QMAKE_CXXFLAGS_RELEASE="%{build_cxxflags}" \ + QMAKE_LFLAGS_RELEASE="%{build_ldflags}" + +%make_build +popd +%endif # with_python3 + + +%install + +# Python 3 build: +%if 0%{?with_python3} +%make_install INSTALL_ROOT=%{buildroot} -C %{_target_platform}-python3 +%endif # with_python3 + +# Python 2 build: +%if 0%{?with_python2} +%make_install INSTALL_ROOT=%{buildroot} -C %{_target_platform} +%endif # with_python2 + + +%if 0%{?with_python2} +%files -n python2-qt5-webengine +%doc README +%license LICENSE +%{python2_sitearch}/PyQtWebEngine-%{version}.dist-info/ +%{python2_sitearch}/PyQt5/QtWebEngine.* +%{python2_sitearch}/PyQt5/QtWebEngineCore.* +%{python2_sitearch}/PyQt5/QtWebEngineWidgets.* +%endif + +%if 0%{?with_python3} +%files -n python%{python3_pkgversion}-qt5-webengine +%doc README +%license LICENSE +%{python3_sitearch}/PyQtWebEngine-%{version}.dist-info/ +%{python3_sitearch}/PyQt5/QtWebEngine.* +%{python3_sitearch}/PyQt5/QtWebEngineCore.* +%{python3_sitearch}/PyQt5/QtWebEngineWidgets.* +%endif + +%files devel +%license LICENSE +%{_datadir}/sip/PyQt5/QtWebEngine*/ + +%files doc +# avoid dep on qscintilla-python, own %%_qt5_datadir/qsci/... here for now +%dir %{_qt5_datadir}/qsci/ +%dir %{_qt5_datadir}/qsci/api/ +%dir %{_qt5_datadir}/qsci/api/python/ +%doc %{_qt5_datadir}/qsci/api/python/PyQtWebEngine.api + + +%changelog +* Thu Apr 11 2019 Rex Dieter rdieter@fedoraproject.org - 5.12.1-4 +- -devel: %%license LICENSE + +* Wed Apr 10 2019 Rex Dieter rdieter@fedoraproject.org - 5.12.1-3 +- %%doc README +- %%license LICENSE +- -devel: Requires: sip +- use %%autosetup + +* Wed Apr 10 2019 Rex Dieter rdieter@fedoraproject.org - 5.12.1-2 +- update Source0 URL +- use ExclusiveArch +- use %%build_cflags %%build_cxxflags %%build_ldflags +- BR: gcc-c++ + +* Sat Mar 23 2019 Rex Dieter rdieter@fedoraproject.org - 5.12.1-1 +- first try + diff --git a/sources b/sources new file mode 100644 index 0000000..30deb35 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (PyQtWebEngine_gpl-5.12.1.tar.gz) = 2bcb0e4da51de9cfb5128e03c03ada77f2d4b99b0885da910584717681b96759ce4301c325cbbf43602d46746e2d37d81ed62f77dd63b33359fd5fae74d7f010
arch-excludes@lists.fedoraproject.org