fix build problum
(cherry picked from commit 24949d74093fc2be5c5b05a63fa4db5d6d074817)
This commit is contained in:
parent
7abf3b3d34
commit
81fc0e6343
11
modify_python_require.patch
Normal file
11
modify_python_require.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/setup.cfg 2023-08-21 20:31:42.239883538 +0800
|
||||
+++ c/setup.cfg 2023-08-21 20:31:59.085884393 +0800
|
||||
@@ -3,7 +3,7 @@ keywords = pack unpack bytes structure m
|
||||
platforms = any
|
||||
|
||||
[options]
|
||||
-python_requires = >=3.6.*
|
||||
+python_requires = >=3.11.4
|
||||
setup_requires =
|
||||
setuptools>=39.0.1
|
||||
zip_safe = True
|
||||
@ -3,11 +3,12 @@
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 0.8.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Pack/Unpack Memory.
|
||||
License: MIT
|
||||
URL: https://pypi.org/project/plum-py/
|
||||
Source0: https://files.pythonhosted.org/packages/63/3e/8f54cedec888fe4ba74c8a934751f268c39f5a0858e58702fdf703a41229/plum-py-0.8.0.tar.gz
|
||||
Patch0: modify_python_require.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
@ -16,6 +17,7 @@ The plum-py Python package provides classes and utility functions to transform b
|
||||
|
||||
%package -n python3-plum-py
|
||||
Summary: Pack/Unpack Memory.
|
||||
Requires: python3 >= 3.11.4
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-rpm-generators
|
||||
|
||||
@ -23,7 +25,7 @@ BuildRequires: python3-rpm-generators
|
||||
The plum-py Python package provides classes and utility functions to transform byte sequences into Python objects and back.
|
||||
|
||||
%prep
|
||||
%autosetup -n plum-py-%{version}
|
||||
%autosetup -n plum-py-%{version} -p1
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@ -39,6 +41,9 @@ The plum-py Python package provides classes and utility functions to transform b
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Mon Aug 21 2023 wangjunqi <wangjunqi@kylinos.cn> - 0.8.0-3
|
||||
- fix build problem
|
||||
|
||||
* Mon Jun 6 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.8.0-2
|
||||
- Add BuildRequires : python3-rpm-generators
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user