From 38348e9cb9a2ef4e25da59000feef27faafbf96f3dfe42e646b015b62a18dcf4 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 25 Sep 2023 08:08:44 +0000 Subject: [PATCH 1/2] Accepting request 1113364 from home:mimi_vx:branches:devel:languages:python - use unbundled versioneer to build package OBS-URL: https://build.opensuse.org/request/show/1113364 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-constantly?expand=0&rev=9 --- python-constantly.changes | 5 +++++ python-constantly.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/python-constantly.changes b/python-constantly.changes index 3362cea..034d776 100644 --- a/python-constantly.changes +++ b/python-constantly.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 25 06:55:37 UTC 2023 - Ondřej Súkup + +- use unbundled versioneer to build package + ------------------------------------------------------------------- Fri Apr 21 12:23:35 UTC 2023 - Dirk Müller diff --git a/python-constantly.spec b/python-constantly.spec index 2b4e1cc..516830f 100644 --- a/python-constantly.spec +++ b/python-constantly.spec @@ -27,6 +27,7 @@ Group: Development/Languages/Python URL: https://github.com/twisted/constantly Source: https://files.pythonhosted.org/packages/source/c/constantly/constantly-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module versioneer} BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages @@ -38,6 +39,7 @@ Originally ``twisted.python.constants`` from the `Twisted Date: Mon, 25 Sep 2023 13:30:54 +0000 Subject: [PATCH 2/2] - Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-constantly?expand=0&rev=10 --- python-constantly.changes | 5 +++++ python-constantly.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-constantly.changes b/python-constantly.changes index 034d776..eb673f8 100644 --- a/python-constantly.changes +++ b/python-constantly.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 25 13:30:48 UTC 2023 - Matej Cepl + +- Clean up the SPEC file + ------------------------------------------------------------------- Mon Sep 25 06:55:37 UTC 2023 - Ondřej Súkup diff --git a/python-constantly.spec b/python-constantly.spec index 516830f..e914016 100644 --- a/python-constantly.spec +++ b/python-constantly.spec @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-constantly Version: 15.1.0 @@ -28,6 +27,7 @@ URL: https://github.com/twisted/constantly Source: https://files.pythonhosted.org/packages/source/c/constantly/constantly-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: %{python_module versioneer} +BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages @@ -46,10 +46,12 @@ rm -rf versioneer.py %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/constantly +%{python_sitelib}/constantly-%{version}*-info %changelog