From 619973c1f144d9ddd9188658ca94e5ce876c5244 Mon Sep 17 00:00:00 2001 From: siyongchang Date: Tue, 20 Aug 2024 02:56:55 +0000 Subject: [PATCH 1/2] Added 'Buildarch:noarch' to the help subpackage --- python-pyodbc.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/python-pyodbc.spec b/python-pyodbc.spec index d618fd9..8aa5996 100644 --- a/python-pyodbc.spec +++ b/python-pyodbc.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-pyodbc Version: 5.1.0 -Release: 2 +Release: 3 Summary: DB API Module for ODBC License: MIT URL: https://github.com/mkleehammer/pyodbc @@ -30,13 +30,8 @@ pyodbc is an open source Python module that makes accessing ODBC databases simple. It implements the DB API 2.0 specification but is packed with even more Pythonic convenience. -%package help -Summary: DB API Module for ODBC +%package_help Provides: python3-pyodbc-doc -%description help -pyodbc is an open source Python module that makes accessing ODBC databases -simple. It implements the DB API 2.0 specification but is packed with even more -Pythonic convenience. %prep %autosetup -n pyodbc-%{version} @@ -63,6 +58,9 @@ if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi %{_docdir}/* %changelog +* Tue Aug 20 2024 siyongchang - 5.1.0-3 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Thu Jul 04 2024 liuzhilin - 5.1.0-2 - Fix Source0 url -- Gitee From d297e90214586efeb4638399679fa3f16c8f5844 Mon Sep 17 00:00:00 2001 From: siyongchang Date: Tue, 20 Aug 2024 03:08:55 +0000 Subject: [PATCH 2/2] Added 'Buildarch:noarch' to the help subpackage --- python-pyodbc.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/python-pyodbc.spec b/python-pyodbc.spec index 8aa5996..fef0020 100644 --- a/python-pyodbc.spec +++ b/python-pyodbc.spec @@ -30,8 +30,14 @@ pyodbc is an open source Python module that makes accessing ODBC databases simple. It implements the DB API 2.0 specification but is packed with even more Pythonic convenience. -%package_help +%package help +Summary: DB API Module for ODBC +Buildarch: noarch Provides: python3-pyodbc-doc +%description help +pyodbc is an open source Python module that makes accessing ODBC databases +simple. It implements the DB API 2.0 specification but is packed with even more +Pythonic convenience. %prep %autosetup -n pyodbc-%{version} @@ -59,7 +65,7 @@ if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi %changelog * Tue Aug 20 2024 siyongchang - 5.1.0-3 -- Replaced declaration of help subpackage with the 'package_help' macro. +- Added 'Buildarch:noarch' to the help subpackage * Thu Jul 04 2024 liuzhilin - 5.1.0-2 - Fix Source0 url -- Gitee