同步操作将从 src-openEuler/python-dmidecode 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: python-dmidecodeVersion: 3.12.2Release: 19Summary: Python extension module for dmidecodeLicense: GPLv2URL: http://projects.autonomy.net.au/python-dmidecode/Source0: https://github.com/nima/python-dmidecode/archive/v%{version}.tar.gzBuildRequires: gcc libxml2-devel python2-libxml2 python3-libxml2BuildRequires: python2-devel python3-devel%descriptionDmidecode reports information about your system's hardware as described inyour system BIOS according to the SMBIOS/DMI standard. This informationtypically includes system manufacturer, model name, serial number, BIOSversion, asset tag as well as a lot of other details of varying level ofinterest and reliability depending on the manufacturer. This will ofteninclude usage status for the CPU sockets, expansion slots (e.g. AGP, PCI,ISA) and memory module slots, and the list of I/O ports (e.g. serial,parallel, USB).Python-dmidecode is a python extension module that uses the code-baseof the 'dmidecode' utility and uses libxml2 to display data as pythondata structures or XML data.%package -n python2-dmidecodeSummary: A python 2 extension module to get DMI dataRequires: python2-libxml2%{?python_provide:%python_provide python2-dmidecode}%description -n python2-dmidecodePython2-dmidecode is a python 2 extension module that uses the code-baseof the 'dmidecode' utility and uses libxml2 to display data as python 2data structures or XML data.%package -n python3-dmidecodeSummary: A python 3 module to access DMI dataRequires: python3-libxml2%description -n python3-dmidecodePython3-dmidecode is a python 3 extension module that uses the code-baseof the 'dmidecode' utility and uses libxml2 to display data as python 3data structures or XML data.%package_help%prep%autosetup -c -n %{name}-%{version} -p1cp -a %{name}-%{version} python2cp -a %{name}-%{version} python3rm -r %{name}-%{version}pushd python3sed -i 's/python2/python3/g' Makefile unit-tests/Makefilepopd%buildexport CFLAGS="${CFLAGS-} -std=gnu89"pushd python2make buildpopdpushd python3make buildpopd%installpushd python2%{__python2} src/setup.py install --root %{buildroot} --prefix=%{_prefix}popdpushd python3%{__python3} src/setup.py install --root %{buildroot} --prefix=%{_prefix}popd%checkpushd python2/unit-testsmakepopdpushd python3/unit-testsmakepopd%files -n python2-dmidecode%license python2/doc/LICENSE python2/doc/AUTHORS python2/doc/AUTHORS.upstream%{python2_sitearch}/dmidecode.py%{python2_sitearch}/dmidecode.pyc%{python2_sitearch}/dmidecode.pyo%{python2_sitearch}/dmidecodemod.so%{python2_sitearch}/python_dmidecode-3.12.2-py2.7.egg-info%{_datadir}/python-dmidecode/pymap.xml%files -n python3-dmidecode%license python3/doc/LICENSE python3/doc/AUTHORS python3/doc/AUTHORS.upstream%{python3_sitearch}/__pycache__/*.pyc%{python3_sitearch}/dmidecode.py%{python3_sitearch}/dmidecodemod.cpython-3*.so%{python3_sitearch}/python_dmidecode-3.12.2-py3.*.egg-info%{_datadir}/python-dmidecode/pymap.xml%files help%doc python2/README python2/doc/README.upstream%doc python3/README python3/doc/README.upstream%changelog* Wed Sep 9 2020 hanhui <hanhui15@huawei.com> - 3.12.2-19- Type:bugfix- ID:NA- SUG:NA- DESC:modify source url* Thu Jun 16 2020 hanhui <hanhui15@huawei.com> - 3.12.2-18- Type:bugfix- Id:NA- SUG:NA- DESC:Modify the file patch for python3.8* Sun Dec 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.12.2-17- Type:bugfix- ID:NA- SUG:NA- DESC:optimization the spec* Thu Nov 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.12.2-16- Type:bugfix- Id:NA- SUG:NA- DESC:Modify the file name for x86* Sat Sep 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.12.2-15- Type:bugfix- Id:NA- SUG:NA- DESC:Modify the file path of the help package* Mon Sep 09 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.12.2-14- Package Init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。