From 2938af2a8fb47866aa19ef08cfea0cde82a59201 Mon Sep 17 00:00:00 2001 From: Erik Reider <35975961+ErikReider@users.noreply.github.com> Date: Thu, 26 Dec 2024 01:38:26 +0100 Subject: [PATCH] Updated RPM spec to auto detect Release --- build-scripts/swaync-git.rpkg.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/swaync-git.rpkg.spec b/build-scripts/swaync-git.rpkg.spec index 3f696a0..df1859a 100644 --- a/build-scripts/swaync-git.rpkg.spec +++ b/build-scripts/swaync-git.rpkg.spec @@ -3,7 +3,7 @@ Name: {{{ git_repo_name }}}-git Version: {{{ git_repo_release lead="$(git describe --tags --abbrev=0)" }}} -Release: 1%{?dist} +Release: {{{ echo -n "$(git rev-list --all --count)" }}}%{?dist} Summary: Notification daemon with GTK GUI Provides: desktop-notification-daemon Provides: sway-notification-center = %{version}-%{release}