diff --git a/python-shortuuid.changes b/python-shortuuid.changes index 172aa2e..989804f 100644 --- a/python-shortuuid.changes +++ b/python-shortuuid.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Mar 16 13:19:34 UTC 2024 - Dirk Müller + +- update to 1.0.13: + * require python 3.6+ + * switch to poetry + ------------------------------------------------------------------- Sun Jun 25 07:16:19 UTC 2023 - Andreas Schneider diff --git a/python-shortuuid.spec b/python-shortuuid.spec index 06e1c42..b162370 100644 --- a/python-shortuuid.spec +++ b/python-shortuuid.spec @@ -1,7 +1,7 @@ # # spec file for package python-shortuuid # -# Copyright (c) 2023 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,19 +18,21 @@ %{?sle15_python_module_pythons} Name: python-shortuuid -Version: 1.0.11 +Version: 1.0.13 Release: 0 Summary: A generator library for concise, unambiguous and URL-safe UUIDs License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/stochastic-technologies/shortuuid/ Source: https://files.pythonhosted.org/packages/source/s/shortuuid/shortuuid-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry-core} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Requires: python-base BuildArch: noarch %python_subpackages @@ -44,11 +46,12 @@ similar-looking letters and numbers. %setup -q -n shortuuid-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/shortuuid +%python_expand rm %{buildroot}%{$python_sitelib}/COPYING %python_expand %fdupes %{buildroot}%{$python_sitelib} %check diff --git a/shortuuid-1.0.11.tar.gz b/shortuuid-1.0.11.tar.gz deleted file mode 100644 index f8e076d..0000000 --- a/shortuuid-1.0.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fc75f2615914815a8e4cb1501b3a513745cb66ef0fd5fc6fb9f8c3fa3481f789 -size 10523 diff --git a/shortuuid-1.0.13.tar.gz b/shortuuid-1.0.13.tar.gz new file mode 100644 index 0000000..6907519 --- /dev/null +++ b/shortuuid-1.0.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bb9cf07f606260584b1df46399c0b87dd84773e7b25912b7e391e30797c5e72 +size 9662