1- %{! ?python3_version: %define python3_version %(python3 -c "import sys; sys.stdout.write(sys.version[:3])")}
2- %{! ?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
3- %{! ?__python3: %global __python3 /usr/bin/python3}
4- %{! ?py3_build: %define py3_build CFLAGS= "%{optflags }" %{__python3} setup.py build}
5- %{! ?py3_install: %define py3_install %{__python3} setup.py install --skip-build --root %{buildroot }}
6-
71%global srcname betamax
82
93# tests need internet access therefore disabled by default
104# $ fedpkg mockbuild --enable-network --with=tests
115%bcond_with tests
126
13- Summary: VCR imitation for python-requests
147Name: python-%{srcname }
15- Version: 0.8.1
16- Release: 12%{?dist }
17- License: ASL 2.0
8+ Version: 0.9.0
9+ Release: 4%{?dist }
10+ Summary: VCR imitation for python-requests
11+
12+ License: Apache-2.0
1813URL: https://github.com/sigmavirus24/%{srcname }
1914Vendor: Microsoft Corporation
2015Distribution: Azure Linux
21- Group : Development/Languages
22- Source0: https://github.com/sigmavirus24/%{ srcname }/archive/%{ version }/%{ srcname }-%{ version }.tar.gz
16+ Source0 : %{ url }/archive/%{ version }/%{ srcname }-%{ version }.tar.gz
17+
2318BuildArch: noarch
2419
2520%global _description \
@@ -28,12 +23,11 @@ much easier.
2823
2924%description %{_description }
3025
31- %package -n python3-%{srcname }
26+ %package -n python3-%{srcname }
3227Summary: %{summary }
3328%{?python_provide:%python_provide python3-%{srcname }}
3429BuildRequires: python3-devel
3530BuildRequires: python3-setuptools
36- BuildRequires: python3-xml
3731%if %{with tests }
3832BuildRequires: python3-pytest
3933BuildRequires: python3-requests >= 2.0
@@ -63,14 +57,60 @@ py.test-%{python3_version} -vk "$TEST_SELECTOR"
6357%endif
6458
6559%files -n python3-%{srcname }
66- %license LICENSE
6760%doc README.rst
61+ %license LICENSE
6862%{python3_sitelib }/%{srcname }/
6963%{python3_sitelib }/%{srcname }-* .egg-info/
7064
7165%changelog
72- *
Mon Oct 19 2020 Steve Laughman <[email protected] > -
0.8.1-12 73- - Initial CBL-Mariner import from Fedora 33 (license: MIT)
66+ *
Wed Dec 18 2024 Sumit Jena <[email protected] > -
0.9.0-4 67+ - Initial Azure Linux import from Fedora 41 (license: MIT).
68+ - License verified.
69+
70+ *
Fri Jul 19 2024 Fedora Release Engineering <[email protected] > -
0.9.0-3 71+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
72+
73+ *
Fri Jun 07 2024 Python Maint <[email protected] > -
0.9.0-2 74+ - Rebuilt for Python 3.13
75+
76+ *
Fri Feb 09 2024 Gwyn Ciesla <[email protected] > -
0.9.0-1 77+ - 0.9.0
78+
79+ *
Fri Jan 26 2024 Fedora Release Engineering <[email protected] > -
0.8.1-23 80+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
81+
82+ *
Sun Jan 21 2024 Fedora Release Engineering <[email protected] > -
0.8.1-22 83+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
84+
85+ *
Fri Jul 21 2023 Fedora Release Engineering <[email protected] > -
0.8.1-21 86+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
87+
88+ *
Tue Jun 13 2023 Python Maint <[email protected] > -
0.8.1-20 89+ - Rebuilt for Python 3.12
90+
91+ *
Fri Jan 20 2023 Fedora Release Engineering <[email protected] > -
0.8.1-19 92+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
93+
94+ * Mon Dec 05 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.8.1-18
95+ - Update license tag to SPDX format
96+
97+ *
Fri Jul 22 2022 Fedora Release Engineering <[email protected] > -
0.8.1-17 98+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
99+
100+ *
Mon Jun 13 2022 Python Maint <[email protected] > -
0.8.1-16 101+ - Rebuilt for Python 3.11
102+
103+ *
Fri Jan 21 2022 Fedora Release Engineering <[email protected] > -
0.8.1-15 104+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
105+
106+ *
Fri Jul 23 2021 Fedora Release Engineering <[email protected] > -
0.8.1-14 107+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
108+
109+ *
Fri Jun 04 2021 Python Maint <[email protected] > -
0.8.1-13 110+ - Rebuilt for Python 3.10
111+
112+ *
Wed Jan 27 2021 Fedora Release Engineering <[email protected] > -
0.8.1-12 113+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
74114
75115*
Tue Jul 28 2020 Fedora Release Engineering <[email protected] > -
0.8.1-11 76116- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0 commit comments