public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pymemcache] epel10.3: Migrate to pyproject rpm macros
@ 2026-09-30 11:59 Steve Traylen
0 siblings, 0 replies; only message in thread
From: Steve Traylen @ 2026-09-30 11:59 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-pymemcache
Branch : epel10.3
Commit : d83b4ee8bc1719b294f5ba64a792c17f62e3be96
Author : Steve Traylen <steve.traylen@cern.ch>
Date : 2026-03-28T19:58:52+01:00
Stats : +27/-27 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-pymemcache/c/d83b4ee8bc1719b294f5ba64a792c17f62e3be96?branch=epel10.3
Log:
Migrate to pyproject rpm macros
- Resolves: rhbz#2056298
- Resolves: rhbz#2378519
---
diff --git a/python-pymemcache.spec b/python-pymemcache.spec
index 010230b..3d4a889 100644
--- a/python-pymemcache.spec
+++ b/python-pymemcache.spec
@@ -14,56 +14,56 @@ Patch0001: 0001-Skip-unit-tests-resolving-domain-names.patch
Patch0002: 0002-Unpin-test-requirements-packages.patch
BuildArch: noarch
-%global _description\
-pymemcache supports the following features:\
-\
-* Complete implementation of the memcached text protocol.\
-* Configurable timeouts for socket connect and send/recv calls.\
-* Access to the "noreply" flag, which can significantly increase the speed of\
- writes.\
-* Flexible, simple approach to serialization and deserialization.\
-* The (optional) ability to treat network and memcached errors as cache misses.
+BuildRequires: python3-devel
+BuildRequires: git-core
+
+%global _description %{expand:
+pymemcache supports the following features:
+
+* Complete implementation of the memcached text protocol.
+* Configurable timeouts for socket connect and send/recv calls.
+* Access to the "noreply" flag, which can significantly increase the speed of
+ writes.
+* Flexible, simple approach to serialization and deserialization.
+* The (optional) ability to treat network and memcached errors as cache misses.}
%description %_description
%package -n python3-%{pypi_name}
Summary: A comprehensive, fast, pure Python memcached client
-BuildRequires: git-core
-%{?python_enable_dependency_generator}
-%generate_buildrequires
-%pyproject_buildrequires -t
+
%description -n python3-%{pypi_name}
-pymemcache supports the following features:
+%_description
-* Complete implementation of the memcached text protocol.
-* Configurable timeouts for socket connect and send/recv calls.
-* Access to the "noreply" flag, which can significantly increase the speed of
- writes.
-* Flexible, simple approach to serialization and deserialization.
-* The (optional) ability to treat network and memcached errors as cache misses.
%prep
%autosetup -n %{pypi_name}-%{version} -S git
-# Remove bundled egg-info
-rm -rf %{pypi_name}.egg-info
+
+
+%generate_buildrequires
+%pyproject_buildrequires -t
%build
-%py3_build
+%pyproject_wheel
+
%install
-%py3_install
+%pyproject_install
+
+%pyproject_save_files -l pymemcache
+
%check
py.test-3 ./pymemcache/test/
-%files -n python3-%{pypi_name}
+
+%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.rst LICENSE.txt
-%{python3_sitelib}/%{pypi_name}
-%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
+
%changelog
%autochangelog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-30 11:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-30 11:59 [rpms/python-pymemcache] epel10.3: Migrate to pyproject rpm macros Steve Traylen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox