From f3833a6ed949019b796d781d35ed3a79a6e9d05c70b662ccfed63545d32785d0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 29 Jun 2023 16:54:08 +0000 Subject: [PATCH 1/2] Accepting request 1095814 from home:ecsos:python - Add %{?sle15_python_module_pythons} OBS-URL: https://build.opensuse.org/request/show/1095814 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pychm?expand=0&rev=8 --- python-pychm.changes | 5 +++++ python-pychm.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/python-pychm.changes b/python-pychm.changes index 6e5741a..f354599 100644 --- a/python-pychm.changes +++ b/python-pychm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 28 13:35:34 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + ------------------------------------------------------------------- Thu Mar 19 05:39:59 UTC 2020 - Steve Kowalik diff --git a/python-pychm.spec b/python-pychm.spec index e0b21ed..ad0f003 100644 --- a/python-pychm.spec +++ b/python-pychm.spec @@ -18,6 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define pkgname pychm +%{?sle15_python_module_pythons} Name: python-%{pkgname} Version: 0.8.6 Release: 0 From ca095e0d087211cd5ebcb1026832a3284920ea2f8470189ee4da843a56427e8e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 29 Jun 2023 17:00:01 +0000 Subject: [PATCH 2/2] - Clean up SPEC file. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pychm?expand=0&rev=9 --- python-pychm.changes | 5 +++++ python-pychm.spec | 13 +++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/python-pychm.changes b/python-pychm.changes index f354599..88a6a4f 100644 --- a/python-pychm.changes +++ b/python-pychm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 29 16:59:51 UTC 2023 - Matej Cepl + +- Clean up SPEC file. + ------------------------------------------------------------------- Wed Jun 28 13:35:34 UTC 2023 - ecsos diff --git a/python-pychm.spec b/python-pychm.spec index ad0f003..e210206 100644 --- a/python-pychm.spec +++ b/python-pychm.spec @@ -1,7 +1,7 @@ # -# spec file for package python-pychm +# spec file # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define pkgname pychm %{?sle15_python_module_pythons} +%define pkgname pychm Name: python-%{pkgname} Version: 0.8.6 Release: 0 @@ -52,7 +51,9 @@ export CFLAGS="%{optflags}" %fdupes %{buildroot} %files %{python_files} -%doc COPYING README -%{python_sitearch}/* +%license COPYING +%doc README +%{python_sitearch}/chm +%{python_sitearch}/pychm-%{version}*-info %changelog