diff --git a/bindep-2.11.0.tar.gz b/bindep-2.11.0.tar.gz deleted file mode 100644 index 713dadf..0000000 --- a/bindep-2.11.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:acb2f259bce1fd1508873479609bbde5b9aae508378476a68d6b6a19002e7e2f -size 42317 diff --git a/bindep-2.12.0.tar.gz b/bindep-2.12.0.tar.gz new file mode 100644 index 0000000..ab3e4e3 --- /dev/null +++ b/bindep-2.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c06b51e6d0ba3965aad8f3c25f0a574be0f801ba07cb1a78495da895467de760 +size 42752 diff --git a/python-bindep.changes b/python-bindep.changes index 260b6ee..094520b 100644 --- a/python-bindep.changes +++ b/python-bindep.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Jan 27 12:52:44 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 2.12.0 + * Basic support for PopOS is now included. + * Python 2.7 and 3.5 are no longer supported. + * Bindep now depends on the distro python library to determine + details about the current platform. This library looks at both + /etc/os-release and lsb_release to find platform info. The + os-release file data is preferred and at times has slightly + different data than lsb_release. Every effort has been made + to make this transition backward compatible but some things + may have been missed. The motivation for this change is that + not all distros have lsb_release available and we can let the + distro library sort that out for us. +- Drop remove-mock.patch, merged upstream + ------------------------------------------------------------------- Fri May 5 11:04:40 UTC 2023 - Johannes Kastl diff --git a/python-bindep.spec b/python-bindep.spec index 967d086..33947b5 100644 --- a/python-bindep.spec +++ b/python-bindep.spec @@ -1,7 +1,7 @@ # # spec file for package python-bindep # -# Copyright (c) 2023 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 @@ -18,13 +18,12 @@ %{?sle15_python_module_pythons} Name: python-bindep -Version: 2.11.0 +Version: 2.12.0 Release: 0 Summary: Binary dependency utility License: Apache-2.0 URL: https://docs.opendev.org/opendev/bindep Source: https://files.pythonhosted.org/packages/source/b/bindep/bindep-%{version}.tar.gz -Patch0: remove-mock.patch BuildRequires: %{python_module pbr} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros diff --git a/remove-mock.patch b/remove-mock.patch deleted file mode 100644 index 915ebab..0000000 --- a/remove-mock.patch +++ /dev/null @@ -1,32 +0,0 @@ -Index: bindep-2.11.0/bindep/tests/test_main.py -=================================================================== ---- bindep-2.11.0.orig/bindep/tests/test_main.py -+++ bindep-2.11.0/bindep/tests/test_main.py -@@ -24,7 +24,10 @@ from fixtures import FakeLogger - from fixtures import Fixture - from fixtures import MonkeyPatch - from fixtures import TempDir --import mock -+try: -+ from unittest import mock -+except ImportError: -+ import mock - from testtools import TestCase - - from bindep.__main__ import main -Index: bindep-2.11.0/bindep/tests/test_depends.py -=================================================================== ---- bindep-2.11.0.orig/bindep/tests/test_depends.py -+++ bindep-2.11.0/bindep/tests/test_depends.py -@@ -23,7 +23,10 @@ from textwrap import dedent - - import distro - import fixtures --import mock -+try: -+ from unittest import mock -+except ImportError: -+ import mock - import ometa.runtime - from testtools import ExpectedException - from testtools.matchers import Contains