diff --git a/python-yara.spec b/python-yara.spec index 1f8a8f0..9a00228 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,11 +1,9 @@ Name: python-yara -Version: 4.5.1 +Version: 4.5.4 Summary: Python binding for the YARA pattern matching tool License: Apache-2.0 -# TODO: return to 1 with each next release -%global baserelease 6 URL: https://github.com/VirusTotal/yara-python/ -VCS: https://github.com/VirusTotal/yara-python/ +VCS: git:https://github.com/VirusTotal/yara-python/ # https://github.com/VirusTotal/yara-python/tags # https://github.com/VirusTotal/yara-python/releases/ @@ -16,8 +14,8 @@ VCS: https://github.com/VirusTotal/yara-python/ %global gituser VirusTotal %global gitname yara-python -%global gitdate 20240525 -%global commit 2880de0358e1ec871093759d74309f4dc080d726 +%global gitdate 20250527 +%global commit 74920b6da9a70a162b3bdc41b30e4af02e5c7dff %global shortcommit %(c=%{commit}; echo ${c:0:7}) @@ -35,10 +33,10 @@ and a Boolean expression which determine its logic.} %endif %if 0%{?with_release} -Release: %autorelease -b %baserelease +Release: %autorelease Source0: https://github.com/%{gituser}/%{gitname}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz %else -Release: %autorelease -b %baserelease -s %{gitdate}git%{shortcommit} +Release: %autorelease -s %{gitdate}git%{shortcommit} Source0: https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz#/%{name}-%{version}-git%{gitdate}-%{shortcommit}.tar.gz %endif diff --git a/sources b/sources index a5201eb..d7f98ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-yara-4.5.1.tar.gz) = fb3d78cea58a5dcb21287d5211805ef7097c07b9117e4fe78a7e56b40f2520950f0e8d6f1eb3c4253a454e10ca782c3826c19613bd17677bef491ae91f9f9d2a +SHA512 (python-yara-4.5.4.tar.gz) = fee87a2127284a2287c60b14bcd36facf061542da1321ccaa26dbe23c7e8534253434a78c8a65a0c2915bb1331acbdee78b12d02b748ec7d95a106913172a1a2