[packages/python-PyQt5] -devel-tools: R: %{name}

jajcus jajcus at pld-linux.org
Sat Feb 3 22:55:58 CET 2018


commit 1bef50b09738af15b5424af6d044c5a654516b47
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Feb 3 22:54:05 2018 +0100

    -devel-tools: R: %{name}
    
    pyrcc5 and pylupdate5 require PyQt5 for the Python version used to build
    them.
    
    Release: 2

 python-PyQt5.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/python-PyQt5.spec b/python-PyQt5.spec
index 4e0b87b..14573b3 100644
--- a/python-PyQt5.spec
+++ b/python-PyQt5.spec
@@ -17,7 +17,7 @@ Summary:	Python 2 bindings for the Qt5 toolkit
 Summary(pl.UTF-8):	Wiązania Pythona 2 do toolkitu Qt5
 Name:		python-%{module}
 Version:	5.8.2
-Release:	1
+Release:	2
 License:	GPL v3
 Group:		Libraries/Python
 Source0:	https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-%{version}/PyQt5_gpl-%{version}.tar.gz
@@ -155,6 +155,11 @@ Summary(pl.UTF-8):	Narzędzia programistyczne PyQt5
 Group:		Development/Tools
 Requires:	Qt5Core >= %{qt_ver}
 Requires:	Qt5Xml >= %{qt_ver}
+%if %{with python2}
+Requires:	%{name} = %{version}-%{release}
+%else
+Requires:	python3-PyQt5 = %{version}-%{release}
+%endif
 
 %description devel-tools
 PyQt5 development tools: pylupdate5, pyrcc5.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-PyQt5.git/commitdiff/1bef50b09738af15b5424af6d044c5a654516b47



More information about the pld-cvs-commit mailing list