Skip to content

Commit 06ea845

Browse files
authored
pyxattr: Upgrade Version from 0.7.1 -> 0.7.2 (#12696)
1 parent d8c781b commit 06ea845

5 files changed

Lines changed: 87 additions & 36 deletions

File tree

SPECS-EXTENDED/pyxattr/pyxattr-0.7.1.tar.gz.asc

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
-----BEGIN PGP SIGNATURE-----
2+
3+
iQIzBAABCgAdFiEEy5TjqjsXVdYeuxml9m4+QZ+E9N4FAl/D+d8ACgkQ9m4+QZ+E
4+
9N6Hfg//amV/is8xZQb1tvXLRpTfPM4rWym4mRkufU5zMuEhO42ebHMetpTnbexY
5+
HOPVSSIIiFSlqp1e4SOw8esQYjB6s28/4PXNK/wFUn6Meh6+YF7p7CTADb2goW25
6+
CRxeLkens7Mso6GBrpmSR0AqZB7jMpXd4dmnCjRdR1NUNw3ui+yMnAMKD6zfQNzY
7+
CIufV77EEe2uvJw33i6jHLnpd61bkN+V/r0BN9FA4i8uZMOHzGmtX4siEXDmwAJc
8+
fLCJY2KmEAplDZl6RTgwiTFJJvRQDjhankz3pcUJk1oJa7HTCT4Uq0rOcYBtkNsv
9+
u97GL5Mq9wsTv23v5/L3C1CbTIiAaEkmEexVgDledzr9KS24rzkxMo8D6mBzS1tx
10+
y/hoUqbphsP/QVe8Yhbmy4x+E8dq5SlrPtpS+7xrr3AjLZJAk5l13yWcCEomNGva
11+
alucUhWgylOSIVK9Z4TVxcZgeR/mDuDPBFxw8Cy+EkNpGbA1LVubLIdwo7+zx2r4
12+
OM9TFu+4r9OQXzFOQhBmMbfUJfDO5wTuk3XuG8QlNH0mnOe8lL9fIHxTy+uQySbt
13+
3t/8wAcIp499xwsWHkzZOgKEd9OSxZAzPdJjGsg+nwWlS5TQJQySHAHXup3vc+t0
14+
8X4X76nX2CSqYoM5+3VAzn+YfBh3IQB3phVqrIltBM2otihgNdQ=
15+
=Mm6V
16+
-----END PGP SIGNATURE-----
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"Signatures": {
33
"key.asc": "0cdba4240cac049e5fdd6cff8cf2785c9fb2d69563f414b3d57c1324c42215b1",
4-
"pyxattr-0.7.1.tar.gz": "965388dd629334e850aa989a67d2360ec8257cfe8f67d07c29f980d3152f2882",
5-
"pyxattr-0.7.1.tar.gz.asc": "fe3b8c5e7eba44805fc53cb5af2ac93de3cff96a026edd8871a4ebde8b4b3c6e"
4+
"pyxattr-0.7.2.tar.gz": "68477027e6d3310669f98aaef15393bfcd9b2823d7a7f00a6f1d91a3c971ae64",
5+
"pyxattr-0.7.2.tar.gz.asc": "4ad89609c7cfc1faf3ee60cf2c78560bf89d409ccad84ed96e0fce1faf663542"
66
}
77
}
8+

SPECS-EXTENDED/pyxattr/pyxattr.spec

Lines changed: 66 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
1+
Vendor: Microsoft Corporation
2+
Distribution: Azure Linux
13
Name: pyxattr
24
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}
57
License: LGPLv2+
6-
Vendor: Microsoft Corporation
7-
Distribution: Azure Linux
88
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
1111
Source2: https://k1024.org/files/key.asc
1212

1313
BuildRequires: gcc
1414
BuildRequires: libattr-devel
1515
BuildRequires: python3-devel
16+
BuildRequires: python3-setuptools
1617
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))
2021

2122
%global _description %{expand:
2223
Python extension module wrapper for libattr. It allows to query, list,
@@ -46,22 +47,71 @@ export TEST_IGNORE_XATTRS=security.selinux
4647
# the module is just a C extension => need to add the installed destination to
4748
# PYTHONPATH, otherwise it won't be found
4849
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)'}
5152

5253
%files -n python3-%{name}
53-
%{python3_sitearch}/xattr.cpython-??*
54+
%{python3_sitearch}/xattr.cpython-%{python3_version_nodots}*
5455
%{python3_sitearch}/*egg-info
5556
%license COPYING
5657
%doc NEWS README.md
5758

5859
%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)
6162
- License verified
6263

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
65115

66116
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-3
67117
- 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
@@ -25543,8 +25543,8 @@
2554325543
"type": "other",
2554425544
"other": {
2554525545
"name": "pyxattr",
25546-
"version": "0.7.1",
25547-
"downloadUrl": "https://pyxattr.k1024.org//downloads/pyxattr-0.7.1.tar.gz"
25546+
"version": "0.7.2",
25547+
"downloadUrl": "https://pyxattr.k1024.org//downloads/pyxattr-0.7.2.tar.gz"
2554825548
}
2554925549
}
2555025550
},

0 commit comments

Comments
 (0)