From 38e13d95c96e7e2cdf4d3ba21fd31632fedb4c93b11bc69c6ca819e2deb42b69 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 18 Mar 2024 06:53:12 +0000 Subject: [PATCH] - Add missing {Build,}Requires on importlib-metadata. - Drop unneeded Requires on setuptools. - No more greedy globs in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Chameleon?expand=0&rev=49 --- python-Chameleon.changes | 7 +++++++ python-Chameleon.spec | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-Chameleon.changes b/python-Chameleon.changes index eb3e70a..89649ab 100644 --- a/python-Chameleon.changes +++ b/python-Chameleon.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Mar 18 06:52:50 UTC 2024 - Steve Kowalik + +- Add missing {Build,}Requires on importlib-metadata. +- Drop unneeded Requires on setuptools. +- No more greedy globs in %files. + ------------------------------------------------------------------- Tue Jan 30 12:02:45 UTC 2024 - Dirk Müller diff --git a/python-Chameleon.spec b/python-Chameleon.spec index a06ee51..70786d1 100644 --- a/python-Chameleon.spec +++ b/python-Chameleon.spec @@ -22,16 +22,15 @@ Version: 4.5.2 Release: 0 Summary: Fast HTML/XML Template Compiler License: BSD-3-Clause AND BSD-4-Clause AND Python-2.0 AND ZPL-2.1 -Group: Development/Languages/Python URL: https://github.com/malthe/chameleon Source: https://github.com/malthe/chameleon/archive/%{version}.tar.gz#/Chameleon-%{version}.tar.gz BuildRequires: %{python_module devel >= 3.8} +BuildRequires: %{python_module importlib-metadata} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-setuptools %if %{python_version_nodots} < 310 Requires: python-importlib-metadata %endif @@ -65,6 +64,7 @@ version of Python (2.5 and up, including 3.x and pypy). %files %{python_files} %license LICENSE.txt %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/chameleon +%{python_sitelib}/Chameleon-%{version}.dist-info %changelog