|
| 1 | +Vendor: Microsoft Corporation |
| 2 | +Distribution: Azure Linux |
1 | 3 | Name: pyxattr |
2 | 4 | Summary: Extended attributes library wrapper for Python |
3 | | -Version: 0.7.1 |
4 | | -Release: 5%{?dist} |
| 5 | +Version: 0.7.2 |
| 6 | +Release: 15%{?dist} |
5 | 7 | License: LGPLv2+ |
6 | | -Vendor: Microsoft Corporation |
7 | | -Distribution: Azure Linux |
8 | 8 | URL: https://pyxattr.k1024.org/ |
9 | | -Source0: %{URL}/downloads/%{name}-%{version}.tar.gz |
10 | | -Source1: %{URL}/downloads/%{name}-%{version}.tar.gz.asc |
| 9 | +Source0: %{url}/downloads/%{name}-%{version}.tar.gz |
| 10 | +Source1: %{url}/downloads/%{name}-%{version}.tar.gz.asc |
11 | 11 | Source2: https://k1024.org/files/key.asc |
12 | 12 |
|
13 | 13 | BuildRequires: gcc |
14 | 14 | BuildRequires: libattr-devel |
15 | 15 | BuildRequires: python3-devel |
| 16 | +BuildRequires: python3-setuptools |
16 | 17 | BuildRequires: gnupg2 |
17 | | -%if 0%{?with_check} |
18 | | -BuildRequires: python3-pip |
19 | | -%endif |
| 18 | +BuildRequires: %{py3_dist pytest} |
| 19 | +# Dependencies |
| 20 | +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
20 | 21 |
|
21 | 22 | %global _description %{expand: |
22 | 23 | Python extension module wrapper for libattr. It allows to query, list, |
@@ -46,22 +47,71 @@ export TEST_IGNORE_XATTRS=security.selinux |
46 | 47 | # the module is just a C extension => need to add the installed destination to |
47 | 48 | # PYTHONPATH, otherwise it won't be found |
48 | 49 | export PYTHONPATH=%{buildroot}%{python3_sitearch}:$PYTHONPATH |
49 | | -pip3 install pytest six |
50 | | -python3 -m pytest test |
| 50 | +# in Copr, skip tests that fail with OSError: [Errno 95] Operation not supported |
| 51 | +python3 -m pytest tests %{?copr_projectname:-k 'not (binary_payload or create_on_existing or empty_value or large_value or many_ops or mixed_access or set_get_remove)'} |
51 | 52 |
|
52 | 53 | %files -n python3-%{name} |
53 | | -%{python3_sitearch}/xattr.cpython-??* |
| 54 | +%{python3_sitearch}/xattr.cpython-%{python3_version_nodots}* |
54 | 55 | %{python3_sitearch}/*egg-info |
55 | 56 | %license COPYING |
56 | 57 | %doc NEWS README.md |
57 | 58 |
|
58 | 59 | %changelog |
59 | | -* Fri Apr 22 2022 Muhammad Falak <mwani@microsoft.com> - 0.7.1-5 |
60 | | -- Drop BR on `pytest` & pip install latest deps to enable ptest |
| 60 | +* Fri Feb 28 2025 Sreenivasulu Malavathula <v-smalavathu@microsoft.com> - 0.7.2-15 |
| 61 | +- Initial Azure Linux import from Fedora 41 (license: MIT) |
61 | 62 | - License verified |
62 | 63 |
|
63 | | -* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.7.1-4 |
64 | | -- Initial CBL-Mariner import from Fedora 32 (license: MIT). |
| 64 | +* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-14 |
| 65 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild |
| 66 | + |
| 67 | +* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.7.2-13 |
| 68 | +- Rebuilt for Python 3.13 |
| 69 | + |
| 70 | +* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-12 |
| 71 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild |
| 72 | + |
| 73 | +* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-11 |
| 74 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild |
| 75 | + |
| 76 | +* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-10 |
| 77 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild |
| 78 | + |
| 79 | +* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.7.2-9 |
| 80 | +- Rebuilt for Python 3.12 |
| 81 | + |
| 82 | +* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-8 |
| 83 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild |
| 84 | + |
| 85 | +* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-7 |
| 86 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild |
| 87 | + |
| 88 | +* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.7.2-6 |
| 89 | +- Rebuilt for Python 3.11 |
| 90 | + |
| 91 | +* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-5 |
| 92 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild |
| 93 | + |
| 94 | +* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-4 |
| 95 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild |
| 96 | + |
| 97 | +* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.7.2-3 |
| 98 | +- Rebuilt for Python 3.10 |
| 99 | + |
| 100 | +* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2 |
| 101 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild |
| 102 | + |
| 103 | +* Tue Dec 1 2020 Dan Čermák <dan.cermak@cgc-instruments.com> - 0.7.2-1 |
| 104 | +- New upstream release 0.7.2 |
| 105 | + |
| 106 | +* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-6 |
| 107 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild |
| 108 | + |
| 109 | +* Tue Jun 23 2020 Dan Čermák <dan.cermak@cgc-instruments.com> - 0.7.1-5 |
| 110 | +- BuildRequire python3-setuptools besides python3-devel |
| 111 | + (see https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/GCPGM34ZGEOVUHSBGZTRYR5XKHTIJ3T7/) |
| 112 | + |
| 113 | +* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 0.7.1-4 |
| 114 | +- Rebuilt for Python 3.9 |
65 | 115 |
|
66 | 116 | * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-3 |
67 | 117 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild |
|
0 commit comments