aboutgitcodebugslistschat
path: root/contrib/fedora/rpkg.macros
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/fedora/rpkg.macros')
-rw-r--r--contrib/fedora/rpkg.macros4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/fedora/rpkg.macros b/contrib/fedora/rpkg.macros
index c9ba03d..2032034 100644
--- a/contrib/fedora/rpkg.macros
+++ b/contrib/fedora/rpkg.macros
@@ -15,6 +15,10 @@ function git_version {
printf "0.git.%s.%s" "$(date -u -I | tr - _)" "$(git rev-parse --short HEAD)"
}
+function git_head {
+ git rev-parse HEAD
+}
+
function passt_git_changelog_entry {
__from="${2}"
__to="${1}"