@@ -3,17 +3,26 @@ Distribution: Azure Linux
33%global mod_name blinker
44
55Name: python-blinker
6- Version: 1.4
7- Release: 10 %{?dist }
6+ Version: 1.7.0
7+ Release: 4 %{?dist }
88Summary: Fast, simple object-to-object and broadcast signaling
99
1010License: MIT
11- URL: https://pythonhosted.org/blinker/
12- Source0: http://pypi.python.org/packages/source/b/%{ mod_name }/%{mod_name }-%{version }.tar.gz
11+ URL: https://github.com/pallets-eco/blinker
12+ Source0: %{ url }/releases/download/%{ version }/%{mod_name }-%{version }.tar.gz
1313
1414BuildArch: noarch
1515BuildRequires: python3-devel
16- BuildRequires: python3-setuptools
16+ BuildRequires: python3-pip
17+ BuildRequires: python3-flit-core
18+
19+ # Tests
20+ BuildRequires: python3dist(pytest)
21+ BuildRequires: python3-pytest-asyncio
22+ BuildRequires: python-tox
23+ BuildRequires: python3dist(tox-current-env)
24+ BuildRequires: python-filelock
25+ BuildRequires: python-toml
1726
1827%global _description\
1928Blinker provides a fast dispatching system that allows any number\
@@ -26,29 +35,93 @@ Summary: Fast, simple object-to-object and broadcast signaling
2635%{?python_provide:%python_provide python3-blinker}
2736
2837%description -n python3-blinker
29- Blinker provides a fast dispatching system that allows any number
38+ Blinker provides a fast dispatching system that allows any number
3039of interested parties to subscribe to events, or "signals".
3140
3241%prep
33- %setup -q -n %{mod_name }-%{version }
42+ %autosetup -n %{mod_name }-%{version }
3443
44+ %generate_buildrequires
45+ # requirements in tests.txt are way too tight
46+ %pyproject_buildrequires requirements/tests.in
3547
3648%build
37- %py3_build
49+ %pyproject_wheel
3850
3951%install
40- %py3_install
52+ %pyproject_install
53+ %pyproject_save_files %{mod_name }
54+
55+ %check
56+ %tox
4157
42-
43- %files -n python3-blinker
44- %doc docs/ CHANGES LICENSE README.md PKG-INFO
45- %{python3_sitelib }/* .egg-info
46- %{python3_sitelib }/%{mod_name }
58+ %files -n python3-blinker -f %{pyproject_files }
59+ %doc CHANGES.rst LICENSE.rst README.rst
4760
4861
4962%changelog
50- * Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.4-10
51- - Initial CBL-Mariner import from Fedora 32 (license: MIT).
63+ * Wed Feb 12 2025 Aninda Pradhan <v-anipradhan@microsoft.com> - 1.7.0-4
64+ - Initial Azure Linux import from Fedora 41 (license: MIT)
65+ - License Verified
66+ - Added additional dependencies for successful build and test
67+
68+ * Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-3
69+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
70+
71+ * Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.7.0-2
72+ - Rebuilt for Python 3.13
73+
74+ * Mon Feb 5 2024 José Matos <jamatos@fedoraproject.org> - 1.7.0-1
75+ - Update to 1.7.0
76+
77+ * Mon Feb 5 2024 José Matos <jamatos@fedoraproject.org> - 1.6.3-1
78+ - Update to 1.6.3
79+
80+ * Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-5
81+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
82+
83+ * Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-4
84+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
85+
86+ * Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-3
87+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
88+
89+ * Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 1.6.2-2
90+ - Rebuilt for Python 3.12
91+
92+ * Wed May 10 2023 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.6.2-1
93+ - Bump to blinker 1.6.2 (fixes RHBZ#2183824 )
94+ - Convert spec to pyproject
95+
96+ * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-2
97+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
98+
99+ * Sat Jul 23 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.5-1
100+ - Bump to blinker 1.5 (fixes python 3.11 support)
101+
102+ * Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-17
103+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
104+
105+ * Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.4-16
106+ - Rebuilt for Python 3.11
107+
108+ * Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-15
109+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
110+
111+ * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-14
112+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
113+
114+ * Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1.4-13
115+ - Rebuilt for Python 3.10
116+
117+ * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-12
118+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
119+
120+ * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-11
121+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
122+
123+ * Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.4-10
124+ - Rebuilt for Python 3.9
52125
53126* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-9
54127- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0 commit comments