public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-pylibmc] epel10.3: pyproject (RHBZ#2378048)
Date: Fri, 25 Sep 2026 17:22:48 GMT	[thread overview]
Message-ID: <179035696819.1.9451984492858503349.rpms-python-pylibmc-7e81937e192b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-pylibmc
Branch : epel10.3
Commit : 7e81937e192bcf06a7b149e7c1806dd4e9f5db04
Author : František Zatloukal <fzatlouk@redhat.com>
Date   : 2025-10-30T22:39:54+01:00
Stats  : +10/-8 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pylibmc/c/7e81937e192bcf06a7b149e7c1806dd4e9f5db04?branch=epel10.3

Log:
pyproject (RHBZ#2378048)

---
diff --git a/python-pylibmc.spec b/python-pylibmc.spec
index bc989fb..2224602 100644
--- a/python-pylibmc.spec
+++ b/python-pylibmc.spec
@@ -17,7 +17,6 @@ Patch01:        292.patch
 
 BuildRequires:  gcc
 BuildRequires:  python3-devel
-BuildRequires:  python3-setuptools
 BuildRequires:  libmemcached-devel
 BuildRequires:  zlib-devel
 
@@ -30,7 +29,6 @@ so that applications can drop-in replace it.
 
 %package -n python3-%{srcname}
 Summary:        %{sum}
-%{?python_provide:%python_provide python3-%{srcname}}
 
 %description -n python3-%{srcname}
 pylibmc is a client in Python 3 for memcached. It is a wrapper
@@ -42,21 +40,25 @@ so that applications can drop-in replace it.
 %prep
 %autosetup -n %{srcname}-%{version} -p1
 
+%generate_buildrequires
+%pyproject_buildrequires
+
 %build
-%py3_build
+%pyproject_wheel
 
 %install
-%py3_install
+%pyproject_install
+%pyproject_save_files %{srcname} '*'
 
 # there is an asterisk in the name of the file,
 # because sometimes the suffix of the architecture is added
 chmod 755 $RPM_BUILD_ROOT%{python3_sitearch}/_pylibmc.cpython-%{python3_version_nodots}*.so
 
-%files -n python3-%{srcname}
+%check
+%pyproject_check_import
+
+%files -n python3-%{srcname} -f %{pyproject_files}
 %doc docs/ LICENSE README.rst
-%{python3_sitearch}/%{srcname}-%{version}*.egg-info
-%{python3_sitearch}/%{srcname}/
-%{python3_sitearch}/*.so
 
 
 %changelog

                 reply	other threads:[~2026-09-25 17:22 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=179035696819.1.9451984492858503349.rpms-python-pylibmc-7e81937e192b@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