Upgrade python-distro to 1.6.0 (#1985)
This commit is contained in:
parent
3ca4e2d99e
commit
f62dde61fa
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"distro-1.4.0-github.tar.gz": "47c5b3c88b898e4f4c8eb6849ee379ac89bde9a16cdf6f98e3ef85eb2284980d"
|
||||
"distro-1.6.0.tar.gz": "ab965feb8cb02b3ccb7e403603fbd3e0283640d2b4f2d802f636e9eb5fbb4460"
|
||||
}
|
||||
}
|
|
@ -1,15 +1,19 @@
|
|||
%define debug_package %{nil}
|
||||
Summary: Distro - an OS platform information API
|
||||
Name: python-distro
|
||||
Version: 1.4.0
|
||||
Release: 5%{?dist}
|
||||
Version: 1.6.0
|
||||
Release: 1%{?dist}
|
||||
License: ASL 2.0
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
Group: Development/Languages/Python
|
||||
URL: https://pypi.python.org/pypi/distro
|
||||
#Source0: https://github.com/nir0s/distro/archive/v%{version}.tar.gz
|
||||
Source0: distro-%{version}-github.tar.gz
|
||||
URL: https://distro.readthedocs.io/en/latest/
|
||||
Source0: https://github.com/python-distro/distro/releases/download/v%{version}/distro-%{version}.tar.gz
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
%if %{with_check}
|
||||
BuildRequires: python3-pip
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
|
@ -17,15 +21,8 @@ Distro provides information about the OS distribution it runs on, such as a reli
|
|||
|
||||
%package -n python3-distro
|
||||
Summary: Distro - an OS platform information API
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-xml
|
||||
Requires: mariner-release
|
||||
Requires: python3
|
||||
Requires: python3-libs
|
||||
%if %{with_check}
|
||||
BuildRequires: python3-pip
|
||||
%endif
|
||||
|
||||
%description -n python3-distro
|
||||
Distro provides information about the OS distribution it runs on, such as a reliable machine-readable ID, or version information.
|
||||
|
@ -51,6 +48,9 @@ tox
|
|||
%{_bindir}/*
|
||||
|
||||
%changelog
|
||||
* Mon Jan 24 2022 Thomas Crain <thcrain@microsoft.com> - 1.6.0-1
|
||||
- Upgrade to latest upstream version
|
||||
|
||||
* Wed Oct 20 2021 Thomas Crain <thcrain@microsoft.com> - 1.4.0-5
|
||||
- Add license to python3 package
|
||||
- Remove python2 package
|
||||
|
|
|
@ -22424,8 +22424,8 @@
|
|||
"type": "other",
|
||||
"other": {
|
||||
"name": "python-distro",
|
||||
"version": "1.4.0",
|
||||
"downloadUrl": "https://github.com/nir0s/distro/archive/v1.4.0.tar.gz"
|
||||
"version": "1.6.0",
|
||||
"downloadUrl": "https://github.com/python-distro/distro/releases/download/v1.6.0/distro-1.6.0.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue