17
0

3 Commits

2 changed files with 20 additions and 9 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Apr 14 16:20:30 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Clean up the SPEC file.
-------------------------------------------------------------------
Mon Apr 14 14:05:53 UTC 2025 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
- Enable sle15_python_module_pythons, no longer builds with old Python
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 2 22:18:34 UTC 2024 - Dirk Müller <dmueller@suse.com> Thu May 2 22:18:34 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-yamlloader # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,23 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons}
Name: python-yamlloader Name: python-yamlloader
Version: 1.4.1 Version: 1.4.1
Release: 0 Release: 0
License: MIT
Summary: Ordered YAML loader and dumper for PyYAML Summary: Ordered YAML loader and dumper for PyYAML
URL: https://github.com/Phynix/yamlloader License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/Phynix/yamlloader
Source: https://files.pythonhosted.org/packages/source/y/yamlloader/yamlloader-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/y/yamlloader/yamlloader-%{version}.tar.gz
BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -46,19 +47,19 @@ feature of regular dicts.)
%prep %prep
%setup -q -n yamlloader-%{version} %setup -q -n yamlloader-%{version}
%autopatch -p1
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
# there are no tests at all. Sorry. # there are no tests at all. Sorry.
%files %{python_files} %files %{python_files}
%{python_sitelib}/* %{python_sitelib}/yamlloader
%{python_sitelib}/yamlloader-%{version}*-info
%changelog %changelog