From 3023e768ed5f24eca8a6fa20913541bc8146a3c9c5abe79e4dc58966b3b55266 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 2 Jan 2023 20:06:18 +0000 Subject: [PATCH] - update to 0.2.12: * install patiencediff * drop python 3.6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-patiencediff?expand=0&rev=18 --- patiencediff-0.2.11.tar.gz | 3 --- patiencediff-0.2.12.tar.gz | 3 +++ python-patiencediff.changes | 7 +++++++ python-patiencediff.spec | 16 +++++++++++++--- 4 files changed, 23 insertions(+), 6 deletions(-) delete mode 100644 patiencediff-0.2.11.tar.gz create mode 100644 patiencediff-0.2.12.tar.gz diff --git a/patiencediff-0.2.11.tar.gz b/patiencediff-0.2.11.tar.gz deleted file mode 100644 index 5475ee9..0000000 --- a/patiencediff-0.2.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eb808544c8b26f4d12ee79485117c846f1d50235a4882a9a0a7a68e474091021 -size 26812 diff --git a/patiencediff-0.2.12.tar.gz b/patiencediff-0.2.12.tar.gz new file mode 100644 index 0000000..7ef7448 --- /dev/null +++ b/patiencediff-0.2.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7ded9b7f2d5037081a9df63daa16629ce5c23b505f72737a2f332666a76c4232 +size 26936 diff --git a/python-patiencediff.changes b/python-patiencediff.changes index d25ad05..4559bae 100644 --- a/python-patiencediff.changes +++ b/python-patiencediff.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jan 2 20:02:11 UTC 2023 - Dirk Müller + +- update to 0.2.12: + * install patiencediff + * drop python 3.6 + ------------------------------------------------------------------- Tue Dec 13 15:48:46 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-patiencediff.spec b/python-patiencediff.spec index 3d81f6e..13649ba 100644 --- a/python-patiencediff.spec +++ b/python-patiencediff.spec @@ -1,7 +1,7 @@ # # spec file for package python-patiencediff # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,18 +17,20 @@ Name: python-patiencediff -Version: 0.2.11 +Version: 0.2.12 Release: 0 Summary: Python implementation of the patiencediff algorithm License: GPL-2.0-or-later Group: Development/Languages/Python URL: https://github.com/breezy-team/patiencediff Source: https://files.pythonhosted.org/packages/source/p/patiencediff/patiencediff-%{version}.tar.gz -BuildRequires: %{python_module devel} +BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(preun):update-alternatives %python_subpackages %description @@ -44,6 +46,13 @@ export CFLAGS="%{optflags}" %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} +%python_clone -a %{buildroot}%{_bindir}/patiencediff + +%post +%python_install_alternative patiencediff + +%postun +%python_uninstall_alternative patiencediff %check %pytest @@ -51,6 +60,7 @@ export CFLAGS="%{optflags}" %files %{python_files} %doc AUTHORS README.rst %license COPYING +%python_alternative %{_bindir}/patiencediff %{python_sitearch}/patiencediff %{python_sitearch}/patiencediff-%{version}*-info