From 96aaaea3ff66035c6e2467d160300ffcd7c660b4 Mon Sep 17 00:00:00 2001 From: Carl George Date: May 28 2021 04:08:27 +0000 Subject: Switch to caret versioning --- diff --git a/the_silver_searcher.spec b/the_silver_searcher.spec index 928cc73..79a068c 100644 --- a/the_silver_searcher.spec +++ b/the_silver_searcher.spec @@ -1,21 +1,21 @@ -%global forgeurl https://github.com/ggreer/the_silver_searcher %global commit 5a1c8d83ba1514ca8d045ba80403f93772fb371a +%global shortcommit %(c=%{commit}; echo ${c:0:7}) %global date 2020704 -%forgemeta %bcond_without tests Name: the_silver_searcher -Version: 2.2.0 -Release: 4%{?dist} +Version: 2.2.0^%{date}.%{shortcommit} +Release: 1%{?dist} Summary: Super-fast text searching tool (ag) License: ASL 2.0 and BSD -URL: %{forgeurl} -Source0: %{forgesource} +URL: https://github.com/ggreer/the_silver_searcher +Source0: %{url}/archive/%{commit}/%{name}-%{commit}.tar.gz + # https://github.com/ggreer/the_silver_searcher/pull/1410 Patch0: 0001-Install-shell-completion-files-to-correct-locations.patch -BuildRequires: make +BuildRequires: make BuildRequires: gcc BuildRequires: autoconf BuildRequires: automake @@ -39,7 +39,7 @@ with a focus on speed. %prep -%forgeautosetup -p 1 +%autosetup -n %{name}-%{commit} -p 1 %build @@ -71,6 +71,9 @@ make test %changelog +* Fri May 28 2021 Carl George - 2.2.0^2020704.5a1c8d8-1 +- Switch to caret versioning + * Wed Jan 27 2021 Fedora Release Engineering - 2.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild