public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/sparse] rawhide: Use snapshot versioning with the caret syntax
@ 2026-11-03 22:05 Michal Schmidt
0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-11-03 22:05 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-03 22:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 22:05 [rpms/sparse] rawhide: Use snapshot versioning with the caret syntax Michal Schmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox