diff --git a/pkgutil_resolve_name-1.0.0.tar.gz b/pkgutil_resolve_name-1.0.0.tar.gz deleted file mode 100644 index 4ae19a8..0000000 --- a/pkgutil_resolve_name-1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c475862ab6a98cefb65a26766e50e416f2bdaab29074f3493e84808704281ca8 -size 4847 diff --git a/pkgutil_resolve_name-1.3.10.tar.gz b/pkgutil_resolve_name-1.3.10.tar.gz new file mode 100644 index 0000000..4e9c501 --- /dev/null +++ b/pkgutil_resolve_name-1.3.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:357d6c9e6a755653cfd78893817c0853af365dd51ec97f3d358a819373bbd174 +size 5054 diff --git a/python-pkgutil-resolve-name.changes b/python-pkgutil-resolve-name.changes index 0f16457..ff02e12 100644 --- a/python-pkgutil-resolve-name.changes +++ b/python-pkgutil-resolve-name.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Sep 26 14:32:17 UTC 2022 - Ben Greiner + +- Update to 1.3.10 + * no upstream changelog or release notes +- Use PEP517 instead of flit generated distutils setup.py +- New version required by jsonschema + ------------------------------------------------------------------- Sun Jul 5 06:01:38 PM UTC 2020 - John Vandenberg diff --git a/python-pkgutil-resolve-name.spec b/python-pkgutil-resolve-name.spec index 75d2dae..6abaeca 100644 --- a/python-pkgutil-resolve-name.spec +++ b/python-pkgutil-resolve-name.spec @@ -1,7 +1,7 @@ # # spec file for package python-pkgutil-resolve-name # -# 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,14 +18,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pkgutil-resolve-name -Version: 1.0.0 +Version: 1.3.10 Release: 0 Summary: Backport of Python 3.9's pkgutil.resolve_name -License: Python-2.0 AND MIT +License: MIT AND Python-2.0 Group: Development/Languages/Python URL: https://github.com/graingert/pkgutil-resolve-name Source: https://files.pythonhosted.org/packages/source/p/pkgutil_resolve_name/pkgutil_resolve_name-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module flit-core} +BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -39,10 +40,10 @@ resolves a name to an object. %setup -q -n pkgutil_resolve_name-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} # No tests provided in repo of backport @@ -50,6 +51,8 @@ resolves a name to an object. %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/pkgutil_resolve_name.py* +%pycache_only %{python_sitelib}/__pycache__/pkgutil_resolve_name*.pyc +%{python_sitelib}/pkgutil_resolve_name-%{version}*-info %changelog