public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-zc-lockfile] rawhide: Update to 4.1 (rhbz#2567196)
@ 2026-11-27  7:34 Dan Radez
  0 siblings, 0 replies; only message in thread
From: Dan Radez @ 2026-11-27  7:34 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-zc-lockfile
            Branch : rawhide
            Commit : b665600e02eea6ce61c2f97f3d13b319d15e0cf1
            Author : Dan Radez <dan@radez.net>
            Date   : 2026-11-27T02:25:36-05:00
            Stats  : +9/-7 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-zc-lockfile/c/b665600e02eea6ce61c2f97f3d13b319d15e0cf1?branch=rawhide

            Log:
            Update to 4.1 (rhbz#2567196)

- Source tarball renamed to zc_lockfile-*.tar.gz (PEP 625); use %pypi_source
- Relax new setuptools upper bound (< 82) for rawhide's setuptools 84
- Docs are now .rst; ship CHANGES.rst and the package README, mark license

---
diff --git a/.gitignore b/.gitignore
index eb82ff1..d011348 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ zc.lockfile-1.0.0.tar.gz
 /zc.lockfile-3.0.tar.gz
 /zc.lockfile-3.0.post1.tar.gz
 /zc.lockfile-4.0.tar.gz
+/zc_lockfile-4.1.tar.gz

diff --git a/python-zc-lockfile.spec b/python-zc-lockfile.spec
index cd28731..5627e86 100644
--- a/python-zc-lockfile.spec
+++ b/python-zc-lockfile.spec
@@ -1,10 +1,10 @@
 Name:           python-zc-lockfile
-Version:        4.0
+Version:        4.1
 Release:        %autorelease
 Summary:        Basic Inter-Process Locks
 License:        ZPL-2.1
-URL:            https://pypi.io/project/zc.lockfile/
-Source0:        https://pypi.io/packages/source/z/zc.lockfile/zc.lockfile-%{version}.tar.gz
+URL:            https://pypi.org/project/zc.lockfile/
+Source0:        %{pypi_source zc_lockfile}
 
 BuildArch:      noarch
 
@@ -38,8 +38,8 @@ database files. The database files and lock file files are separate files.
 
 %prep
 %setup -q -n zc_lockfile-%{version}
-# Relax exact setuptools version pin from upstream
-sed -i 's/setuptools == 78.1.1/setuptools >= 78.1.1/' pyproject.toml tox.ini
+# Drop upstream's setuptools upper bound; Fedora ships newer setuptools
+sed -Ei 's/(setuptools >= [0-9.]+), *< *[0-9.]+/\1/' pyproject.toml tox.ini
 
 %generate_buildrequires
 %pyproject_buildrequires -t
@@ -56,7 +56,8 @@ sed -i 's/setuptools == 78.1.1/setuptools >= 78.1.1/' pyproject.toml tox.ini
 %tox
 
 %files -n python3-zc-lockfile -f %{pyproject_files}
-%doc src/zc/lockfile/*.txt
+%doc CHANGES.rst src/zc/lockfile/README.rst
+%license LICENSE.txt
 
 
 %changelog

diff --git a/sources b/sources
index 19eaa44..4dea88a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (zc.lockfile-4.0.tar.gz) = d6f9a01676710aa50b7a422fa11fd5617ee2806ad6f1d301b2e18460a3a5708eef0d8272aa7a4523b81ea2ca55280b88323fb9c00cb8230b490d63478906ec77
+SHA512 (zc_lockfile-4.1.tar.gz) = 2bf0c873a204c13b1643e34fda6028f9237df3affc37c1dc593532edc5f1eb34b8ea95259ef444767e4d1cec89e729c113eb8a428419a80a1998fa717f347822

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

only message in thread, other threads:[~2026-11-27  7:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27  7:34 [rpms/python-zc-lockfile] rawhide: Update to 4.1 (rhbz#2567196) Dan Radez

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