public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <mschmidt@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/sparse] rawhide: Use snapshot versioning with the caret syntax
Date: Tue, 03 Nov 2026 22:05:55 GMT	[thread overview]
Message-ID: <179374355529.1.1113628699612014533.rpms-sparse-b4402ce36b97@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/sparse
            Branch : rawhide
            Commit : b4402ce36b9756bf104921655b37e8deb3aed5b4
            Author : Michal Schmidt <mschmidt@redhat.com>
            Date   : 2026-11-03T14:00:51+01:00
            Stats  : +7/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/sparse/c/b4402ce36b9756bf104921655b37e8deb3aed5b4?branch=rawhide

            Log:
            Use snapshot versioning with the caret syntax

The Versioning guidelines require snapshots taken from upstream
revision control to carry a snapshot information field after a caret,
consisting of a sorting number and a revision identifier. Use the
commit date and an abbreviated commit hash. The Release tag resets
to 1, as the new Version sorts higher than the previously released
one.

https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_snapshots

---
diff --git a/sparse.spec b/sparse.spec
index 1a5bb68..9d811a5 100644
--- a/sparse.spec
+++ b/sparse.spec
@@ -1,10 +1,12 @@
 Name:       sparse
-Version:    0.6.4
+# post-release git snapshot; the snapshot information field after the caret
+# contains the commit date and the abbreviated commit hash
+Version:    0.6.4^20220627.ce1a6720f6
 
 # git snapshot of upstream sparse, taken after the v0.6.4 release
 %global commit ce1a6720f69e6233ec9abd4e9aae5945e05fda41
 
-Release:    4.gce1a6720f69e%{?dist}.11
+Release:    1%{?dist}
 Summary:    A semantic parser of source files
 License:    MIT
 URL:        https://sparse.wiki.kernel.org
@@ -57,6 +59,9 @@ Sparse is primarily used in the development and debugging of the Linux kernel.
 %{_mandir}/man1/*
 
 %changelog
+* Tue Nov 03 2026 Michal Schmidt <mschmidt@redhat.com> - 0.6.4^20220627.ce1a6720f6-1
+- Use snapshot versioning with the caret syntax per the Versioning guidelines
+
 * Tue Nov 03 2026 Michal Schmidt <mschmidt@redhat.com> - 0.6.4-4.gce1a6720f69e.11
 - Use the kernel.org cgit snapshot tarball as Source0; the tarball formerly
   referenced is no longer available from the dist/ directory

                 reply	other threads:[~2026-11-03 22:05 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=179374355529.1.1113628699612014533.rpms-sparse-b4402ce36b97@fedoraproject.org \
    --to=mschmidt@redhat.com \
    --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