代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-pyudev 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global srcname pyudev
Name: python-%{srcname}
Version: 0.22.0
Release: 2
Summary: A libudev binding
License: LGPLv2+
URL: http://pypi.python.org/pypi/pyudev
Source0: https://pypi.io/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
%global _description\
This package supports almost all libudev functionality.The lisence\
is LGPL.It is a python 2/3 binding to libudev which is a linux\
library supporting device management.The usage of pyudev is simple\
and you can use it after a quick learning.
%description %_description
%package -n python3-%{srcname}
Summary: A libudev binding
BuildRequires: python3-devel python3-setuptools
Requires: systemd python3-six
Provides: python3-%{srcname}-qt4 python3-%{srcname}-qt5
Obsoletes: python3-%{srcname}-qt4 python3-%{srcname}-qt5
%description -n python3-%{srcname} %_description
%{?python_provide:%python_provide python3-%{srcname}}
%prep
%autosetup -n %{srcname}-%{version}
rm -rf pyudev.egg-info
%build
%py3_build
%install
%py3_install
%files -n python3-%{srcname}
%license COPYING
%doc README.rst CHANGES.rst
%{python3_sitelib}/pyudev
%{python3_sitelib}/pyudev-%{version}-*.egg-info
%exclude %{python3_sitelib}/pyudev/glib.py
%exclude %{python3_sitelib}/pyudev/__pycache__/glib.*
%exclude %{python3_sitelib}/pyudev/pyside.py
%exclude %{python3_sitelib}/pyudev/__pycache__/pyside.*
%exclude %{python3_sitelib}/pyudev/wx.py
%exclude %{python3_sitelib}/pyudev/__pycache__/wx.*
%changelog
* Fri Oct 30 2020 tianwei <tianwei12@huawei.com> - 0.22.0-2
- remove python2
* Fri Jul 24 2020 tianwei <tianwei12@huawei.com> - 0.22.0-1
- update to release 0.22.0
* Fri Sep 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.21.0-10
- modify requires
* Sat Sep 21 2019 yangfeiyu <yangfeiyu2@huawei.com> - 0.21.0-9
- spec init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。