diff --git a/contourpy-1.0.7.tar.gz b/contourpy-1.2.0.tar.gz similarity index 65% rename from contourpy-1.0.7.tar.gz rename to contourpy-1.2.0.tar.gz index 947e8f10a4bd55f4ef7ac6747b3bf05a471e048b..6df7016ae89e03ee98ebfe0cdba5087181735c6e 100644 Binary files a/contourpy-1.0.7.tar.gz and b/contourpy-1.2.0.tar.gz differ diff --git a/python-contourpy.spec b/python-contourpy.spec index cc027928d0acb170463479e50e481c318312d292..bc6c76f7201a5b1ade14503de0ab72521d7d8618 100644 --- a/python-contourpy.spec +++ b/python-contourpy.spec @@ -1,12 +1,14 @@ %global _empty_manifest_terminate_build 0 Name: python-contourpy -Version: 1.0.7 +Version: 1.2.0 Release: 1 Summary: Python library for calculating contours of 2D quadrilateral grids License: BSD-3-Clause URL: https://github.com/contourpy/contourpy -Source0: https://files.pythonhosted.org/packages/b4/9b/6edb9d3e334a70a212f66a844188fcb57ddbd528cbc3b1fe7abfc317ddd7/contourpy-1.0.7.tar.gz -BuildRequires: python3-pybind11 gcc-c++ python3-pip python3-wheel +Source0: https://files.pythonhosted.org/packages/source/c/contourpy/contourpy-%{version}.tar.gz +BuildRequires: python3-pybind11 gcc-c++ python3-pip python3-wheel +BuildRequires: python3-hatchling python3-hatch-vcs +BuildRequires: python3-meson-python %description ContourPy is a Python library for calculating contours of 2D quadrilateral grids. It is written in C++11 and wrapped using pybind11. @@ -25,13 +27,13 @@ Provides: python3-contourpy-doc ContourPy is a Python library for calculating contours of 2D quadrilateral grids. It is written in C++11 and wrapped using pybind11. %prep -%autosetup -n contourpy-1.0.7 +%autosetup -n contourpy-%{version} %build %pyproject_build %install -%pyproject_install contourpy==%{version} +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -46,5 +48,8 @@ if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi %{_docdir}/* %changelog +* Thu Feb 22 2024 xu_ping <707078654@qq.com> - 1.2.0-1 +- Upgrade version to 1.2.0 + * Fri May 05 2023 wulei - 1.0.7-1 - Package init