public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-dunamai] rawhide: Update to 1.26.2 upstream release
@ 2026-08-02  8:19 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-02  8:19 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-dunamai
            Branch : rawhide
            Commit : eba9c4a0edf6993bc49eaa944835dbaa477911ae
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-08-02T09:17:51+01:00
            Stats  : +3/-37 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-dunamai/c/eba9c4a0edf6993bc49eaa944835dbaa477911ae?branch=rawhide

            Log:
            Update to 1.26.2 upstream release

- Resolves: rhbz#2510107

Upstream tag: v1.26.2
Upstream commit: 99257d0f

Commit co-authored by Packit automation (https://packit.dev/)

---
diff --git a/README.packit b/README.packit
index ef3579c..d816803 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
 This repository is maintained by packit.
 https://packit.dev/
-The file was generated using packit 1.15.2.post1.dev4+g26d226709.
+The file was generated using packit 1.16.2.

diff --git a/fossil-2.28.patch b/fossil-2.28.patch
deleted file mode 100644
index 6ecce98..0000000
--- a/fossil-2.28.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- a/dunamai/__init__.py
-+++ b/dunamai/__init__.py
-@@ -1813,18 +1813,18 @@
-         code, msg = _run_cmd("fossil branch current", path)
-         branch = msg
- 
--        code, msg = _run_cmd("fossil sql \"SELECT value FROM vvar WHERE name = 'checkout-hash' LIMIT 1\"", path)
-+        code, msg = _run_cmd("fossil sql -quote \"SELECT value FROM vvar WHERE name = 'checkout-hash' LIMIT 1\"", path)
-         commit = msg.strip("'")[:commit_length]
- 
-         code, msg = _run_cmd(
--            'fossil sql "'
-+            'fossil sql -quote "'
-             "SELECT DATETIME(mtime) FROM event JOIN blob ON event.objid=blob.rid WHERE type = 'ci'"
-             " AND uuid = (SELECT value FROM vvar WHERE name = 'checkout-hash' LIMIT 1) LIMIT 1\"",
-             path,
-         )
-         timestamp = dt.datetime.strptime(msg.strip("'") + "+0000", "%Y-%m-%d %H:%M:%S%z")
- 
--        code, msg = _run_cmd("fossil sql \"SELECT count() FROM event WHERE type = 'ci'\"", path)
-+        code, msg = _run_cmd("fossil sql -quote \"SELECT count() FROM event WHERE type = 'ci'\"", path)
-         # The repository creation itself counts as a commit.
-         total_commits = int(msg) - 1
-         if total_commits <= 0:
-@@ -1863,7 +1863,7 @@
-                 WHERE tagxref.tagtype = 1
-                 ORDER BY event.mtime DESC, tagxref.mtime DESC;
-         """
--        code, msg = _run_cmd('fossil sql "{}"'.format(" ".join(query.splitlines())), path)
-+        code, msg = _run_cmd('fossil sql -quote "{}"'.format(" ".join(query.splitlines())), path)
-         if not msg:
-             try:
-                 distance = int(total_commits)

diff --git a/python-dunamai.spec b/python-dunamai.spec
index 0b144f5..9952019 100644
--- a/python-dunamai.spec
+++ b/python-dunamai.spec
@@ -10,7 +10,7 @@ continuous integration and releasing new versions of your software simply by
 creating a tag.}
 
 Name:           python-dunamai
-Version:        1.26.1
+Version:        1.26.2
 Release:        %{autorelease}
 Summary:        Dynamic version generation
 
@@ -18,7 +18,6 @@ Summary:        Dynamic version generation
 License:        MIT
 URL:            https://pypi.org/pypi/dunamai
 Source:         https://github.com/mtkennerly/dunamai/archive/v%{version}/%{name}-%{version}.tar.gz
-Patch:          fossil-2.28.patch
 
 BuildArch:      noarch
 

diff --git a/sources b/sources
index 26b3ca4..6f112cd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (python-dunamai-1.26.1.tar.gz) = f6e25cf252dedba5620acd83ce6e8507113a8a474eede43278b99a838127f6324a3f94f44aac7c1da7a7c5bcf87d31cf73a33a34a5d5d6a3392e81e79008d221
+SHA512 (python-dunamai-1.26.2.tar.gz) = 6c24edfe1a420b91ab3352fbdcae1b79061c0d38c92ce13d8a3bc3e430d87b11cf8220ea680b3849f43ef09d333c4bf7dfe513d30a16ea01101e98a912ac2c9b

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

only message in thread, other threads:[~2026-08-02  8:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-02  8:19 [rpms/python-dunamai] rawhide: Update to 1.26.2 upstream release Benjamin A. Beasley

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