From fe9d6171d8525f0e58c1fc63165b16ff47fe2bae Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 26 Sep 2023 06:26:48 +0000 Subject: automatic import of pyporter --- .gitignore | 1 + pyporter.spec | 12 ++++++------ sources | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index f212bf1..73bf6ec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /v1.0.tar.gz /v1.1.tar.gz +/pyporter-v1.2.tar.gz diff --git a/pyporter.spec b/pyporter.spec index a574679..b08d397 100644 --- a/pyporter.spec +++ b/pyporter.spec @@ -1,16 +1,16 @@ Name: pyporter -Version: 1.1 +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/v%{version}.tar.gz +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. -BuildRequires: gcc libstdc++-devel python3-cffi python3-hatchling python3-hatch-vcs openEuler-rpm-config python-setuptools -Requires: gcc gdb libstdc++-devel python3-cffi python-setuptools +BuildRequires: gcc libstdc++-devel python3-cffi python3-hatchling python3-hatch-vcs openEuler-rpm-config python3-setuptools +Requires: gcc gdb libstdc++-devel python3-cffi python3-setuptools %package -n python3-pyporter @@ -23,10 +23,10 @@ pyporter is a tool to create spec file and create rpm for python modules. %autosetup -n pyporter-v%{version} -p1 %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} pushd %{buildroot} if [ -d usr/lib ]; then diff --git a/sources b/sources index eb88694..d2f3f03 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2398f4b4984cb2ad94baf8b1de7fd5f8 v1.1.tar.gz +7d3d3942906b9425f746ce40f4e389f0 pyporter-v1.2.tar.gz -- cgit v1.2.3