From 458ca52d748424359660f47e1cd3664ef6c47f35 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 27 Oct 2015 14:28:46 -0500 Subject: [PATCH] enable qtenginio, fix pyuic5 wrapper, use %license --- python-qt5.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/python-qt5.spec b/python-qt5.spec index a552426..d87d56a 100644 --- a/python-qt5.spec +++ b/python-qt5.spec @@ -38,7 +38,8 @@ BuildRequires: findutils BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(dbus-python) BuildRequires: pkgconfig(phonon4qt5) -BuildRequires: pkgconfig(Qt5Core) >= 5.3 +BuildRequires: pkgconfig(Qt5Core) >= 5.5 +BuildRequires: pkgconfig(Enginio) BuildRequires: pkgconfig(Qt5Bluetooth) BuildRequires: pkgconfig(Qt5DBus) pkgconfig(Qt5Declarative) BuildRequires: pkgconfig(Qt5Designer) @@ -194,7 +195,7 @@ sed -i \ -e "s|@@EVR@@|%{?epoch:%{epoch:}}%{version}-%{release}|g" \ %{buildroot}%{rpm_macros_dir}/macros.pyqt5 -%if 0%{?_with_python3} +%if 0%{?with_python3} # install pyuic5 wrapper to handle both/either python2/python3 rm -fv %{buildroot}%{_bindir}/pyuic5 install -p -m755 -D %{SOURCE2} \ @@ -209,7 +210,7 @@ sed -i \ %if 0%{?with_python2} %files %doc NEWS README -%doc LICENSE +%license LICENSE %{rpm_macros_dir}/macros.pyqt5 %{python2_dbus_dir}/pyqt5.so %{_qt5_plugindir}/PyQt5/ @@ -262,7 +263,7 @@ sed -i \ %if 0%{?with_python3} %files -n python3-qt5 %doc NEWS README -%doc LICENSE +%license LICENSE %{rpm_macros_dir}/macros.pyqt5 %{python3_dbus_dir}/pyqt5.so %dir %{python3_sitearch}/PyQt5/ @@ -324,6 +325,7 @@ sed -i \ %changelog * Mon Oct 26 2015 Rex Dieter 5.5.1-1 - 5.5.1 +- enable qtenginio, fix pyuic5 wrapper, use %%license * Mon Oct 12 2015 Rex Dieter 5.5-2 - rebuild (qt5)