public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pylibmc] epel10.3: pyproject (RHBZ#2378048)
@ 2026-09-25 17:22 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-09-25 17:22 UTC (permalink / raw)
  To: git-commits

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-25 17:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25 17:22 [rpms/python-pylibmc] epel10.3: pyproject (RHBZ#2378048) 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox