diff --git a/py-cpuinfo-8.0.0.tar.gz b/py-cpuinfo-8.0.0.tar.gz deleted file mode 100644 index f5e6988..0000000 --- a/py-cpuinfo-8.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5f269be0e08e33fd959de96b34cd4aeeeacac014dd8305f70eb28d06de2345c5 -size 99791 diff --git a/py-cpuinfo-9.0.0.tar.gz b/py-cpuinfo-9.0.0.tar.gz new file mode 100644 index 0000000..ad4388a --- /dev/null +++ b/py-cpuinfo-9.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3cdbbf3fac90dc6f118bfd64384f309edeadd902d7c8fb17f02ffa1fc3f49690 +size 104716 diff --git a/python-py-cpuinfo.changes b/python-py-cpuinfo.changes index eb860bd..8f6c268 100644 --- a/python-py-cpuinfo.changes +++ b/python-py-cpuinfo.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Fri Nov 11 09:43:10 UTC 2022 - Daniel Garcia + +- Remove rpmlint errors: + * Use postun instead of preun for update-alternatives + * Remove shebang from py files + * More specific python_sitelib in %files + * Remove python_module macro definition + +------------------------------------------------------------------- +Wed Nov 9 18:28:08 UTC 2022 - Yogalakshmi Arunachalam + +- Update to Release 9.0.0 + * Fixed Bug #178: Changes to lscpu breaks parsing of cache info + * Fixed Bug #152: CPU stepping, model, and family values are blank if 0 + * Fixed Bug #177: Officially drop support for Python 2 + * Fixed Bug #171: Replace Python 3.11 deprecated unittest.makeSuite + * Fixed Bug #173: Fix lgtm.com alerts + * Fixed Bug #165: Support Wheel + * Fixed Bug #167: Add support for RISC-V + ------------------------------------------------------------------- Sun Jun 6 11:53:50 UTC 2021 - Dirk Müller diff --git a/python-py-cpuinfo.spec b/python-py-cpuinfo.spec index cdfe65a..7e6004a 100644 --- a/python-py-cpuinfo.spec +++ b/python-py-cpuinfo.spec @@ -1,7 +1,7 @@ # # spec file for package python-py-cpuinfo # -# Copyright (c) 2021 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 @@ -16,10 +16,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without tests Name: python-py-cpuinfo -Version: 8.0.0 +Version: 9.0.0 Release: 0 Summary: Python library and tool to get CPU info License: MIT @@ -30,7 +29,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(preun):update-alternatives +Requires(postun):update-alternatives BuildArch: noarch %python_subpackages @@ -53,6 +52,8 @@ These approaches are used for getting info: %prep %setup -q -n py-cpuinfo-%{version} +# remove shebang +sed -i '1{ /^#!/d; }' cpuinfo/*.py %build %python_build @@ -72,13 +73,14 @@ These approaches are used for getting info: %post %python_install_alternative cpuinfo -%preun +%postun %python_uninstall_alternative cpuinfo %files %{python_files} %license LICENSE %doc README.rst ChangeLog %python_alternative %{_bindir}/cpuinfo -%{python_sitelib}/* +%{python_sitelib}/cpuinfo +%{python_sitelib}/py_cpuinfo-%{version}*-info %changelog