From 15b0c8e12bd6ca47b9cbd8bb46a6c7750c5bac59da7e46b79392d99dc336cd37 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Apr 2025 16:18:36 +0000 Subject: [PATCH] Enable sle15_python_module_pythons, no longer builds with old Python OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yamlloader?expand=0&rev=12 --- python-yamlloader.changes | 5 +++++ python-yamlloader.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/python-yamlloader.changes b/python-yamlloader.changes index d92283e..0f8bc69 100644 --- a/python-yamlloader.changes +++ b/python-yamlloader.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 14 14:05:53 UTC 2025 - Georg Pfuetzenreuter + +- Enable sle15_python_module_pythons, no longer builds with old Python + ------------------------------------------------------------------- Thu May 2 22:18:34 UTC 2024 - Dirk Müller diff --git a/python-yamlloader.spec b/python-yamlloader.spec index b744248..204d3e4 100644 --- a/python-yamlloader.spec +++ b/python-yamlloader.spec @@ -1,7 +1,7 @@ # # spec file for package python-yamlloader # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,14 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-yamlloader Version: 1.4.1 Release: 0 -License: MIT Summary: Ordered YAML loader and dumper for PyYAML -URL: https://github.com/Phynix/yamlloader +License: MIT Group: Development/Languages/Python +URL: https://github.com/Phynix/yamlloader Source: https://files.pythonhosted.org/packages/source/y/yamlloader/yamlloader-%{version}.tar.gz BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module devel} @@ -31,7 +31,6 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -59,6 +58,7 @@ feature of regular dicts.) # there are no tests at all. Sorry. %files %{python_files} -%{python_sitelib}/* +%{python_sitelib}/yamlloader +%{python_sitelib}/yamlloader-%{version}*-info %changelog