From f4ad14a7acb016d9c123d36d52de1bb36af92a90 Mon Sep 17 00:00:00 2001 From: siyongchang Date: Tue, 20 Aug 2024 02:54:50 +0000 Subject: [PATCH 1/3] 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 3e81a42790b63e98eccad6c32abde37fba1f2ee8 Mon Sep 17 00:00:00 2001 From: siyongchang Date: Tue, 20 Aug 2024 03:07:19 +0000 Subject: [PATCH 2/3] Added 'Buildarch:noarch' to the help subpackage --- python-pyodbc.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/python-pyodbc.spec b/python-pyodbc.spec index 8aa5996..b97b25e 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} -- Gitee From 2ba6256e0d648f1c66dbdbd9c7d97dcc9ddd4908 Mon Sep 17 00:00:00 2001 From: siyongchang Date: Tue, 20 Aug 2024 03:07:56 +0000 Subject: [PATCH 3/3] update python-pyodbc.spec. Signed-off-by: siyongchang --- python-pyodbc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-pyodbc.spec b/python-pyodbc.spec index b97b25e..fef0020 100644 --- a/python-pyodbc.spec +++ b/python-pyodbc.spec @@ -65,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