public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/pyxattr] rawhide: Convert to pyproject RPM macros (rhbz#2378421)
Date: Thu, 05 Nov 2026 10:53:50 GMT [thread overview]
Message-ID: <179387603004.1.16205322400708012636.rpms-pyxattr-2cf79a3c8495@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/pyxattr
Branch : rawhide
Commit : 2cf79a3c8495ab8bca8a04f28293971e2307ca05
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-11-04T20:16:58+01:00
Stats : +13/-9 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pyxattr/c/2cf79a3c8495ab8bca8a04f28293971e2307ca05?branch=rawhide
Log:
Convert to pyproject RPM macros (rhbz#2378421)
---
diff --git a/pyxattr.spec b/pyxattr.spec
index 94d413c..7f4b9cc 100644
--- a/pyxattr.spec
+++ b/pyxattr.spec
@@ -1,7 +1,7 @@
Name: pyxattr
Summary: Extended attributes library wrapper for Python
Version: 0.7.2
-Release: 23%{?dist}
+Release: 24%{?dist}
License: LGPL-2.1-or-later
URL: https://pyxattr.k1024.org/
Source0: %{URL}/downloads/%{name}-%{version}.tar.gz
@@ -11,7 +11,6 @@ Source2: https://k1024.org/files/key.asc
BuildRequires: gcc
BuildRequires: libattr-devel
BuildRequires: python3-devel
-BuildRequires: python3-setuptools
BuildRequires: openpgpverify
BuildRequires: %{py3_dist pytest}
@@ -23,7 +22,6 @@ add and remove extended attributes from files and directories.}
%package -n python3-%{name}
Summary: %{summary}
-%{?python_provide:%python_provide python3-%{name}}
%description -n python3-%{name} %_description
@@ -31,13 +29,19 @@ Summary: %{summary}
%{openpgpverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup
+%generate_buildrequires
+%pyproject_buildrequires
+
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l xattr
%check
+%pyproject_check_import
+
# selinux in koji produces unexpected xattrs for tests
export TEST_IGNORE_XATTRS=security.selinux
# the module is just a C extension => need to add the installed destination to
@@ -46,13 +50,13 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch}:$PYTHONPATH
# in Copr, skip tests that fail with OSError: [Errno 95] Operation not supported
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)'}
-%files -n python3-%{name}
-%{python3_sitearch}/xattr.cpython-%{python3_version_nodots}*
-%{python3_sitearch}/*egg-info
-%license COPYING
+%files -n python3-%{name} -f %{pyproject_files}
%doc NEWS README.md
%changelog
+* Wed Nov 04 2026 Miro Hrončok <miro@hroncok.cz> - 0.7.2-24
+- Convert to pyproject RPM macros (rhbz#2378421)
+
* Mon Oct 12 2026 Jakub Jelen <jjelen@redhat.com> - 0.7.2-23
- Verify upstream source signatures with openpgpverify
reply other threads:[~2026-11-05 10:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179387603004.1.16205322400708012636.rpms-pyxattr-2cf79a3c8495@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox