public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Traylen <steve.traylen@cern.ch>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pymemcache] epel10.3: Migrate to pyproject rpm macros
Date: Wed, 30 Sep 2026 11:59:30 GMT	[thread overview]
Message-ID: <179076957052.1.14575346750354652890.rpms-python-pymemcache-d83b4ee8bc17@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-09-30 11:59 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=179076957052.1.14575346750354652890.rpms-python-pymemcache-d83b4ee8bc17@fedoraproject.org \
    --to=steve.traylen@cern.ch \
    --cc=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