From 395f893cd6de74cff633ea202addd0fd3685d7c9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:59:11 +0100 Subject: [PATCH] pyudev-qt5-py{X}: obsolete pyudev-qt4-py{X} [release 0.22.0-6mamba;Tue May 03 2022] --- pyudev.spec | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/pyudev.spec b/pyudev.spec index 94ae324..cfc2f59 100644 --- a/pyudev.spec +++ b/pyudev.spec @@ -1,6 +1,6 @@ Name: pyudev Version: 0.22.0 -Release: 5mamba +Release: 6mamba Summary: Python binding for libudev Group: System/Libraries/Python Vendor: openmamba @@ -47,25 +47,12 @@ This package provides the PyQt5 binding. Requires: python-apipkg-%pyappend} \ Requires: udev -%package qt4%{?with_pyver:-py%{pyver}} -Group: System/Libraries/Python -Summary: PyQt4 binding for libudev -Requires: %{name}%{?with_pyver:-py%{pyver}} = %{?epoch:%epoch:}%{version}-%{release} -Requires: PyQt4%{?with_pyver:-py%{pyver}} -%if "0%{?with_pyver}" == "03" -Provides: pyudev-qt4 -Obsoletes: pyudev-qt4 <= 0.16.1 -%endif - -%description qt4%{?with_pyver:-py%{pyver}} -pyudev is a Python binding for libudev. -This package provides the PyQt4 binding. - %package qt5%{?with_pyver:-py%{pyver}} Group: System/Libraries/Python Summary: PyQt5 binding for libudev Requires: %{name}%{?with_pyver:-py%{pyver}} = %{?epoch:%epoch:}%{version}-%{release} Requires: PyQt5%{?with_pyver:-py%{pyver}} +Obsoletes: pyudev-qt4%{?with_pyver:-py%{pyver}} < 0.22.0-6mamba %description qt5%{?with_pyver:-py%{pyver}} pyudev is a Python binding for libudev. @@ -102,11 +89,6 @@ rm -f %{buildroot}%{python_sitearch}/pyudev/__pycache__/pyqt4.cpython-*.pyc %{python_sitearch}/pyudev-%{version}-py*.egg-info/* %doc COPYING -#%files qt4%{?with_pyver:-py%{pyver}} -#%defattr(-,root,root) -#%{python_sitearch}/pyudev/pyqt4*.py* -#%{python_sitearch}/pyudev/__pycache__/pyqt4.cpython-*.pyc - %files qt5%{?with_pyver:-py%{pyver}} %defattr(-,root,root) %{python_sitearch}/pyudev/_qt_base*.py* @@ -115,6 +97,9 @@ rm -f %{buildroot}%{python_sitearch}/pyudev/__pycache__/pyqt4.cpython-*.pyc %{python_sitearch}/pyudev/__pycache__/pyqt5*.pyc %changelog +* Tue May 03 2022 Silvan Calarco 0.22.0-6mamba +- pyudev-qt5-py{X}: obsolete pyudev-qt4-py{X} + * Tue Apr 12 2022 Silvan Calarco 0.22.0-5mamba - remove qt4 subpackage