pyudev-qt5-py{X}: obsolete pyudev-qt4-py{X} [release 0.22.0-6mamba;Tue May 03 2022]
This commit is contained in:
parent
b2f5fe8ea6
commit
395f893cd6
25
pyudev.spec
25
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 <silvan.calarco@mambasoft.it> 0.22.0-6mamba
|
||||
- pyudev-qt5-py{X}: obsolete pyudev-qt4-py{X}
|
||||
|
||||
* Tue Apr 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.0-5mamba
|
||||
- remove qt4 subpackage
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user