From a2bb959301f9ff459e8ea73a78820f2c6a066efd Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Mon, 19 Aug 2024 16:12:58 +0800 Subject: [PATCH 1/3] Added Buildarch:noarch to the help subpackage --- python-contourpy.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/python-contourpy.spec b/python-contourpy.spec index bc6c76f..68382b2 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.0 -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} @@ -46,8 +43,11 @@ if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi %files help %{_docdir}/* - +i %changelog +* Mon Aug 19 2024 chengsongyuxuan - 1.2.0-2 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Thu Feb 22 2024 xu_ping <707078654@qq.com> - 1.2.0-1 - Upgrade version to 1.2.0 -- Gitee From d0f7e316f479d2400d46b1480b3681678616417d Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Tue, 20 Aug 2024 13:52:50 +0800 Subject: [PATCH 2/3] 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 68382b2..89f771b 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 i %changelog * Mon Aug 19 2024 chengsongyuxuan - 1.2.0-2 -- Replaced declaration of help subpackage with the 'package_help' macro. +- Add 'Buildarch: noarch' to the help subpackage. * Thu Feb 22 2024 xu_ping <707078654@qq.com> - 1.2.0-1 - Upgrade version to 1.2.0 -- Gitee From 49a6f958ae19a6d427ae01b48dfde3536ca7052d Mon Sep 17 00:00:00 2001 From: chengsongyuxuan <9119134+chengsongyuxuan@user.noreply.gitee.com> Date: Wed, 21 Aug 2024 05:23:56 +0000 Subject: [PATCH 3/3] update python-contourpy.spec. Signed-off-by: chengsongyuxuan <9119134+chengsongyuxuan@user.noreply.gitee.com> --- python-contourpy.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-contourpy.spec b/python-contourpy.spec index 89f771b..96bee53 100644 --- a/python-contourpy.spec +++ b/python-contourpy.spec @@ -47,7 +47,7 @@ if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi %files help %{_docdir}/* -i + %changelog * Mon Aug 19 2024 chengsongyuxuan - 1.2.0-2 - Add 'Buildarch: noarch' to the help subpackage. -- Gitee