From e784403d7dda35171ab68e1954642c4737304095 Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Mon, 19 Aug 2024 16:06:42 +0800 Subject: [PATCH 1/2] Added Buildarch:noarch to the help subpackage --- python-contourpy.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python-contourpy.spec b/python-contourpy.spec index 326a9d0..52a470d 100644 --- a/python-contourpy.spec +++ b/python-contourpy.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-contourpy Version: 1.2.1 -Release: 1 +Release: 2 Summary: Python library for calculating contours of 2D quadrilateral grids License: BSD-3-Clause URL: https://github.com/contourpy/contourpy @@ -20,11 +20,8 @@ BuildRequires: python3-devel %description -n python3-contourpy ContourPy is a Python library for calculating contours of 2D quadrilateral grids. It is written in C++11 and wrapped using pybind11. -%package help -Summary: Development documents and examples for contourpy +%package_help Provides: python3-contourpy-doc -%description help -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-%{version} @@ -48,6 +45,9 @@ if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi %{_docdir}/* %changelog +* Mon Aug 19 2024 chengsongyuxuan - 1.2.1-2 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Wed Jul 31 2024 liudy - 1.2.1-1 - supports Python 3.9 to 3.12. - Support NumPy 2 -- Gitee From 7db8ba909e5f5f691a40695b569eb7f6dd9c6398 Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Tue, 20 Aug 2024 13:49:32 +0800 Subject: [PATCH 2/2] Add Buildarch: noarch to the help subpackage --- python-contourpy.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python-contourpy.spec b/python-contourpy.spec index 52a470d..6d52c45 100644 --- a/python-contourpy.spec +++ b/python-contourpy.spec @@ -20,8 +20,12 @@ BuildRequires: python3-devel %description -n python3-contourpy ContourPy is a Python library for calculating contours of 2D quadrilateral grids. It is written in C++11 and wrapped using pybind11. -%package_help +%package help +Summary: Development documents and examples for contourpy +Buildarch: noarch Provides: python3-contourpy-doc +%description help +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-%{version} @@ -46,7 +50,7 @@ if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi %changelog * Mon Aug 19 2024 chengsongyuxuan - 1.2.1-2 -- Replaced declaration of help subpackage with the 'package_help' macro. +- Add 'Buildarch: noarch' to the help subpackage. * Wed Jul 31 2024 liudy - 1.2.1-1 - supports Python 3.9 to 3.12. -- Gitee