diff --git a/PyQt3D-5.15.2.tar.gz b/PyQt3D-5.15.2.tar.gz deleted file mode 100644 index a48982c..0000000 --- a/PyQt3D-5.15.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:26128ee8ed1f0344ba50347af4b9e23c0ba87bc3ae25e2e7c6f145e34d223d1f -size 7500453 diff --git a/PyQt3D-5.15.3.tar.gz b/PyQt3D-5.15.3.tar.gz new file mode 100644 index 0000000..a8662f5 --- /dev/null +++ b/PyQt3D-5.15.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e624fcc718f16794fdfceb9206dcab8084cf7a5ac650013ee02303bd6cfd6a46 +size 7500739 diff --git a/python-qt3d-qt5.changes b/python-qt3d-qt5.changes index a824af4..b7b9a7c 100644 --- a/python-qt3d-qt5.changes +++ b/python-qt3d-qt5.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Feb 26 09:50:43 UTC 2021 - Ben Greiner + +- Update to 5.15.3 + * Sync release with PyQt5 +- Switch all distros to SIP v5+ +- Disable Python 2 build + ------------------------------------------------------------------- Tue Nov 24 17:26:02 UTC 2020 - Benjamin Greiner diff --git a/python-qt3d-qt5.spec b/python-qt3d-qt5.spec index 2557a21..4c1f3a8 100644 --- a/python-qt3d-qt5.spec +++ b/python-qt3d-qt5.spec @@ -1,7 +1,7 @@ # # spec file for package python-qt3d-qt5 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,15 +24,12 @@ %define have_qt3danimation 1 %endif -%if 0%{suse_version} < 1550 -%define use_sip4 1 -%endif - %define oldpython python %define mname qt3d-qt5 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} +%define skip_python2 1 Name: python-%{mname} -Version: 5.15.2 +Version: 5.15.3 Release: 0 Summary: Python bindings for the Qt5 3D framework License: GPL-3.0-only @@ -40,7 +37,10 @@ Group: Development/Libraries/Python URL: https://www.riverbankcomputing.com/software/pyqtchart/intro Source: https://files.pythonhosted.org/packages/source/P/PyQt3D/PyQt3D-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pyqt-builder >= 1.9} BuildRequires: %{python_module qt5-devel} +BuildRequires: %{python_module sip-devel >= 5.3} +BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-pyqt-rpm-macros BuildRequires: python-rpm-macros @@ -50,15 +50,8 @@ BuildRequires: pkgconfig(Qt53DExtras) BuildRequires: pkgconfig(Qt53DInput) BuildRequires: pkgconfig(Qt53DLogic) BuildRequires: pkgconfig(Qt53DRender) -%if 0%{?use_sip4} -BuildRequires: %{python_module sip4-devel >= 4.19.4} -Requires: python-sip(api) = %{python_sip_api_ver} -%else -BuildRequires: %{python_module pyqt-builder >= 1.6} -BuildRequires: %{python_module sip-devel >= 5.3} -%requires_eq python-qt5-sip -%endif -%requires_ge python-qt5 +Requires: python-qt5 >= %{version} +Requires: python-qt5-sip %python_subpackages @@ -102,6 +95,8 @@ This package provides %{name} examples. %install %pyqt_install +# replace CRLF line endings in example resources in order to make rpmlint happy. +find examples/assets -type f -print0 | xargs -0 dos2unix %pyqt_install_examples %mname %files %{python_files}