diff --git a/compileall2-0.7.1.tar.gz b/compileall2-0.7.1.tar.gz deleted file mode 100644 index fcf5874..0000000 --- a/compileall2-0.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:295c8e1e952a3dfd39d25b0f7598e729113ef1f1323b5e12f49953d1111b8e3d -size 9181 diff --git a/compileall2-0.7.2.tar.gz b/compileall2-0.7.2.tar.gz new file mode 100644 index 0000000..6889b52 --- /dev/null +++ b/compileall2-0.7.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70e2f8499175a5689cb02fd1eeda3d4b67d68437cd3bb7af8d20b175f70e8aae +size 10975 diff --git a/python-compileall2.changes b/python-compileall2.changes index 0a2aa8c..1be47a7 100644 --- a/python-compileall2.changes +++ b/python-compileall2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Jan 7 17:08:43 UTC 2023 - Dirk Müller + +- update to 0.7.2: + * Improved tests + * switch to pyproject.toml + ------------------------------------------------------------------- Fri Jan 28 03:55:46 UTC 2022 - Steve Kowalik diff --git a/python-compileall2.spec b/python-compileall2.spec index 58913cc..f6c1058 100644 --- a/python-compileall2.spec +++ b/python-compileall2.spec @@ -1,7 +1,7 @@ # # spec file for package python-compileall2 # -# 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 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-compileall2 -Version: 0.7.1 +Version: 0.7.2 Release: 0 Summary: Enhanced Python `compileall` module License: Python-2.0 @@ -27,9 +27,10 @@ URL: https://github.com/fedora-python/compileall2 Source: https://files.pythonhosted.org/packages/source/c/compileall2/compileall2-%{version}.tar.gz Source1: https://raw.githubusercontent.com/fedora-python/compileall2/master/LICENSE Source2: https://raw.githubusercontent.com/fedora-python/compileall2/master/test_compileall2.py +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module testsuite} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -44,11 +45,11 @@ cp %{SOURCE1} %{SOURCE2} . %build export LANG=en_US.UTF-8 -%python_build +%pyproject_wheel %install export LANG=en_US.UTF-8 -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/compileall2 %python_expand %fdupes %{buildroot}%{$python_sitelib}