Skip to content

Commit 30f8a24

Browse files
Upgrading python-distro to 1.9.0 (#7834)
1 parent 9ce7b7c commit 30f8a24

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"distro-1.6.0.tar.gz": "ab965feb8cb02b3ccb7e403603fbd3e0283640d2b4f2d802f636e9eb5fbb4460"
3+
"python-distro-1.9.0.tar.gz": "6ede051357868ed427ea71d16fc27f4d63cc0d9c8a32788aa11c450ecefcc76f"
44
}
55
}

SPECS/python-distro/python-distro.spec

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
%define debug_package %{nil}
22
Summary: Distro - an OS platform information API
33
Name: python-distro
4-
Version: 1.6.0
5-
Release: 3%{?dist}
4+
Version: 1.9.0
5+
Release: 1%{?dist}
66
License: ASL 2.0
77
Vendor: Microsoft Corporation
88
Distribution: Azure Linux
99
Group: Development/Languages/Python
1010
URL: https://distro.readthedocs.io/en/latest/
11-
Source0: https://github.com/python-distro/distro/releases/download/v%{version}/distro-%{version}.tar.gz
11+
Source0: https://github.com/python-distro/distro/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
1212
BuildRequires: python3-devel
13-
BuildRequires: python3-setuptools
14-
%if %{with_check}
1513
BuildRequires: python3-pip
16-
%endif
14+
BuildRequires: python3-setuptools
15+
BuildRequires: python3-wheel
1716
BuildArch: noarch
1817

1918
%description
@@ -30,11 +29,14 @@ Distro provides information about the OS distribution it runs on, such as a reli
3029
%prep
3130
%autosetup -n distro-%{version}
3231

32+
%generate_buildrequires
33+
%pyproject_buildrequires
34+
3335
%build
34-
%py3_build
36+
%pyproject_wheel
3537

3638
%install
37-
%py3_install
39+
%pyproject_install
3840

3941
%check
4042
pip3 install pytest
@@ -49,6 +51,10 @@ export LANG=C.UTF-8
4951
%{_bindir}/*
5052

5153
%changelog
54+
* Mon Feb 12 2024 Osama Esmail <[email protected]> - 1.9.0-1
55+
- Update versions for 3.0 release
56+
- Update source URL
57+
5258
* Wed Feb 07 2024 Mykhailo Bykhovtsev <[email protected]> - 1.6.0-3
5359
- Update the runtime dependency from mariner-release to azurelinux-release
5460

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22164,8 +22164,8 @@
2216422164
"type": "other",
2216522165
"other": {
2216622166
"name": "python-distro",
22167-
"version": "1.6.0",
22168-
"downloadUrl": "https://github.com/python-distro/distro/releases/download/v1.6.0/distro-1.6.0.tar.gz"
22167+
"version": "1.9.0",
22168+
"downloadUrl": "https://github.com/python-distro/distro/archive/refs/tags/v1.9.0.tar.gz"
2216922169
}
2217022170
}
2217122171
},

0 commit comments

Comments
 (0)