同步操作将从 src-openEuler/python-hwdata 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%bcond_without python2Name: python-hwdataVersion: 2.3.7Release: 5Summary: Python bindings to hwdata packageLicense: GPLv2URL: https://github.com/xsuchy/python-hwdataSource0: %{name}-%{version}.tar.gzBuildArch: noarch%descriptionProvide python interface to database stored in hwdata package.It allows you to get human readable description of USB and PCI devices.%if %{with python2}%package -n python2-hwdataSummary: Python bindings to hwdata packageBuildRequires: python2-develRequires: hwdata%{?python_provide:%python_provide python2-hwdata}%description -n python2-hwdataProvide python interface to database stored in hwdata package.It allows you to get human readable description of USB and PCI devices.%endif%package -n python3-hwdataSummary: Python bindings to hwdata packageBuildRequires: python3-develRequires: hwdata%{?python_provide:%python_provide python3-hwdata}%description -n python3-hwdataProvide python interface to database stored in hwdata package.It allows you to get human readable description of USB and PCI devices.%package_help%prep%autosetup -n %{name}-%{version} -p1rm -rf %{py3dir}cp -a . %{py3dir}%build%if %{with python2}%_bindir/python2 setup.py build '--executable=%_bindir/python2 -s'%endif # with python2pushd %{py3dir}%_bindir/python3 setup.py build '--executable=%_bindir/python3 -s'popd%install%if %{with python2}%_bindir/python2 setup.py install -O1 --skip-build --root %buildroot%endifpushd %{py3dir}%_bindir/python3 setup.py install -O1 --skip-build --root %buildrootpopd%check%if %{with python2}%files -n python2-hwdata%defattr(-,root,root)%license LICENSE%_prefix/lib/python2.7/site-packages/*%endif # with python2%files -n python3-hwdata%defattr(-,root,root)%license LICENSE%_prefix/lib/python3.7/site-packages/*%files help%defattr(-,root,root)%doc example.py README.md html%changelog* Tue Feb 11 2020 huzunhao<huzunhao2@huawei.com> - 2.3.7-5- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。