[packages/python3-PyQt5-sip] - moved python-PyQt5-sip Obsoletes here (on bcond)
qboosh
qboosh at pld-linux.org
Wed Oct 2 21:52:39 CEST 2024
commit c57b1170b4f5a6f57fb33aaba60b1631f2b6be6e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Oct 2 21:48:42 2024 +0200
- moved python-PyQt5-sip Obsoletes here (on bcond)
python3-PyQt5-sip.spec | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/python3-PyQt5-sip.spec b/python3-PyQt5-sip.spec
index a24cb11..dbbd7be 100644
--- a/python3-PyQt5-sip.spec
+++ b/python3-PyQt5-sip.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without obsolete_py2 # obsolete python 2.x package
+
%define module PyQt5-sip
Summary: The sip module support for PyQt5
Summary(pl.UTF-8): Obsługa PyQt5 dla modułu sip
@@ -18,6 +22,9 @@ BuildRequires: rpm-build >= 4.6
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
Requires: python3-modules >= 1:3.8
+%if %{with obsolete_py2}
+Obsoletes: python-PyQt5-sip < 2:5
+%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-PyQt5-sip.git/commitdiff/c57b1170b4f5a6f57fb33aaba60b1631f2b6be6e
More information about the pld-cvs-commit
mailing list