代码拉取完成,页面将自动刷新
同步操作将从 LukeLIN-web/pyporter_1 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: pyporter
Version: 1.2
Release: 2
Summary: A rpm packager bot for python modules from pypi.org
License: Mulan PSL v2
URL: https://gitee.com/openeuler/pyporter
Source0: https://gitee.com/openeuler/pyporter/repository/archive/pyporter-v%{version}.tar.gz
BuildArch: noarch
%description
pyporter is a tool to create spec file and create rpm for python modules For more details, please use pyporter -h.
%package -n python3-pyporter
Summary: A rpm packager bot for python modules from pypi.org
BuildRequires: python3-hatchling python3-hatch-vcs python3-pip openEuler-rpm-config >= 30-39 python3-setuptools python3-wheel
%description -n python3-pyporter
pyporter is a tool to create spec file and create rpm for python modules.
%prep
%autosetup -n pyporter-v%{version} -p1
%build
%pyproject_build
%install
%pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
popd
mv %{buildroot}/filelist.lst .
%files -n python3-pyporter -f filelist.lst
%license LICENSE
%doc README.md
%dir %{python3_sitelib}/*
%changelog
* Wed Aug 04 2021 chenyanpanHW <[email protected]> - 1.0-2
- DESC: delete BuildRequires gdb
* Wed Nov 4 2020 sunchendong<[email protected]> -1.0-1
- Type:NA
- ID:NA
- SUG:NA
- DESC:init package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。