diff options
author | CoprDistGit <infra@openeuler.org> | 2023-09-27 08:44:41 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-09-27 08:44:41 +0000 |
commit | 35fa20c1dde4e2fe2536aafd83701765d820527c (patch) | |
tree | 2fa0026e2d31781e946f9a07e9e20db9879175a5 | |
parent | c6913143ddf4984c59caae10d9db9f92affb1f81 (diff) |
automatic import of pyporter
-rw-r--r-- | pyporter.spec | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/pyporter.spec b/pyporter.spec index bde65d8..86dec73 100644 --- a/pyporter.spec +++ b/pyporter.spec @@ -1,6 +1,6 @@ Name: pyporter Version: 1.2 -Release: 2 +Release: 1 Summary: A rpm packager bot for python modules from pypi.org License: Mulan PSL v2 URL: https://gitee.com/openeuler/pyporter @@ -12,7 +12,8 @@ pyporter is a tool to create spec file and create rpm for python modules For mor %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 +BuildRequires: python3-hatchling python3-hatch-vcs python3-pip python3-setuptools python3-wheel +Requires: python3-retry2 openEuler-rpm-config >= 30-39 %description -n python3-pyporter pyporter is a tool to create spec file and create rpm for python modules. @@ -27,9 +28,8 @@ pyporter is a tool to create spec file and create rpm for python modules. %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 + +print("touch filelist.lst") if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi @@ -45,10 +45,13 @@ mv %{buildroot}/filelist.lst . %files -n python3-pyporter -f filelist.lst %license LICENSE %doc README.md -%dir %{python3_sitelib}/* +%{python3_sitelib}/* %changelog +* Wed Sept 27 2023 LukeLIN-web <1263810658@qq.com> - 1.2-1 +- DESC: support packing pyproject.toml + * Wed Aug 04 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.0-2 - DESC: delete BuildRequires gdb |