diff --git a/distro-1.7.0.tar.gz b/distro-1.7.0.tar.gz deleted file mode 100644 index a44ede3..0000000 --- a/distro-1.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:151aeccf60c216402932b52e40ee477a939f8d58898927378a02abbe852c1c39 -size 58164 diff --git a/distro-1.8.0.tar.gz b/distro-1.8.0.tar.gz new file mode 100644 index 0000000..16b4ca0 --- /dev/null +++ b/distro-1.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:02e111d1dc6a50abb8eed6bf31c3e48ed8b0830d1ea2a1b78c61765c2513fdd8 +size 59428 diff --git a/python-distro.changes b/python-distro.changes index 0c1b3c3..2df979b 100644 --- a/python-distro.changes +++ b/python-distro.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Jan 2 09:26:27 UTC 2023 - Dirk Müller + +- update to 1.8.0: + * Lowered `LinuxDistribution._distro_release_info` method complexity + [#327] + * Added official support for Buildroot distribution [#329] + * Added official support for Guix distribution [#330] + * Added support for `/etc/debian_version` [#333] & [#349] + * Fixed a typography in CONTRIBUTING.md [#340] + * Improved README.md "Usage" code block [#343] + * Bumped black to v22.3.0 in pre-commit.ci configuration [#331] + * Enabled GitHub Dependabot to keep GitHub Actions up to date [#335] + ------------------------------------------------------------------- Tue Feb 15 19:13:51 UTC 2022 - Sebastian Wagner diff --git a/python-distro.spec b/python-distro.spec index ff0a438..a4f80c3 100644 --- a/python-distro.spec +++ b/python-distro.spec @@ -1,7 +1,7 @@ # # spec file for package python-distro # -# 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 @@ -20,7 +20,7 @@ %{!?license: %global license %doc} %bcond_without test Name: python-distro -Version: 1.7.0 +Version: 1.8.0 Release: 0 Summary: Linux Distribution - a Linux OS platform information API License: Apache-2.0 @@ -28,7 +28,8 @@ Group: Development/Languages/Python URL: https://github.com/nir0s/distro Source: https://files.pythonhosted.org/packages/source/d/distro/distro-%{version}.tar.gz Patch0: assert_locale.patch -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros Requires(post): update-alternatives Requires(postun):update-alternatives @@ -52,10 +53,10 @@ sed -i '1{/\/usr\/bin\/env python/d;}' src/distro/distro.py %patch0 -p1 %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/distro %if %{with test}