Compare commits
No commits in common. "c8s" and "c9-beta" have entirely different histories.
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1 @@
|
||||
SOURCES/pyudev-0.21.0.tar.gz
|
||||
/pyudev-0.21.0.tar.gz
|
||||
SOURCES/pyudev-0.22.0.tar.gz
|
||||
|
1
.python-pyudev.metadata
Normal file
1
.python-pyudev.metadata
Normal file
@ -0,0 +1 @@
|
||||
1826db6e768153548df20bfd0a3149f5db9f80e7 SOURCES/pyudev-0.22.0.tar.gz
|
@ -1,16 +1,7 @@
|
||||
%global srcname pyudev
|
||||
|
||||
%if 0%{?rhel} == 8
|
||||
%bcond_with python2
|
||||
%bcond_with qt4
|
||||
%else
|
||||
%bcond_without python2
|
||||
%bcond_without qt4
|
||||
%endif
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 0.21.0
|
||||
Release: 7%{?dist}
|
||||
Version: 0.22.0
|
||||
Release: 6%{?dist}
|
||||
Summary: A libudev binding
|
||||
|
||||
License: LGPLv2+
|
||||
@ -31,99 +22,6 @@ PyPy 1.5 or newer. It is tested against udev 151 or newer, earlier
|
||||
versions of udev as found on dated Linux systems may work, but are not
|
||||
officially supported.
|
||||
|
||||
%if %{with python2}
|
||||
%package -n python2-%{srcname}
|
||||
Summary: A libudev binding
|
||||
%{?python_provide:%python_provide python2-%{srcname}}
|
||||
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
|
||||
# Dependencies for libraries loaded through ctypes
|
||||
# glibc is needed for pipe2. This is not needed in the python3 package.
|
||||
Requires: glibc
|
||||
|
||||
# Needed for libudev
|
||||
Requires: systemd-libs
|
||||
|
||||
# Used for python2/3 compatibility
|
||||
Requires: python2-six
|
||||
|
||||
%description -n python2-%{srcname}
|
||||
pyudev is a LGPL licensed, pure Python binding for libudev, the device
|
||||
and hardware management and information library for Linux. It supports
|
||||
almost all libudev functionality, you can enumerate devices, query device
|
||||
properties and attributes or monitor devices, including asynchronous
|
||||
monitoring with threads, or within the event loops of Qt, Glib or wxPython.
|
||||
|
||||
The binding supports CPython 2 (2.6 or newer) and 3 (3.1 or newer), and
|
||||
PyPy 1.5 or newer. It is tested against udev 151 or newer, earlier
|
||||
versions of udev as found on dated Linux systems may work, but are not
|
||||
officially supported.
|
||||
|
||||
%package -n python2-%{srcname}-glib
|
||||
Summary: GLib integration for pyudev
|
||||
|
||||
Requires: pygobject2
|
||||
Requires: python2-%{srcname} = %{version}-%{release}
|
||||
|
||||
%description -n python2-%{srcname}-glib
|
||||
GLib integration for pyudev.
|
||||
|
||||
This package provides a module pyudev.glib that contains classes for
|
||||
integrating a pyudev monitor with the GLib main loop.
|
||||
|
||||
%if %{with qt4}
|
||||
%package -n python2-%{srcname}-qt4
|
||||
Summary: Qt4 integration for pyudev
|
||||
|
||||
Requires: PyQt4
|
||||
Requires: python2-%{srcname} = %{version}-%{release}
|
||||
|
||||
%description -n python2-%{srcname}-qt4
|
||||
Qt4 integration for pyudev.
|
||||
|
||||
This package provides a module pyudev.pyqt4 that contains classes for
|
||||
integrating a pyudev monitor with the Qt4 main loop.
|
||||
%endif
|
||||
|
||||
%package -n python2-%{srcname}-qt5
|
||||
Summary: Qt5 integration for pyudev
|
||||
|
||||
Requires: python-qt5
|
||||
Requires: python2-%{srcname} = %{version}-%{release}
|
||||
|
||||
%description -n python2-%{srcname}-qt5
|
||||
Qt5 integration for pyudev.
|
||||
|
||||
This package provides a module pyudev.pyqt5 that contains classes for
|
||||
integrating a pyudev monitor with the Qt4 main loop.
|
||||
|
||||
%package -n python2-%{srcname}-pyside
|
||||
Summary: PySide integration for pyudev
|
||||
|
||||
Requires: python-pyside
|
||||
Requires: python2-%{srcname} = %{version}-%{release}
|
||||
|
||||
%description -n python2-%{srcname}-pyside
|
||||
PySide integration for pyudev.
|
||||
|
||||
This package provides a module pyudev.pyside that contains classes for
|
||||
integrating a pyudev monitor with the PySide main loop.
|
||||
|
||||
%package -n python2-%{srcname}-wx
|
||||
Summary: wxPython integration for pyudev
|
||||
|
||||
Requires: wxPython
|
||||
Requires: python2-%{srcname} = %{version}-%{release}
|
||||
|
||||
%description -n python2-%{srcname}-wx
|
||||
wxPython integration for pyudev.
|
||||
|
||||
This package provides a module pyudev.wx that contains classes for
|
||||
integrating a pyudev montior with the wxPython main loop.
|
||||
%endif
|
||||
|
||||
%package -n python3-%{srcname}
|
||||
Summary: A libudev binding
|
||||
%{?python_provide:%python_provide python3-%{srcname}}
|
||||
@ -149,7 +47,6 @@ PyPy 1.5 or newer. It is tested against udev 151 or newer, earlier
|
||||
versions of udev as found on dated Linux systems may work, but are not
|
||||
officially supported.
|
||||
|
||||
%if %{with qt4}
|
||||
%package -n python3-%{srcname}-qt4
|
||||
Summary: Qt4 integration for pyudev
|
||||
|
||||
@ -161,7 +58,6 @@ Qt4 integration for pyudev.
|
||||
|
||||
This package provides a module pyudev.pyqt4 that contains classes for
|
||||
integrating a pyudev monitor with the Qt4 main loop.
|
||||
%endif
|
||||
|
||||
%package -n python3-%{srcname}-qt5
|
||||
Summary: Qt5 integration for pyudev
|
||||
@ -180,54 +76,11 @@ integrating a pyudev monitor with the Qt5 main loop.
|
||||
rm -rf pyudev.egg-info
|
||||
|
||||
%build
|
||||
%if %{with python2}
|
||||
%py2_build
|
||||
%endif
|
||||
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%if %{with python2}
|
||||
%py2_install
|
||||
%endif
|
||||
|
||||
%py3_install
|
||||
|
||||
%if %{with python2}
|
||||
%files -n python2-%{srcname}
|
||||
%license COPYING
|
||||
%doc README.rst CHANGES.rst
|
||||
%{python2_sitelib}/pyudev/
|
||||
%{python2_sitelib}/pyudev-%{version}-*.egg-info
|
||||
%exclude %{python2_sitelib}/pyudev/glib.py*
|
||||
%exclude %{python2_sitelib}/pyudev/pyqt4.py*
|
||||
%exclude %{python2_sitelib}/pyudev/pyqt5.py*
|
||||
%exclude %{python2_sitelib}/pyudev/pyside.py*
|
||||
%exclude %{python2_sitelib}/pyudev/wx.py*
|
||||
|
||||
%files -n python2-%{srcname}-glib
|
||||
%license COPYING
|
||||
%{python2_sitelib}/pyudev/glib.py*
|
||||
|
||||
%if %{with qt4}
|
||||
%files -n python2-%{srcname}-qt4
|
||||
%license COPYING
|
||||
%{python2_sitelib}/pyudev/pyqt4.py*
|
||||
%endif
|
||||
|
||||
%files -n python2-%{srcname}-qt5
|
||||
%license COPYING
|
||||
%{python2_sitelib}/pyudev/pyqt5.py*
|
||||
|
||||
%files -n python2-%{srcname}-pyside
|
||||
%license COPYING
|
||||
%{python2_sitelib}/pyudev/pyside.py*
|
||||
|
||||
%files -n python2-%{srcname}-wx
|
||||
%license COPYING
|
||||
%{python2_sitelib}/pyudev/wx.py*
|
||||
%endif
|
||||
|
||||
%files -n python3-%{srcname}
|
||||
%license COPYING
|
||||
%doc README.rst CHANGES.rst
|
||||
@ -244,12 +97,10 @@ rm -rf pyudev.egg-info
|
||||
%exclude %{python3_sitelib}/pyudev/wx.py
|
||||
%exclude %{python3_sitelib}/pyudev/__pycache__/wx.*
|
||||
|
||||
%if %{with qt4}
|
||||
%files -n python3-%{srcname}-qt4
|
||||
%license COPYING
|
||||
%{python3_sitelib}/pyudev/pyqt4.py
|
||||
%{python3_sitelib}/pyudev/__pycache__/pyqt4.*
|
||||
%endif
|
||||
|
||||
%files -n python3-%{srcname}-qt5
|
||||
%license COPYING
|
||||
@ -257,14 +108,56 @@ rm -rf pyudev.egg-info
|
||||
%{python3_sitelib}/pyudev/__pycache__/pyqt5.*
|
||||
|
||||
%changelog
|
||||
* Thu Jun 14 2018 Yaakov Selkowitz <yselkowi@redhat.com> - 0.21.0-7
|
||||
- Dropped qt4 from RHEL-8 (#1591123)
|
||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.22.0-6
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Thu May 17 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 0.21.0-6
|
||||
- Bumped release to fix conflict caused by automerge
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.22.0-5
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Mon Apr 30 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 0.21.0-5
|
||||
- Dropped python2 from RHEL-8
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.22.0-2
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Wed Feb 5 2020 David Shea <dshea@fedoraproject.org> - 0.22.0-1
|
||||
- New upstream version
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.21.0-13
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 0.21.0-12
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Oct 11 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.21.0-9
|
||||
- Python2 binary package has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 0.21.0-7
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Fri Mar 23 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.21.0-6
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
@ -1,6 +0,0 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-8
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
|
Loading…
Reference in New Issue
Block a user