Name: python3-sympy Version: 1.12 Release: 1%{?dist} Summary: A Python library for symbolic mathematics License: MIT URL: https://www.sympy.org/ Source0: https://openi.pcl.ac.cn/JunJun-Liu/sympy/sympy-1.12.tar.gz BuildArch: noarch BuildRequires: python3-devel Requires: python3 %description SymPy is a Python library for symbolic mathematics. It aims to become a full-featured computer algebra system (CAS) while keeping the code as simple as possible in order to be comprehensible and easily extensible. %prep %autosetup -n sympy-1.12 # 请替换为正确的目录名 %build python3 setup.py build %install python3 setup.py install --skip-build --root %{buildroot} %files %{python3_sitelib}/sympy* %changelog * Wed Feb 28 2024 Junjun Liu <172074482@qq.com> - 1.12-1 - Initial package