forked from pool/python-distro
Updating link to change in openSUSE:Factory/python-distro revision 17
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=34d9d2518b5ef9c78a492780d9b775f7
This commit is contained in:
parent
ae4326d191
commit
0fec486ee1
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:151aeccf60c216402932b52e40ee477a939f8d58898927378a02abbe852c1c39
|
||||
size 58164
|
BIN
distro-1.8.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
distro-1.8.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 2 09:26:27 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <sebix+novell.com@sebix.at>
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user