diff --git a/pyaml-21.10.1.tar.gz b/pyaml-21.10.1.tar.gz deleted file mode 100644 index dc9be39..0000000 --- a/pyaml-21.10.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c6519fee13bf06e3bb3f20cacdea8eba9140385a7c2546df5dbae4887f768383 -size 20466 diff --git a/pyaml-23.12.0.tar.gz b/pyaml-23.12.0.tar.gz new file mode 100644 index 0000000..4d90266 --- /dev/null +++ b/pyaml-23.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce6f648efdfb1b3a5579f8cedb04facf0fa1e8f64846b639309b585bb322b4e5 +size 26308 diff --git a/python-pyaml.changes b/python-pyaml.changes index 9c841f2..01c551e 100644 --- a/python-pyaml.changes +++ b/python-pyaml.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 9 21:48:48 UTC 2024 - Dirk Müller + +- update to 23.12.0: + * no upstream changelog + ------------------------------------------------------------------- Sat Dec 11 11:38:39 UTC 2021 - Ben Greiner diff --git a/python-pyaml.spec b/python-pyaml.spec index e32b3c0..024eb13 100644 --- a/python-pyaml.spec +++ b/python-pyaml.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyaml # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pyaml -Version: 21.10.1 +Version: 23.12.0 Release: 0 Summary: Python module to produce formatted YAML-serialized data License: WTFPL @@ -33,6 +33,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyYAML Recommends: python-Unidecode +Requires(post): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch %python_subpackages @@ -47,14 +49,22 @@ PyYAML-based python module to produce formatted YAML-serialized data. %install %python_install +%python_clone -a %{buildroot}/%{_bindir}/pyaml %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest +%post +%python_install_alternative pyaml + +%postun +%python_uninstall_alternative pyaml + %files %{python_files} %license COPYING %doc README.rst +%python_alternative %{_bindir}/pyaml %{python_sitelib}/pyaml %{python_sitelib}/pyaml-%{version}*-info