diff --git a/portpicker-1.3.1.tar.gz b/portpicker-1.3.1.tar.gz deleted file mode 100644 index cfb0c96..0000000 --- a/portpicker-1.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d2cdc776873635ed421315c4d22e63280042456bbfa07397817e687b142b9667 -size 18666 diff --git a/portpicker-1.5.0.tar.gz b/portpicker-1.5.0.tar.gz new file mode 100644 index 0000000..42f04e1 --- /dev/null +++ b/portpicker-1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e13b148008adeb2793cf8b55bcd20fdcec4f763f2d3bf3c45f5e5e5d1df7d228 +size 21351 diff --git a/python-portpicker.changes b/python-portpicker.changes index 06c6af1..7431725 100644 --- a/python-portpicker.changes +++ b/python-portpicker.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jan 16 12:43:43 UTC 2022 - Dirk Müller + +- update to to 1.5.0: + * python 3.10 support + ------------------------------------------------------------------- Mon May 18 20:33:40 UTC 2020 - Matej Cepl diff --git a/python-portpicker.spec b/python-portpicker.spec index 6dbd11d..f56f951 100644 --- a/python-portpicker.spec +++ b/python-portpicker.spec @@ -1,7 +1,7 @@ # # spec file for package python-portpicker # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 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-portpicker -Version: 1.3.1 +Version: 1.5.0 Release: 0 Summary: A library to choose unique available network ports License: Apache-2.0 @@ -27,8 +27,9 @@ URL: https://github.com/google/python_portpicker Source0: https://files.pythonhosted.org/packages/source/p/portpicker/portpicker-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module mock} @@ -42,6 +43,7 @@ harnesses that launch local servers. %prep %setup -q -n portpicker-%{version} +test -f setup.py || echo "import setuptools; setuptools.setup()" > setup.py %build %python_build