Skip to content

Commit 2139e1f

Browse files
authored
Upgrade: python-alsa to version 1.2.14 (microsoft#11617)
1 parent ed2dda4 commit 2139e1f

File tree

3 files changed

+94
-16
lines changed

3 files changed

+94
-16
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Signatures": {
3-
"pyalsa-1.1.6.tar.bz2": "2771291a5d2cf700f0abbe6629ea37468d1463a01b2330d84ef976e1e918676c",
3+
"pyalsa-1.2.14.tar.bz2": "4603736f40648684196fb826c97704c93ca80b32ec17d066b3276a9ed1a30939",
44
"python-alsa-LICENSE.txt": "dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551"
55
}
66
}

SPECS-EXTENDED/python-alsa/python-alsa.spec

Lines changed: 91 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
Vendor: Microsoft Corporation
22
Distribution: Azure Linux
3-
%define baseversion 1.1.6
3+
%define baseversion 1.2.14
44

55
Summary: Python binding for the ALSA library
66
Name: python-alsa
77
Version: %{baseversion}
8-
Release: 12%{?dist}
9-
License: LGPLv2+
10-
Source0: ftp://ftp.alsa-project.org/pub/pyalsa/pyalsa-%{version}.tar.bz2
8+
Release: 4%{?dist}
9+
License: LGPL-2.1-or-later
10+
Source0: https://www.alsa-project.org/files/pub/pyalsa/pyalsa-%{version}.tar.bz2
1111
Source1: %{name}-LICENSE.txt
1212
URL: http://www.alsa-project.org/
1313
BuildRequires: alsa-lib-devel >= %{version}
1414
BuildRequires: python3-devel
15+
BuildRequires: python3-setuptools
16+
BuildRequires: python3-pytest
17+
BuildRequires: python3-pip
18+
BuildRequires: python3-wheel
1519
BuildRequires: gcc
1620

1721
# Filter private shared library provides
@@ -29,25 +33,99 @@ Summary: %summary
2933
%description -n python3-alsa %_description
3034

3135
%prep
32-
%autosetup -n pyalsa-%{version}
36+
%autosetup -n pyalsa-%{version} -p 1
3337
mv %{SOURCE1} ./LICENSE.txt
3438

39+
%generate_buildrequires
40+
%pyproject_buildrequires
41+
3542
%build
36-
%py3_build
43+
%pyproject_wheel
3744

3845
%install
39-
%py3_install
46+
%pyproject_install
47+
%pyproject_save_files '*'
48+
49+
%check
50+
%pyproject_check_import
4051

41-
%files -n python3-alsa
52+
%files -n python3-alsa -f %{pyproject_files}
4253
%license LICENSE.txt
43-
%{python3_sitearch}/*
4454

4555
%changelog
46-
* Fri Dec 10 2021 Thomas Crain <[email protected]> - 1.1.6-12
47-
- License verified
56+
* Fri Sep 26 2025 Sumit Jena <[email protected]> - 1.2.14-1
57+
- Upgrade to version 1.2.14
58+
- Added check section.
59+
60+
* Wed Dec 18 2024 Sumit Jena <[email protected]> - 1.2.12-4
61+
- Initial Azure Linux import from Fedora 41 (license: MIT).
62+
- License verified.
63+
64+
* Fri Jul 19 2024 Fedora Release Engineering <[email protected]> - 1.2.12-3
65+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
66+
67+
* Tue Jun 11 2024 Python Maint <[email protected]> - 1.2.12-2
68+
- Rebuilt for Python 3.13
69+
70+
* Tue Jun 11 2024 Jaroslav Kysela <[email protected]> - 1.2.12-1
71+
- Updated to 1.2.12
72+
73+
* Fri Jun 07 2024 Python Maint <[email protected]> - 1.2.7-10
74+
- Rebuilt for Python 3.13
75+
76+
* Fri Jan 26 2024 Fedora Release Engineering <[email protected]> - 1.2.7-9
77+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
78+
79+
* Sun Jan 21 2024 Fedora Release Engineering <[email protected]> - 1.2.7-8
80+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
81+
82+
* Fri Jul 21 2023 Fedora Release Engineering <[email protected]> - 1.2.7-7
83+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
84+
85+
* Tue Jun 13 2023 Python Maint <[email protected]> - 1.2.7-6
86+
- Rebuilt for Python 3.12
87+
88+
* Wed Mar 08 2023 Gwyn Ciesla <[email protected]> - 1.2.7-5
89+
- migrated to SPDX license
90+
91+
* Fri Jan 20 2023 Fedora Release Engineering <[email protected]> - 1.2.7-4
92+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
93+
94+
* Fri Jul 22 2022 Fedora Release Engineering <[email protected]> - 1.2.7-3
95+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
96+
97+
* Mon Jun 13 2022 Python Maint <[email protected]> - 1.2.7-2
98+
- Rebuilt for Python 3.11
99+
100+
* Tue May 31 2022 Jaroslav Kysela <[email protected]> - 1.2.7-1
101+
- Updated to 1.2.6
102+
103+
* Fri Jan 21 2022 Fedora Release Engineering <[email protected]> - 1.2.6-2
104+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
105+
106+
* Mon Dec 06 2021 Jaroslav Kysela <[email protected]> - 1.2.6-1
107+
- Updated to 1.2.6
108+
109+
* Fri Jul 23 2021 Fedora Release Engineering <[email protected]> - 1.1.6-17
110+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
111+
112+
* Fri Jun 04 2021 Python Maint <[email protected]> - 1.1.6-16
113+
- Rebuilt for Python 3.10
114+
115+
* Wed Jan 27 2021 Fedora Release Engineering <[email protected]> - 1.1.6-15
116+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
117+
118+
* Thu Dec 10 2020 Gwyn Ciesla <[email protected]> - 1.1.6-14
119+
- Patch for Python 3.10.
120+
121+
* Tue Jul 28 2020 Fedora Release Engineering <[email protected]> - 1.1.6-13
122+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
123+
124+
* Tue Jun 23 2020 Gwyn Ciesla <[email protected]> - 1.1.6-12
125+
- BR python3-setuptools
48126

49-
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.1.6-11
50-
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
127+
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.6-11
128+
- Rebuilt for Python 3.9
51129

52130
* Thu Jan 30 2020 Fedora Release Engineering <[email protected]> - 1.1.6-10
53131
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22043,8 +22043,8 @@
2204322043
"type": "other",
2204422044
"other": {
2204522045
"name": "python-alsa",
22046-
"version": "1.1.6",
22047-
"downloadUrl": "ftp://ftp.alsa-project.org/pub/pyalsa/pyalsa-1.1.6.tar.bz2"
22046+
"version": "1.2.14",
22047+
"downloadUrl": "https://www.alsa-project.org/files/pub/pyalsa/pyalsa-1.2.14.tar.bz2"
2204822048
}
2204922049
}
2205022050
},

0 commit comments

Comments
 (0)