From e1196f33d2ae70f04f449359e2d539bfea778329 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Thu, 7 Mar 2019 19:43:35 -0800 Subject: [PATCH 01/39] Rebuilt to change main python from 3.4 to 3.6 --- python-yara.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-yara.spec b/python-yara.spec index 65c7dfd..65f31ad 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -39,10 +39,10 @@ URL: http://github.com/VirusTotal/yara-python/ %global build_release 1 %if 0%{?build_release} > 0 -Release: %{rel}%{?dist} +Release: %{rel}%{?dist}.1 Source0: https://github.com/%{gituser}/%{gitname}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz %else -Release: %{rel}.%{gitdate}git%{shortcommit}%{?dist} +Release: %{rel}.%{gitdate}git%{shortcommit}%{?dist}.1 Source0: https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz %endif #Build_release @@ -212,6 +212,9 @@ PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3" -v ./tests.py:TestYar #==================================================================== %changelog +* Fri Mar 08 2019 Troy Dawson - 3.8.1-2.1 +- Rebuilt to change main python from 3.4 to 3.6 + * Mon Aug 27 2018 Michal Ambroz - 3.8.1-2 - rebuild with yara 3.8.1 override From 6cc5652a9a659e5d223db651f0e8562eb2440f04 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 16:38:42 +0000 Subject: [PATCH 02/39] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-yara.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-yara.spec b/python-yara.spec index c2d3d98..81ecedd 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,6 +1,6 @@ Name: python-yara Version: 4.1.3 -%global baserelease 2 +%global baserelease 3 Summary: Python binding for the YARA pattern matching tool License: ASL 2.0 URL: http://github.com/VirusTotal/yara-python/ @@ -186,6 +186,9 @@ PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3" -v ./tests.py:TestYar #==================================================================== %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 4.1.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Wed Nov 10 2021 Michal Ambroz - 4.1.3-2 - rebuild due to koji hickup From fc26ff268896fa8e66902cf53f979496851758dd Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Fri, 10 Dec 2021 18:23:54 +0100 Subject: [PATCH 03/39] Use pytest instead of the deprecated nose test runner --- python-yara.spec | 33 +++------------------------------ 1 file changed, 3 insertions(+), 30 deletions(-) diff --git a/python-yara.spec b/python-yara.spec index 81ecedd..72116ed 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -60,7 +60,7 @@ BuildRequires: yara-devel >= %{version} BuildRequires: /usr/bin/sphinx-build BuildRequires: python%{python3_pkgversion}-devel -BuildRequires: python%{python3_pkgversion}-nose +BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-setuptools @@ -132,40 +132,13 @@ Summary: Python2 binding for the YARA pattern matching tool %check %if 0%{?with_check} # ============================================================================== -# Tests for python3 used to always fail on testModuleData testcase -# Tests for python3 used to randomly fail on testCompare testcase -# reported to upstream - https://github.com/VirusTotal/yara-python/issues/21 -# temporarily run the failing tests but ignore the results for those 2 -# EXCLUDE='--exclude=^testCompare$|^testModuleData$' -# seems to be fixed in 3.9.0 -EXCLUDE='--exclude=^nothing$' - -# Yara is not prepared to run on s390 - more tests failing on s390 -# http://s390.koji.fedoraproject.org/kojifiles/work/tasks/9135/2399135/build.log -# https://github.com/VirusTotal/yara-python/issues/25 -# 3.6.3 - testCompileFile started failing - https://kojipkgs.fedoraproject.org//work/tasks/9619/20589619/build.log -# https://github.com/VirusTotal/yara-python/issues/54 -# seems to be fixed in 3.9.0 -%ifarch s390 s390x %{power64} -# EXCLUDE='--exclude=^testCompare$|^testModuleData$|^testEntrypoint$|^testIn$|^testIntegerFunctions$|^testCompileFile$' -EXCLUDE='--exclude=^nothing$' -%endif # 3.9.0 - testModuleData is always failing for architecture armv7hl %ifarch armv7hl -EXCLUDE='--exclude=^testModuleData$' +EXCLUDE='not testModuleData' %endif - -# Find the NOSETEST binary or use false if not present -NOSETESTS3=`ls /usr/bin/nosetests-3.* || which false ` -PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3" -v "$EXCLUDE" - -# Run potentially ignored tests separately so we can at least see the results -PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3" -v ./tests.py:TestYara.testCompare \ - ./tests.py:TestYara.testModuleData ./tests.py:TestYara.testEntrypoint \ - ./tests.py:TestYara.testIn ./tests.py:TestYara.testIntegerFunctions \ - ./tests.py:TestYara.testCompileFile || true +%pytest -k "$EXCLUDE" tests.py -v # with_check %endif From 0feb574bcc46b7ac93ede6839df77ac1f5c7b28c Mon Sep 17 00:00:00 2001 From: Mikel Olasagasti Uranga Date: Sat, 28 May 2022 15:37:17 +0200 Subject: [PATCH 04/39] Update to 4.2.0 --- .gitignore | 1 + python-yara.spec | 76 +++++++++++++++++------------------------------- sources | 2 +- 3 files changed, 28 insertions(+), 51 deletions(-) diff --git a/.gitignore b/.gitignore index 251f12e..9c8d924 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /python-yara-4.0.5.tar.gz /python-yara-4.1.0.tar.gz /python-yara-4.1.3.tar.gz +/python-yara-4.2.0.tar.gz diff --git a/python-yara.spec b/python-yara.spec index 72116ed..4cf0501 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,21 +1,15 @@ Name: python-yara -Version: 4.1.3 -%global baserelease 3 +Version: 4.2.0 +%global baserelease 1 Summary: Python binding for the YARA pattern matching tool License: ASL 2.0 -URL: http://github.com/VirusTotal/yara-python/ -VCS: http://github.com/VirusTotal/yara-python/ -# http://VirusTotal.github.io/yara/ -# https://github.com/VirusTotal/yara-python/releases +URL: https://github.com/VirusTotal/yara-python/ # By default build from a release tarball. # If you want to rebuild from a unversioned commit from git do that with # rpmbuild --rebuild python-yara.src.dpm --without release %bcond_without release -%global srcname yara -%global gituser VirusTotal -%global gitname %{srcname}-python %global commit dc838e211e45442d219012099aaa63efa812c4be %global gitdate 20210427 %global shortcommit %(c=%{commit}; echo ${c:0:7}) @@ -29,27 +23,17 @@ of malware families (or whatever you want to describe) based on textual or binary patterns. Each description, a.k.a rule, consists of a set of strings and a Boolean expression which determine its logic.} -# Do the check during build -%if 0%{?fedora} || ( 0%{?rhel} && 0%{?rhel} >= 7 ) -%global with_check 1 +# Build with python2 support for RHEL7 +%if ( 0%{?rhel} && 0%{?rhel} < 8 ) +%bcond_without python2 %endif -%if ( 0%{?fedora} && 0%{?fedora} >= 30 ) || ( 0%{?rhel} && 0%{?rhel} >= 8 ) - # by default build without the python2 support on systems f30+ or rhel8+ -%bcond_with python2 -%else - # build with the python2 support on system up to f29 and/or rhel7 -%bcond_without python2 -%endif - - - %if 0%{?with_release} Release: %{baserelease}%{?dist} -Source0: https://github.com/%{gituser}/%{gitname}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: https://github.com/VirusTotal/yara-python/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz %else Release: %{baserelease}.%{gitdate}git%{shortcommit}%{?dist} -Source0: https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz +Source0: https://github.com/VirusTotal/yara-python/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz %endif BuildRequires: gcc @@ -75,24 +59,23 @@ BuildRequires: python2-setuptools %{common_description} - #==================================================================== -%package -n python%{python3_pkgversion}-%{srcname} +%package -n python%{python3_pkgversion}-yara Summary: Python3 binding for the YARA pattern matching tool -%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} +%{?python_provide:%python_provide python%{python3_pkgversion}-yara} -%description -n python%{python3_pkgversion}-%{srcname} +%description -n python%{python3_pkgversion}-yara %{common_description} %if 0%{?with_python2} > 0 -%package -n python2-%{srcname} +%package -n python2-yara Summary: Python2 binding for the YARA pattern matching tool -%{?python_provide:%python_provide python2-%{srcname}} +%{?python_provide:%python_provide python2-yara} -%description -n python2-%{srcname} +%description -n python2-yara %{common_description} %endif @@ -100,11 +83,11 @@ Summary: Python2 binding for the YARA pattern matching tool %prep %if 0%{?with_release} # Build from git release version -%autosetup -n %{gitname}-%{version} +%autosetup -n yara-python-%{version} %else # Build from git commit -%autosetup -n %{gitname}-%{commit} +%autosetup -n yara-python-%{commit} %endif @@ -130,35 +113,28 @@ Summary: Python2 binding for the YARA pattern matching tool #==================================================================== %check -%if 0%{?with_check} -# ============================================================================== - -# 3.9.0 - testModuleData is always failing for architecture armv7hl -%ifarch armv7hl -EXCLUDE='not testModuleData' -%endif - -%pytest -k "$EXCLUDE" tests.py -v - -# with_check -%endif - +%pytest tests.py -v #==================================================================== -%files -n python%{python3_pkgversion}-%{srcname} +%files -n python%{python3_pkgversion}-yara %license LICENSE %doc README.rst -%{python3_sitearch}/%{srcname}* +%{python3_sitearch}/yara* %if 0%{?with_python2} > 0 -%files -n python2-%{srcname} +%files -n python2-yara %license LICENSE %doc README.rst -%{python2_sitearch}/%{srcname}* +%{python2_sitearch}/yara* %endif #==================================================================== %changelog +* Fri May 27 2022 Mikel Olasagasti Uranga - 4.2.0-1 +- Bump to 4.2.0 rhbz#2063287 fixes FTBFS rhbz#2064646 +- Minor changes to spec, like using https for URL +- Simplify some of checks for different builds + * Fri Jan 21 2022 Fedora Release Engineering - 4.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 80e0b4b..d90e2ad 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-yara-4.1.3.tar.gz) = 9c96ae78df7694dd55b8bdde4fad49043f120b94477fa9d7090610665072626eba4fa410cd9292205e0b18bb9f384f07288c0340232e163294b91051b84dcab2 +SHA512 (python-yara-4.2.0.tar.gz) = ba08d709fc51679ec9fe36165e0864b79fc241f85c681bf59823fe7bb0e34e928cded050ff296147eb5bcb837485f39949aa93425a0eb9ca8b3730e60fac93f4 From 0a7853c6fb34171b9820217ae17e6801e4f8239b Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 18:23:12 +0200 Subject: [PATCH 05/39] Rebuilt for Python 3.11 --- python-yara.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-yara.spec b/python-yara.spec index 4cf0501..c151aab 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,6 +1,6 @@ Name: python-yara Version: 4.2.0 -%global baserelease 1 +%global baserelease 2 Summary: Python binding for the YARA pattern matching tool License: ASL 2.0 URL: https://github.com/VirusTotal/yara-python/ @@ -130,6 +130,9 @@ Summary: Python2 binding for the YARA pattern matching tool #==================================================================== %changelog +* Mon Jun 13 2022 Python Maint - 4.2.0-2 +- Rebuilt for Python 3.11 + * Fri May 27 2022 Mikel Olasagasti Uranga - 4.2.0-1 - Bump to 4.2.0 rhbz#2063287 fixes FTBFS rhbz#2064646 - Minor changes to spec, like using https for URL From 4ef1161449358ef43baf12ebd7960c591258c1c9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 23:36:12 +0000 Subject: [PATCH 06/39] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-yara.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-yara.spec b/python-yara.spec index c151aab..7de139d 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,6 +1,6 @@ Name: python-yara Version: 4.2.0 -%global baserelease 2 +%global baserelease 3 Summary: Python binding for the YARA pattern matching tool License: ASL 2.0 URL: https://github.com/VirusTotal/yara-python/ @@ -130,6 +130,9 @@ Summary: Python2 binding for the YARA pattern matching tool #==================================================================== %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 4.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 4.2.0-2 - Rebuilt for Python 3.11 From 5e3e36a2b06b6a3987e230814e70a514b8d82592 Mon Sep 17 00:00:00 2001 From: Mikel Olasagasti Uranga Date: Mon, 8 Aug 2022 10:49:45 +0200 Subject: [PATCH 07/39] Skip testModuleData again for F36 --- python-yara.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/python-yara.spec b/python-yara.spec index 7de139d..e4fbcec 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -113,7 +113,13 @@ Summary: Python2 binding for the YARA pattern matching tool #==================================================================== %check -%pytest tests.py -v +# testModuleData is always failing for architecture armv7hl +# Remove once Fedora 36 is EOL +%ifarch armv7hl +EXCLUDE='not testModuleData' +%endif + +%pytest -k "$EXCLUDE" tests.py -v #==================================================================== %files -n python%{python3_pkgversion}-yara From 2bd7b63f3fe9c2e5f83ca79373843e6d5938804b Mon Sep 17 00:00:00 2001 From: Mikel Olasagasti Uranga Date: Mon, 8 Aug 2022 10:51:51 +0200 Subject: [PATCH 08/39] Fix baserelease and add changelog --- python-yara.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-yara.spec b/python-yara.spec index e4fbcec..04dec94 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,6 +1,6 @@ Name: python-yara Version: 4.2.0 -%global baserelease 3 +%global baserelease 4 Summary: Python binding for the YARA pattern matching tool License: ASL 2.0 URL: https://github.com/VirusTotal/yara-python/ @@ -136,6 +136,9 @@ EXCLUDE='not testModuleData' #==================================================================== %changelog +* Fri May 27 2022 Mikel Olasagasti Uranga - 4.2.0-4 +- Skip testModuleData again for F36, fixes rhbz#2116289 + * Fri Jul 22 2022 Fedora Release Engineering - 4.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 401521419d8a2759bbdfc91527815f32161145e5 Mon Sep 17 00:00:00 2001 From: Mikel Olasagasti Uranga Date: Tue, 9 Aug 2022 11:51:37 +0200 Subject: [PATCH 09/39] Rebuilt for yara-4.2.3 --- python-yara.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-yara.spec b/python-yara.spec index 04dec94..7991442 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,6 +1,6 @@ Name: python-yara Version: 4.2.0 -%global baserelease 4 +%global baserelease 5 Summary: Python binding for the YARA pattern matching tool License: ASL 2.0 URL: https://github.com/VirusTotal/yara-python/ @@ -136,7 +136,10 @@ EXCLUDE='not testModuleData' #==================================================================== %changelog -* Fri May 27 2022 Mikel Olasagasti Uranga - 4.2.0-4 +* Tue Aug 09 2022 Mikel Olasagasti Uranga - 4.2.0-5 +- Rebuilt for yara-4.2.3 + +* Mon Aug 08 2022 Mikel Olasagasti Uranga - 4.2.0-4 - Skip testModuleData again for F36, fixes rhbz#2116289 * Fri Jul 22 2022 Fedora Release Engineering - 4.2.0-3 From 5f9aff5b8c94524a90ae29f90b5620cc29035c07 Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Tue, 1 Nov 2022 15:57:17 +0100 Subject: [PATCH 10/39] bump to 4.2.3 --- .gitignore | 1 + python-yara.spec | 11 +++++++---- sources | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 9c8d924..9900f72 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /python-yara-4.1.0.tar.gz /python-yara-4.1.3.tar.gz /python-yara-4.2.0.tar.gz +/python-yara-4.2.3.tar.gz diff --git a/python-yara.spec b/python-yara.spec index 7991442..4d3a80e 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,6 +1,6 @@ Name: python-yara -Version: 4.2.0 -%global baserelease 5 +Version: 4.2.3 +%global baserelease 1 Summary: Python binding for the YARA pattern matching tool License: ASL 2.0 URL: https://github.com/VirusTotal/yara-python/ @@ -10,8 +10,8 @@ URL: https://github.com/VirusTotal/yara-python/ # rpmbuild --rebuild python-yara.src.dpm --without release %bcond_without release -%global commit dc838e211e45442d219012099aaa63efa812c4be -%global gitdate 20210427 +%global commit 8106b84fa967bcd2fff4f5a40e558c36bb8d54e8 +%global gitdate 20220809 %global shortcommit %(c=%{commit}; echo ${c:0:7}) @@ -136,6 +136,9 @@ EXCLUDE='not testModuleData' #==================================================================== %changelog +* Tue Nov 01 2022 Michal Ambroz - 4.2.3-1 +- Rebuilt for yara-4.2.3 - second service :) + * Tue Aug 09 2022 Mikel Olasagasti Uranga - 4.2.0-5 - Rebuilt for yara-4.2.3 diff --git a/sources b/sources index d90e2ad..0e1be0c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-yara-4.2.0.tar.gz) = ba08d709fc51679ec9fe36165e0864b79fc241f85c681bf59823fe7bb0e34e928cded050ff296147eb5bcb837485f39949aa93425a0eb9ca8b3730e60fac93f4 +SHA512 (python-yara-4.2.3.tar.gz) = 588875d820f4e1b2aa5c6bbe83814ba2756f5ed301ba652efd280d5ca9745f7388f1f9eaa3875d11de5644ce9c41dcb76eebbee86269f8d6723c7d16ffa134be From 7d6b7c647e66b94ffdaab54c608bd68648d19bf5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 18:34:26 +0000 Subject: [PATCH 11/39] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-yara.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-yara.spec b/python-yara.spec index 4d3a80e..f512a88 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,6 +1,6 @@ Name: python-yara Version: 4.2.3 -%global baserelease 1 +%global baserelease 2 Summary: Python binding for the YARA pattern matching tool License: ASL 2.0 URL: https://github.com/VirusTotal/yara-python/ @@ -136,6 +136,9 @@ EXCLUDE='not testModuleData' #==================================================================== %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 4.2.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Tue Nov 01 2022 Michal Ambroz - 4.2.3-1 - Rebuilt for yara-4.2.3 - second service :) From 35e9517eb744cee220f11f94aafc50ce85c5faf4 Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Wed, 25 Jan 2023 14:18:27 +0100 Subject: [PATCH 12/39] fix %check / %pytest for EPEL7 --- python-yara.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/python-yara.spec b/python-yara.spec index f512a88..dbc3f4d 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -24,7 +24,7 @@ binary patterns. Each description, a.k.a rule, consists of a set of strings and a Boolean expression which determine its logic.} # Build with python2 support for RHEL7 -%if ( 0%{?rhel} && 0%{?rhel} < 8 ) +%if ( 0%{?rhel} && 0%{?rhel} <= 7 ) %bcond_without python2 %endif @@ -119,7 +119,17 @@ Summary: Python2 binding for the YARA pattern matching tool EXCLUDE='not testModuleData' %endif -%pytest -k "$EXCLUDE" tests.py -v +%if ( 0%{?rhel} && 0%{?rhel} <= 7 ) +export CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}" +export PATH="%{buildroot}%{_bindir}:$PATH" +export PYTHONPATH="${PYTHONPATH:-%{buildroot}%{python3_sitearch}:%{buildroot}%{python3_sitelib}}" +export PYTHONDONTWRITEBYTECODE=1 +export PYTEST_XDIST_AUTO_NUM_WORKERS=%{_smp_build_ncpus}} +pytest-3 -k "$EXCLUDE" tests.py -v +%else +%pytest3 -k "$EXCLUDE" tests.py -v +%endif + #==================================================================== %files -n python%{python3_pkgversion}-yara From 566e24e283c9ff72ce3794aac28755873f96cf8b Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Thu, 26 Jan 2023 03:19:03 +0100 Subject: [PATCH 13/39] fix rhel7 build --- python-yara.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-yara.spec b/python-yara.spec index dbc3f4d..3efe361 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -127,7 +127,7 @@ export PYTHONDONTWRITEBYTECODE=1 export PYTEST_XDIST_AUTO_NUM_WORKERS=%{_smp_build_ncpus}} pytest-3 -k "$EXCLUDE" tests.py -v %else -%pytest3 -k "$EXCLUDE" tests.py -v +%pytest -k "$EXCLUDE" tests.py -v %endif From 73ff085bf49738dadb302d0fbcf60260d1794393 Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Fri, 31 Mar 2023 03:15:09 +0200 Subject: [PATCH 14/39] bump to 4.3.0 --- python-yara.spec | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/python-yara.spec b/python-yara.spec index 3efe361..7a547af 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,15 +1,19 @@ Name: python-yara -Version: 4.2.3 -%global baserelease 2 +Version: 4.3.0 +%global baserelease 1 Summary: Python binding for the YARA pattern matching tool -License: ASL 2.0 +License: Apache-2.0 URL: https://github.com/VirusTotal/yara-python/ +VCS: https://github.com/VirusTotal/yara-python/ +# https://github.com/VirusTotal/yara-python/releases/ # By default build from a release tarball. # If you want to rebuild from a unversioned commit from git do that with # rpmbuild --rebuild python-yara.src.dpm --without release %bcond_without release +%global gituser VirusTotal +%global gitname yara-python %global commit 8106b84fa967bcd2fff4f5a40e558c36bb8d54e8 %global gitdate 20220809 %global shortcommit %(c=%{commit}; echo ${c:0:7}) @@ -30,10 +34,10 @@ and a Boolean expression which determine its logic.} %if 0%{?with_release} Release: %{baserelease}%{?dist} -Source0: https://github.com/VirusTotal/yara-python/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: https://github.com/%{gituser}/%{gitname}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz %else Release: %{baserelease}.%{gitdate}git%{shortcommit}%{?dist} -Source0: https://github.com/VirusTotal/yara-python/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz +Source0: https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz#/%{name}-%{version}-git%{gitdate}-%{shortcommit}.tar.gz %endif BuildRequires: gcc @@ -146,6 +150,9 @@ pytest-3 -k "$EXCLUDE" tests.py -v #==================================================================== %changelog +* Thu Mar 30 2023 Michal Ambroz - 4.3.0-1 +- bump to 4.3.0 + * Fri Jan 20 2023 Fedora Release Engineering - 4.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 79dfb519755b5441cbd4b27353997701f3d89bd0 Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Fri, 31 Mar 2023 03:17:37 +0200 Subject: [PATCH 15/39] python-yara ... bump to 4.3.0 From 28a5b6b6b715f7dfe4093370f1d5f3ca9863ffa0 Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Fri, 31 Mar 2023 03:19:33 +0200 Subject: [PATCH 16/39] yara cleanup --- .gitignore | 17 +---------------- sources | 2 +- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 9900f72..14b9a7b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,16 +1 @@ -/python-yara-3.5.0-9fd9fd2.tar.gz -/python-yara-3.6.3.tar.gz -/python-yara-3.7.0.tar.gz -/python-yara-3.8.1.tar.gz -/python-yara-3.9.0.tar.gz -/python-yara-3.11.0.tar.gz -/python-yara-4.0.0.tar.gz -/python-yara-4.0.1.tar.gz -/python-yara-4.0.2.tar.gz -/python-yara-4.0.3.tar.gz -/python-yara-4.0.4.tar.gz -/python-yara-4.0.5.tar.gz -/python-yara-4.1.0.tar.gz -/python-yara-4.1.3.tar.gz -/python-yara-4.2.0.tar.gz -/python-yara-4.2.3.tar.gz +/python-yara-*.tar.gz diff --git a/sources b/sources index 0e1be0c..7a3cdd0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-yara-4.2.3.tar.gz) = 588875d820f4e1b2aa5c6bbe83814ba2756f5ed301ba652efd280d5ca9745f7388f1f9eaa3875d11de5644ce9c41dcb76eebbee86269f8d6723c7d16ffa134be +SHA512 (python-yara-4.3.0.tar.gz) = c45bb57179b4191e6fb5577f42abb280dad91832720ad1712de8a2ea42adc5e3604079b2d8d0020ba86ece4043e7488889a54677e10cd2bc172a1480e57f1fef From 2fc27fb829e931c008521fe055131b0e71c85c6a Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Wed, 26 Apr 2023 02:41:53 +0200 Subject: [PATCH 17/39] bump to 4.3.1 --- python-yara.spec | 9 ++++++--- sources | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/python-yara.spec b/python-yara.spec index 7a547af..08c78b0 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,5 +1,5 @@ Name: python-yara -Version: 4.3.0 +Version: 4.3.1 %global baserelease 1 Summary: Python binding for the YARA pattern matching tool License: Apache-2.0 @@ -14,8 +14,8 @@ VCS: https://github.com/VirusTotal/yara-python/ %global gituser VirusTotal %global gitname yara-python -%global commit 8106b84fa967bcd2fff4f5a40e558c36bb8d54e8 -%global gitdate 20220809 +%global commit 37dcb76cd5a07c62e6ed2646968c496e22e70729 +%global gitdate 20230421 %global shortcommit %(c=%{commit}; echo ${c:0:7}) @@ -150,6 +150,9 @@ pytest-3 -k "$EXCLUDE" tests.py -v #==================================================================== %changelog +* Wed Apr 26 2023 Michal Ambroz - 4.3.1-1 +- bump to 4.3.1 + * Thu Mar 30 2023 Michal Ambroz - 4.3.0-1 - bump to 4.3.0 diff --git a/sources b/sources index 7a3cdd0..ef82b4d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-yara-4.3.0.tar.gz) = c45bb57179b4191e6fb5577f42abb280dad91832720ad1712de8a2ea42adc5e3604079b2d8d0020ba86ece4043e7488889a54677e10cd2bc172a1480e57f1fef +SHA512 (python-yara-4.3.1.tar.gz) = 78cd53f756967ef79cc742acffaeea53631ee475c07efd1506eba7e0630b2e570ba03686da1fa3247c9339faa67daf6c372913731b73233626661c0a9f575e41 From 93c6a6ffcf1575b8a7c8d7225a7a16f46c32525d Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 14 Jun 2023 06:18:15 +0200 Subject: [PATCH 18/39] Rebuilt for Python 3.12 --- python-yara.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-yara.spec b/python-yara.spec index 08c78b0..c793afd 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,6 +1,6 @@ Name: python-yara Version: 4.3.1 -%global baserelease 1 +%global baserelease 2 Summary: Python binding for the YARA pattern matching tool License: Apache-2.0 URL: https://github.com/VirusTotal/yara-python/ @@ -150,6 +150,9 @@ pytest-3 -k "$EXCLUDE" tests.py -v #==================================================================== %changelog +* Wed Jun 14 2023 Python Maint - 4.3.1-2 +- Rebuilt for Python 3.12 + * Wed Apr 26 2023 Michal Ambroz - 4.3.1-1 - bump to 4.3.1 From 74610fcbd432d4c719971c2125fe8a38783323f5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 15:29:57 +0000 Subject: [PATCH 19/39] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-yara.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-yara.spec b/python-yara.spec index c793afd..64e1955 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,6 +1,6 @@ Name: python-yara Version: 4.3.1 -%global baserelease 2 +%global baserelease 3 Summary: Python binding for the YARA pattern matching tool License: Apache-2.0 URL: https://github.com/VirusTotal/yara-python/ @@ -150,6 +150,9 @@ pytest-3 -k "$EXCLUDE" tests.py -v #==================================================================== %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 4.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Wed Jun 14 2023 Python Maint - 4.3.1-2 - Rebuilt for Python 3.12 From 8e66c543d213597ffe90b1304db0df0d23ad512d Mon Sep 17 00:00:00 2001 From: Mikel Olasagasti Uranga Date: Fri, 25 Aug 2023 11:36:39 +0200 Subject: [PATCH 20/39] Include fix for python-3.12 - Closes rhbz#2226378 rhbz#2220571 --- 238.patch | 75 ++++++++++++++++++++++++++++++++++++++++++++++++ python-yara.spec | 8 +++++- 2 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 238.patch diff --git a/238.patch b/238.patch new file mode 100644 index 0000000..2fb1979 --- /dev/null +++ b/238.patch @@ -0,0 +1,75 @@ +From a7b3035175488cd26791cd7f935eb1ed03de304a Mon Sep 17 00:00:00 2001 +From: "Victor M. Alvarez" +Date: Wed, 2 Aug 2023 14:42:32 +0200 +Subject: [PATCH] Fix segfault in Python 3.12b4 + +In `flo_read` and `flo_write` there were calls to `Py_DECREF` after releasing the GIL. + +Closes #237 +--- + yara-python.c | 34 ++++++++++++++++------------------ + 1 file changed, 16 insertions(+), 18 deletions(-) + +diff --git a/yara-python.c b/yara-python.c +index 1d851b9..714317c 100644 +--- a/yara-python.c ++++ b/yara-python.c +@@ -1394,29 +1394,28 @@ static size_t flo_read( + PyObject* bytes = PyObject_CallMethod( + (PyObject*) user_data, "read", "n", (Py_ssize_t) size); + +- PyGILState_Release(gil_state); +- +- if (bytes != NULL) ++ if (bytes == NULL) + { +- Py_ssize_t len; +- char* buffer; +- +- int result = PyBytes_AsStringAndSize(bytes, &buffer, &len); ++ PyGILState_Release(gil_state); ++ return i; ++ } + +- if (result == -1 || (size_t) len < size) +- { +- Py_DECREF(bytes); +- return i; +- } ++ Py_ssize_t len; ++ char* buffer; + +- memcpy((char*) ptr + i * size, buffer, size); ++ int result = PyBytes_AsStringAndSize(bytes, &buffer, &len); + +- Py_DECREF(bytes); +- } +- else ++ if (result == -1 || (size_t) len < size) + { ++ Py_DECREF(bytes); ++ PyGILState_Release(gil_state); + return i; + } ++ ++ memcpy((char*) ptr + i * size, buffer, size); ++ ++ Py_DECREF(bytes); ++ PyGILState_Release(gil_state); + } + + return count; +@@ -1444,12 +1443,11 @@ static size_t flo_write( + (PyObject*) user_data, "write", "s#", (char*) ptr + i * size, size); + #endif + ++ Py_XDECREF(result); + PyGILState_Release(gil_state); + + if (result == NULL) + return i; +- +- Py_DECREF(result); + } + + return count; diff --git a/python-yara.spec b/python-yara.spec index 64e1955..47d9575 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,6 +1,6 @@ Name: python-yara Version: 4.3.1 -%global baserelease 3 +%global baserelease 4 Summary: Python binding for the YARA pattern matching tool License: Apache-2.0 URL: https://github.com/VirusTotal/yara-python/ @@ -40,6 +40,9 @@ Release: %{baserelease}.%{gitdate}git%{shortcommit}%{?dist} Source0: https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz#/%{name}-%{version}-git%{gitdate}-%{shortcommit}.tar.gz %endif +# https://github.com/VirusTotal/yara-python/pull/238 +Patch0: 238.patch + BuildRequires: gcc BuildRequires: pkgconfig(yara) BuildRequires: libtool @@ -150,6 +153,9 @@ pytest-3 -k "$EXCLUDE" tests.py -v #==================================================================== %changelog +* Fri Aug 25 2023 Mikel Olasagasti Uranga - 4.3.1-4 +- Fix rhbz#2226378 rhbz#2220571 + * Fri Jul 21 2023 Fedora Release Engineering - 4.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 74b0957ee05b394542508ffa923142cfd8ca1774 Mon Sep 17 00:00:00 2001 From: Mikel Olasagasti Uranga Date: Sun, 17 Sep 2023 11:26:41 +0200 Subject: [PATCH 21/39] Update to 4.4.0 - Closes rhbz#2239307 --- 238.patch | 75 ------------------------------------------------ python-yara.spec | 14 ++++----- sources | 2 +- 3 files changed, 8 insertions(+), 83 deletions(-) delete mode 100644 238.patch diff --git a/238.patch b/238.patch deleted file mode 100644 index 2fb1979..0000000 --- a/238.patch +++ /dev/null @@ -1,75 +0,0 @@ -From a7b3035175488cd26791cd7f935eb1ed03de304a Mon Sep 17 00:00:00 2001 -From: "Victor M. Alvarez" -Date: Wed, 2 Aug 2023 14:42:32 +0200 -Subject: [PATCH] Fix segfault in Python 3.12b4 - -In `flo_read` and `flo_write` there were calls to `Py_DECREF` after releasing the GIL. - -Closes #237 ---- - yara-python.c | 34 ++++++++++++++++------------------ - 1 file changed, 16 insertions(+), 18 deletions(-) - -diff --git a/yara-python.c b/yara-python.c -index 1d851b9..714317c 100644 ---- a/yara-python.c -+++ b/yara-python.c -@@ -1394,29 +1394,28 @@ static size_t flo_read( - PyObject* bytes = PyObject_CallMethod( - (PyObject*) user_data, "read", "n", (Py_ssize_t) size); - -- PyGILState_Release(gil_state); -- -- if (bytes != NULL) -+ if (bytes == NULL) - { -- Py_ssize_t len; -- char* buffer; -- -- int result = PyBytes_AsStringAndSize(bytes, &buffer, &len); -+ PyGILState_Release(gil_state); -+ return i; -+ } - -- if (result == -1 || (size_t) len < size) -- { -- Py_DECREF(bytes); -- return i; -- } -+ Py_ssize_t len; -+ char* buffer; - -- memcpy((char*) ptr + i * size, buffer, size); -+ int result = PyBytes_AsStringAndSize(bytes, &buffer, &len); - -- Py_DECREF(bytes); -- } -- else -+ if (result == -1 || (size_t) len < size) - { -+ Py_DECREF(bytes); -+ PyGILState_Release(gil_state); - return i; - } -+ -+ memcpy((char*) ptr + i * size, buffer, size); -+ -+ Py_DECREF(bytes); -+ PyGILState_Release(gil_state); - } - - return count; -@@ -1444,12 +1443,11 @@ static size_t flo_write( - (PyObject*) user_data, "write", "s#", (char*) ptr + i * size, size); - #endif - -+ Py_XDECREF(result); - PyGILState_Release(gil_state); - - if (result == NULL) - return i; -- -- Py_DECREF(result); - } - - return count; diff --git a/python-yara.spec b/python-yara.spec index 47d9575..eca03d9 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,6 +1,6 @@ Name: python-yara -Version: 4.3.1 -%global baserelease 4 +Version: 4.4.0 +%global baserelease 1 Summary: Python binding for the YARA pattern matching tool License: Apache-2.0 URL: https://github.com/VirusTotal/yara-python/ @@ -14,8 +14,8 @@ VCS: https://github.com/VirusTotal/yara-python/ %global gituser VirusTotal %global gitname yara-python -%global commit 37dcb76cd5a07c62e6ed2646968c496e22e70729 -%global gitdate 20230421 +%global commit 0dd0ed3fc513cbe1a22b7ca57c2469f37c502771 +%global gitdate 20230917 %global shortcommit %(c=%{commit}; echo ${c:0:7}) @@ -40,9 +40,6 @@ Release: %{baserelease}.%{gitdate}git%{shortcommit}%{?dist} Source0: https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz#/%{name}-%{version}-git%{gitdate}-%{shortcommit}.tar.gz %endif -# https://github.com/VirusTotal/yara-python/pull/238 -Patch0: 238.patch - BuildRequires: gcc BuildRequires: pkgconfig(yara) BuildRequires: libtool @@ -153,6 +150,9 @@ pytest-3 -k "$EXCLUDE" tests.py -v #==================================================================== %changelog +* Sun Sep 17 2023 Mikel Olasagasti Uranga - 4.4.0-1 +- bump to 4.4.0 + * Fri Aug 25 2023 Mikel Olasagasti Uranga - 4.3.1-4 - Fix rhbz#2226378 rhbz#2220571 diff --git a/sources b/sources index ef82b4d..fbfd6ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-yara-4.3.1.tar.gz) = 78cd53f756967ef79cc742acffaeea53631ee475c07efd1506eba7e0630b2e570ba03686da1fa3247c9339faa67daf6c372913731b73233626661c0a9f575e41 +SHA512 (python-yara-4.4.0.tar.gz) = bc72c2f65e3fe3d7f94728565143b787df6cc63313a3e8b9f159a5cfc3c947f5233674a1213fd2c6454f6165b676da366319794f9fa7c695c43e5523c29a1432 From 5cecbcfd463ba5c561f145f3a01a2d9d2828bb21 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 09:11:17 +0000 Subject: [PATCH 22/39] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- python-yara.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-yara.spec b/python-yara.spec index eca03d9..802708b 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,6 +1,6 @@ Name: python-yara Version: 4.4.0 -%global baserelease 1 +%global baserelease 2 Summary: Python binding for the YARA pattern matching tool License: Apache-2.0 URL: https://github.com/VirusTotal/yara-python/ @@ -150,6 +150,9 @@ pytest-3 -k "$EXCLUDE" tests.py -v #==================================================================== %changelog +* Mon Jan 22 2024 Fedora Release Engineering - 4.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Sep 17 2023 Mikel Olasagasti Uranga - 4.4.0-1 - bump to 4.4.0 From 5185254a8522228c6362e1ce865cd75630573d51 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jan 2024 13:17:08 +0000 Subject: [PATCH 23/39] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- python-yara.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-yara.spec b/python-yara.spec index 802708b..4b50747 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,6 +1,6 @@ Name: python-yara Version: 4.4.0 -%global baserelease 2 +%global baserelease 3 Summary: Python binding for the YARA pattern matching tool License: Apache-2.0 URL: https://github.com/VirusTotal/yara-python/ @@ -150,6 +150,9 @@ pytest-3 -k "$EXCLUDE" tests.py -v #==================================================================== %changelog +* Fri Jan 26 2024 Fedora Release Engineering - 4.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Mon Jan 22 2024 Fedora Release Engineering - 4.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 017cf9ee2391fde1bf065e1d3f3ab93b05bc687c Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Wed, 14 Feb 2024 15:21:13 +0100 Subject: [PATCH 24/39] bump to 4.5.0 --- python-yara.spec | 14 +++++++++----- sources | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/python-yara.spec b/python-yara.spec index 4b50747..878c4d0 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,21 +1,22 @@ Name: python-yara -Version: 4.4.0 -%global baserelease 3 +Version: 4.5.0 +%global baserelease 1 Summary: Python binding for the YARA pattern matching tool License: Apache-2.0 URL: https://github.com/VirusTotal/yara-python/ VCS: https://github.com/VirusTotal/yara-python/ +# https://github.com/VirusTotal/yara-python/tags # https://github.com/VirusTotal/yara-python/releases/ # By default build from a release tarball. -# If you want to rebuild from a unversioned commit from git do that with +# If you want to rebuild from a unversioned commit from git do that with # rpmbuild --rebuild python-yara.src.dpm --without release %bcond_without release %global gituser VirusTotal %global gitname yara-python -%global commit 0dd0ed3fc513cbe1a22b7ca57c2469f37c502771 -%global gitdate 20230917 +%global gitdate 20240214 +%global commit 3d5674a30808b26b44fc896dd059e94e704e4d63 %global shortcommit %(c=%{commit}; echo ${c:0:7}) @@ -150,6 +151,9 @@ pytest-3 -k "$EXCLUDE" tests.py -v #==================================================================== %changelog +* Wed Fed 14 2024 Michal Ambroz - 4.5.0-1 +- bump to 4.5.0 + * Fri Jan 26 2024 Fedora Release Engineering - 4.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index fbfd6ac..30a9ccb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-yara-4.4.0.tar.gz) = bc72c2f65e3fe3d7f94728565143b787df6cc63313a3e8b9f159a5cfc3c947f5233674a1213fd2c6454f6165b676da366319794f9fa7c695c43e5523c29a1432 +SHA512 (python-yara-4.5.0.tar.gz) = b4f091bff7fd3bcd63e7f9f0a765aac7bdb3f17a1bc4b163687ae9ca21048194d90cf2bf1165998edb9953b83e022939179c51de59862a456676f099de69778d From 77435b87c5ff0390e2817069050910957b72ef44 Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Wed, 14 Feb 2024 18:41:48 +0100 Subject: [PATCH 25/39] bump to 4.5.0 --- python-yara.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-yara.spec b/python-yara.spec index 878c4d0..b938899 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -151,7 +151,7 @@ pytest-3 -k "$EXCLUDE" tests.py -v #==================================================================== %changelog -* Wed Fed 14 2024 Michal Ambroz - 4.5.0-1 +* Wed Feb 14 2024 Michal Ambroz - 4.5.0-1 - bump to 4.5.0 * Fri Jan 26 2024 Fedora Release Engineering - 4.4.0-3 From db196c05fffe86e9257057c7ad2a8fb249fbca64 Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Thu, 30 May 2024 02:36:21 +0200 Subject: [PATCH 26/39] bump to 4.5.1 --- python-yara.spec | 75 +++++++++++++++++++++++++----------------------- sources | 2 +- 2 files changed, 40 insertions(+), 37 deletions(-) diff --git a/python-yara.spec b/python-yara.spec index b938899..41c6c4f 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,5 +1,5 @@ Name: python-yara -Version: 4.5.0 +Version: 4.5.1 %global baserelease 1 Summary: Python binding for the YARA pattern matching tool License: Apache-2.0 @@ -15,8 +15,8 @@ VCS: https://github.com/VirusTotal/yara-python/ %global gituser VirusTotal %global gitname yara-python -%global gitdate 20240214 -%global commit 3d5674a30808b26b44fc896dd059e94e704e4d63 +%global gitdate 20240525 +%global commit 2880de0358e1ec871093759d74309f4dc080d726 %global shortcommit %(c=%{commit}; echo ${c:0:7}) @@ -151,7 +151,10 @@ pytest-3 -k "$EXCLUDE" tests.py -v #==================================================================== %changelog -* Wed Feb 14 2024 Michal Ambroz - 4.5.0-1 +* Wed May 29 2024 Michal Ambroz - 4.5.1-1 +- bump to 4.5.1 + +* Wed Feb 14 2024 Michal Ambroz - 4.5.0-1 - bump to 4.5.0 * Fri Jan 26 2024 Fedora Release Engineering - 4.4.0-3 @@ -172,16 +175,16 @@ pytest-3 -k "$EXCLUDE" tests.py -v * Wed Jun 14 2023 Python Maint - 4.3.1-2 - Rebuilt for Python 3.12 -* Wed Apr 26 2023 Michal Ambroz - 4.3.1-1 +* Wed Apr 26 2023 Michal Ambroz - 4.3.1-1 - bump to 4.3.1 -* Thu Mar 30 2023 Michal Ambroz - 4.3.0-1 +* Thu Mar 30 2023 Michal Ambroz - 4.3.0-1 - bump to 4.3.0 * Fri Jan 20 2023 Fedora Release Engineering - 4.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild -* Tue Nov 01 2022 Michal Ambroz - 4.2.3-1 +* Tue Nov 01 2022 Michal Ambroz - 4.2.3-1 - Rebuilt for yara-4.2.3 - second service :) * Tue Aug 09 2022 Mikel Olasagasti Uranga - 4.2.0-5 @@ -204,10 +207,10 @@ pytest-3 -k "$EXCLUDE" tests.py -v * Fri Jan 21 2022 Fedora Release Engineering - 4.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild -* Wed Nov 10 2021 Michal Ambroz - 4.1.3-2 +* Wed Nov 10 2021 Michal Ambroz - 4.1.3-2 - rebuild due to koji hickup -* Wed Nov 10 2021 Michal Ambroz - 4.1.3-1 +* Wed Nov 10 2021 Michal Ambroz - 4.1.3-1 - bump the python-yara as well to 4.1.3 * Fri Jul 23 2021 Fedora Release Engineering - 4.1.0-3 @@ -216,22 +219,22 @@ pytest-3 -k "$EXCLUDE" tests.py -v * Fri Jun 04 2021 Python Maint - 4.1.0-2 - Rebuilt for Python 3.10 -* Tue Apr 27 2021 Michal Ambroz - 4.1.0-1 +* Tue Apr 27 2021 Michal Ambroz - 4.1.0-1 - bump the python-yara as well to 4.1.0 -* Tue Apr 27 2021 Michal Ambroz - 4.0.5-3 +* Tue Apr 27 2021 Michal Ambroz - 4.0.5-3 - rebuild for new version of yara 4.1.0 -* Sun Apr 25 2021 Michal Ambroz - 4.0.5-2 +* Sun Apr 25 2021 Michal Ambroz - 4.0.5-2 - rebuild for epel -* Sat Mar 13 2021 Michal Ambroz - 4.0.5-1 +* Sat Mar 13 2021 Michal Ambroz - 4.0.5-1 - bump to version 4.0.5 -* Wed Feb 10 2021 Michal Ambroz - 4.0.4-1 +* Wed Feb 10 2021 Michal Ambroz - 4.0.4-1 - bump to version 4.0.4 -* Thu Feb 04 2021 Michal Ambroz - 4.0.3-1 +* Thu Feb 04 2021 Michal Ambroz - 4.0.3-1 - bump to version 4.0.3 * Wed Jan 27 2021 Fedora Release Engineering - 4.0.2-3 @@ -240,25 +243,25 @@ pytest-3 -k "$EXCLUDE" tests.py -v * Wed Jul 29 2020 Fedora Release Engineering - 4.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild -* Thu Jul 16 2020 Michal Ambroz - 4.0.2-1 +* Thu Jul 16 2020 Michal Ambroz - 4.0.2-1 - bump to version 4.0.2 -* Sat Jun 06 2020 Michal Ambroz - 4.0.1-1 +* Sat Jun 06 2020 Michal Ambroz - 4.0.1-1 - bump to version 4.0.1 * Tue May 26 2020 Miro Hrončok - 4.0.0-2 - Rebuilt for Python 3.9 -* Tue May 12 2020 Michal Ambroz - 4.0.0-1 +* Tue May 12 2020 Michal Ambroz - 4.0.0-1 - bump to version 4.0.0 * Thu Jan 30 2020 Fedora Release Engineering - 3.11.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild -* Mon Oct 14 2019 Michal Ambroz - 3.11.0-2 +* Mon Oct 14 2019 Michal Ambroz - 3.11.0-2 - fix the release number -* Mon Oct 14 2019 Michal Ambroz - 3.11.0-1 +* Mon Oct 14 2019 Michal Ambroz - 3.11.0-1 - bump to 3.11.0, omit py2 for f30+ and epel8+ * Mon Aug 19 2019 Miro Hrončok - 3.9.0-2.2 @@ -267,10 +270,10 @@ pytest-3 -k "$EXCLUDE" tests.py -v * Fri Jul 26 2019 Fedora Release Engineering - 3.9.0-2.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild -* Fri Mar 22 2019 Michal Ambroz - 3.9.0-2 +* Fri Mar 22 2019 Michal Ambroz - 3.9.0-2 - change dependency to sphinx based on the /usr/bin/sphinx-build -* Mon Mar 18 2019 Michal Ambroz - 3.9.0-1 +* Mon Mar 18 2019 Michal Ambroz - 3.9.0-1 - bump to 3.9.0 * Sat Feb 02 2019 Fedora Release Engineering - 3.8.1-3.2 @@ -280,10 +283,10 @@ pytest-3 -k "$EXCLUDE" tests.py -v - Python2 binary package has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal -* Mon Aug 27 2018 Michal Ambroz - 3.8.1-2 +* Mon Aug 27 2018 Michal Ambroz - 3.8.1-2 - rebuild with yara 3.8.1 override -* Mon Aug 27 2018 Michal Ambroz - 3.8.1-1 +* Mon Aug 27 2018 Michal Ambroz - 3.8.1-1 - bump to 3.8.1 * Sat Jul 14 2018 Fedora Release Engineering - 3.7.0-7 @@ -292,10 +295,10 @@ pytest-3 -k "$EXCLUDE" tests.py -v * Tue Jun 19 2018 Miro Hrončok - 3.7.0-6 - Rebuilt for Python 3.7 -* Fri Mar 16 2018 Michal Ambroz - 3.7.0-5 +* Fri Mar 16 2018 Michal Ambroz - 3.7.0-5 - fix dependencies for building the epel7/epel6 packages -* Thu Mar 15 2018 Michal Ambroz - 3.7.0-4 +* Thu Mar 15 2018 Michal Ambroz - 3.7.0-4 - rebuild with yara 3.7.1 for supported platforms - fix dependencies for building the epel packages @@ -306,7 +309,7 @@ pytest-3 -k "$EXCLUDE" tests.py -v * Fri Feb 09 2018 Fedora Release Engineering - 3.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild -* Wed Nov 15 2017 Michal Ambroz - 3.7.0-1 +* Wed Nov 15 2017 Michal Ambroz - 3.7.0-1 - bump to yara 3.7.0 release version (#1511921) * Thu Aug 03 2017 Fedora Release Engineering - 3.6.3-4 @@ -315,11 +318,11 @@ pytest-3 -k "$EXCLUDE" tests.py -v * Thu Jul 27 2017 Fedora Release Engineering - 3.6.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild -* Mon Jul 17 2017 Michal Ambroz - 3.6.3-2 +* Mon Jul 17 2017 Michal Ambroz - 3.6.3-2 - fix bogus dates in the changelog - omit failing testCompileFile test for s390/ppc64 -* Mon Jul 17 2017 Michal Ambroz - 3.6.3-1 +* Mon Jul 17 2017 Michal Ambroz - 3.6.3-1 - bump to upstream 3.6.3 release version * Sat Feb 11 2017 Fedora Release Engineering - 3.5.0-10 @@ -331,26 +334,26 @@ pytest-3 -k "$EXCLUDE" tests.py -v * Wed Nov 23 2016 Dan Horák - 3.5.0-8 - fix the arch lists -* Tue Aug 16 2016 Michal Ambroz - 3.5.0-7 +* Tue Aug 16 2016 Michal Ambroz - 3.5.0-7 - adding test exclusions also for armv7hl and ppc64le -* Tue Aug 16 2016 Michal Ambroz - 3.5.0-6 +* Tue Aug 16 2016 Michal Ambroz - 3.5.0-6 - additionally testEntrypoint testIn testIntegerFunctions failing on s390/ppc64 - exclude those tests for build of s390/ppc64 -* Tue Aug 16 2016 Michal Ambroz - 3.5.0-5 +* Tue Aug 16 2016 Michal Ambroz - 3.5.0-5 - testModuleData is failing on arm platform even for python 2.7 - exclude this test for build of arm -* Fri Aug 12 2016 Michal Ambroz - 3.5.0-4 +* Fri Aug 12 2016 Michal Ambroz - 3.5.0-4 - remove unnecessary ldconfig - count with the python3 test values except the 2 known for failing -* Thu Aug 11 2016 Michal Ambroz - 3.5.0-3 +* Thu Aug 11 2016 Michal Ambroz - 3.5.0-3 - change python3 naming to allow epel7 python34 packages -* Thu Aug 04 2016 Michal Ambroz - 3.5.0-2 +* Thu Aug 04 2016 Michal Ambroz - 3.5.0-2 - cosmetics -* Thu Aug 04 2016 Michal Ambroz - 3.5.0-1 +* Thu Aug 04 2016 Michal Ambroz - 3.5.0-1 - with yara 3.5.0 the python yara binding is separate library diff --git a/sources b/sources index 30a9ccb..a5201eb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-yara-4.5.0.tar.gz) = b4f091bff7fd3bcd63e7f9f0a765aac7bdb3f17a1bc4b163687ae9ca21048194d90cf2bf1165998edb9953b83e022939179c51de59862a456676f099de69778d +SHA512 (python-yara-4.5.1.tar.gz) = fb3d78cea58a5dcb21287d5211805ef7097c07b9117e4fe78a7e56b40f2520950f0e8d6f1eb3c4253a454e10ca782c3826c19613bd17677bef491ae91f9f9d2a From adbaf1d38999fe4393dab40748864663384af0b5 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 14:12:31 +0200 Subject: [PATCH 27/39] Rebuilt for Python 3.13 --- python-yara.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-yara.spec b/python-yara.spec index 41c6c4f..2349a4d 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,6 +1,6 @@ Name: python-yara Version: 4.5.1 -%global baserelease 1 +%global baserelease 2 Summary: Python binding for the YARA pattern matching tool License: Apache-2.0 URL: https://github.com/VirusTotal/yara-python/ @@ -151,6 +151,9 @@ pytest-3 -k "$EXCLUDE" tests.py -v #==================================================================== %changelog +* Fri Jun 07 2024 Python Maint - 4.5.1-2 +- Rebuilt for Python 3.13 + * Wed May 29 2024 Michal Ambroz - 4.5.1-1 - bump to 4.5.1 From bbfc4b5140e4baab08b1d25f81ec441dd38c6733 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 17:15:21 +0000 Subject: [PATCH 28/39] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- python-yara.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-yara.spec b/python-yara.spec index 2349a4d..1f86f0a 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,6 +1,6 @@ Name: python-yara Version: 4.5.1 -%global baserelease 2 +%global baserelease 3 Summary: Python binding for the YARA pattern matching tool License: Apache-2.0 URL: https://github.com/VirusTotal/yara-python/ @@ -151,6 +151,9 @@ pytest-3 -k "$EXCLUDE" tests.py -v #==================================================================== %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 4.5.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Jun 07 2024 Python Maint - 4.5.1-2 - Rebuilt for Python 3.13 From 3825991841068ad6215becaf029d6373d300eb3a Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Sat, 28 Sep 2024 19:09:46 +0200 Subject: [PATCH 29/39] rebuild with yara 4.5.2 --- changelog | 215 ++++++++++++++++++++++++++++++++++++++++++++++ python-yara.spec | 219 +---------------------------------------------- 2 files changed, 219 insertions(+), 215 deletions(-) create mode 100644 changelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..da0f233 --- /dev/null +++ b/changelog @@ -0,0 +1,215 @@ +* Sat Sep 28 2024 Michal Ambroz - 4.5.1-4 +- rebuild with yara 4.5.2 + +* Fri Jul 19 2024 Fedora Release Engineering - 4.5.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 4.5.1-2 +- Rebuilt for Python 3.13 + +* Wed May 29 2024 Michal Ambroz - 4.5.1-1 +- bump to 4.5.1 + +* Wed Feb 14 2024 Michal Ambroz - 4.5.0-1 +- bump to 4.5.0 + +* Fri Jan 26 2024 Fedora Release Engineering - 4.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 4.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Sep 17 2023 Mikel Olasagasti Uranga - 4.4.0-1 +- bump to 4.4.0 + +* Fri Aug 25 2023 Mikel Olasagasti Uranga - 4.3.1-4 +- Fix rhbz#2226378 rhbz#2220571 + +* Fri Jul 21 2023 Fedora Release Engineering - 4.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 14 2023 Python Maint - 4.3.1-2 +- Rebuilt for Python 3.12 + +* Wed Apr 26 2023 Michal Ambroz - 4.3.1-1 +- bump to 4.3.1 + +* Thu Mar 30 2023 Michal Ambroz - 4.3.0-1 +- bump to 4.3.0 + +* Fri Jan 20 2023 Fedora Release Engineering - 4.2.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Nov 01 2022 Michal Ambroz - 4.2.3-1 +- Rebuilt for yara-4.2.3 - second service :) + +* Tue Aug 09 2022 Mikel Olasagasti Uranga - 4.2.0-5 +- Rebuilt for yara-4.2.3 + +* Mon Aug 08 2022 Mikel Olasagasti Uranga - 4.2.0-4 +- Skip testModuleData again for F36, fixes rhbz#2116289 + +* Fri Jul 22 2022 Fedora Release Engineering - 4.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 4.2.0-2 +- Rebuilt for Python 3.11 + +* Fri May 27 2022 Mikel Olasagasti Uranga - 4.2.0-1 +- Bump to 4.2.0 rhbz#2063287 fixes FTBFS rhbz#2064646 +- Minor changes to spec, like using https for URL +- Simplify some of checks for different builds + +* Fri Jan 21 2022 Fedora Release Engineering - 4.1.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Nov 10 2021 Michal Ambroz - 4.1.3-2 +- rebuild due to koji hickup + +* Wed Nov 10 2021 Michal Ambroz - 4.1.3-1 +- bump the python-yara as well to 4.1.3 + +* Fri Jul 23 2021 Fedora Release Engineering - 4.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 4.1.0-2 +- Rebuilt for Python 3.10 + +* Tue Apr 27 2021 Michal Ambroz - 4.1.0-1 +- bump the python-yara as well to 4.1.0 + +* Tue Apr 27 2021 Michal Ambroz - 4.0.5-3 +- rebuild for new version of yara 4.1.0 + +* Sun Apr 25 2021 Michal Ambroz - 4.0.5-2 +- rebuild for epel + +* Sat Mar 13 2021 Michal Ambroz - 4.0.5-1 +- bump to version 4.0.5 + +* Wed Feb 10 2021 Michal Ambroz - 4.0.4-1 +- bump to version 4.0.4 + +* Thu Feb 04 2021 Michal Ambroz - 4.0.3-1 +- bump to version 4.0.3 + +* Wed Jan 27 2021 Fedora Release Engineering - 4.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 4.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jul 16 2020 Michal Ambroz - 4.0.2-1 +- bump to version 4.0.2 + +* Sat Jun 06 2020 Michal Ambroz - 4.0.1-1 +- bump to version 4.0.1 + +* Tue May 26 2020 Miro Hrončok - 4.0.0-2 +- Rebuilt for Python 3.9 + +* Tue May 12 2020 Michal Ambroz - 4.0.0-1 +- bump to version 4.0.0 + +* Thu Jan 30 2020 Fedora Release Engineering - 3.11.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Oct 14 2019 Michal Ambroz - 3.11.0-2 +- fix the release number + +* Mon Oct 14 2019 Michal Ambroz - 3.11.0-1 +- bump to 3.11.0, omit py2 for f30+ and epel8+ + +* Mon Aug 19 2019 Miro Hrončok - 3.9.0-2.2 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 3.9.0-2.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Mar 22 2019 Michal Ambroz - 3.9.0-2 +- change dependency to sphinx based on the /usr/bin/sphinx-build + +* Mon Mar 18 2019 Michal Ambroz - 3.9.0-1 +- bump to 3.9.0 + +* Sat Feb 02 2019 Fedora Release Engineering - 3.8.1-3.2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek - 3.8.1-3 +- Python2 binary package has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Mon Aug 27 2018 Michal Ambroz - 3.8.1-2 +- rebuild with yara 3.8.1 override + +* Mon Aug 27 2018 Michal Ambroz - 3.8.1-1 +- bump to 3.8.1 + +* Sat Jul 14 2018 Fedora Release Engineering - 3.7.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 3.7.0-6 +- Rebuilt for Python 3.7 + +* Fri Mar 16 2018 Michal Ambroz - 3.7.0-5 +- fix dependencies for building the epel7/epel6 packages + +* Thu Mar 15 2018 Michal Ambroz - 3.7.0-4 +- rebuild with yara 3.7.1 for supported platforms +- fix dependencies for building the epel packages + +* Wed Feb 28 2018 Iryna Shcherbina - 3.7.0-3 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Fri Feb 09 2018 Fedora Release Engineering - 3.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Nov 15 2017 Michal Ambroz - 3.7.0-1 +- bump to yara 3.7.0 release version (#1511921) + +* Thu Aug 03 2017 Fedora Release Engineering - 3.6.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 3.6.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jul 17 2017 Michal Ambroz - 3.6.3-2 +- fix bogus dates in the changelog +- omit failing testCompileFile test for s390/ppc64 + +* Mon Jul 17 2017 Michal Ambroz - 3.6.3-1 +- bump to upstream 3.6.3 release version + +* Sat Feb 11 2017 Fedora Release Engineering - 3.5.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 3.5.0-9 +- Rebuild for Python 3.6 + +* Wed Nov 23 2016 Dan Horák - 3.5.0-8 +- fix the arch lists + +* Tue Aug 16 2016 Michal Ambroz - 3.5.0-7 +- adding test exclusions also for armv7hl and ppc64le + +* Tue Aug 16 2016 Michal Ambroz - 3.5.0-6 +- additionally testEntrypoint testIn testIntegerFunctions failing on s390/ppc64 +- exclude those tests for build of s390/ppc64 + +* Tue Aug 16 2016 Michal Ambroz - 3.5.0-5 +- testModuleData is failing on arm platform even for python 2.7 +- exclude this test for build of arm + +* Fri Aug 12 2016 Michal Ambroz - 3.5.0-4 +- remove unnecessary ldconfig +- count with the python3 test values except the 2 known for failing + +* Thu Aug 11 2016 Michal Ambroz - 3.5.0-3 +- change python3 naming to allow epel7 python34 packages + +* Thu Aug 04 2016 Michal Ambroz - 3.5.0-2 +- cosmetics + +* Thu Aug 04 2016 Michal Ambroz - 3.5.0-1 +- with yara 3.5.0 the python yara binding is separate library diff --git a/python-yara.spec b/python-yara.spec index 1f86f0a..d0e0e78 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,8 +1,8 @@ Name: python-yara Version: 4.5.1 -%global baserelease 3 Summary: Python binding for the YARA pattern matching tool License: Apache-2.0 +%global baserelease 4 URL: https://github.com/VirusTotal/yara-python/ VCS: https://github.com/VirusTotal/yara-python/ # https://github.com/VirusTotal/yara-python/tags @@ -34,10 +34,10 @@ and a Boolean expression which determine its logic.} %endif %if 0%{?with_release} -Release: %{baserelease}%{?dist} +Release: %autorelease -b %baserelease Source0: https://github.com/%{gituser}/%{gitname}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz %else -Release: %{baserelease}.%{gitdate}git%{shortcommit}%{?dist} +Release: %autorelease -b %baserelease -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 @@ -151,215 +151,4 @@ pytest-3 -k "$EXCLUDE" tests.py -v #==================================================================== %changelog -* Fri Jul 19 2024 Fedora Release Engineering - 4.5.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Fri Jun 07 2024 Python Maint - 4.5.1-2 -- Rebuilt for Python 3.13 - -* Wed May 29 2024 Michal Ambroz - 4.5.1-1 -- bump to 4.5.1 - -* Wed Feb 14 2024 Michal Ambroz - 4.5.0-1 -- bump to 4.5.0 - -* Fri Jan 26 2024 Fedora Release Engineering - 4.4.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Mon Jan 22 2024 Fedora Release Engineering - 4.4.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sun Sep 17 2023 Mikel Olasagasti Uranga - 4.4.0-1 -- bump to 4.4.0 - -* Fri Aug 25 2023 Mikel Olasagasti Uranga - 4.3.1-4 -- Fix rhbz#2226378 rhbz#2220571 - -* Fri Jul 21 2023 Fedora Release Engineering - 4.3.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Wed Jun 14 2023 Python Maint - 4.3.1-2 -- Rebuilt for Python 3.12 - -* Wed Apr 26 2023 Michal Ambroz - 4.3.1-1 -- bump to 4.3.1 - -* Thu Mar 30 2023 Michal Ambroz - 4.3.0-1 -- bump to 4.3.0 - -* Fri Jan 20 2023 Fedora Release Engineering - 4.2.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Tue Nov 01 2022 Michal Ambroz - 4.2.3-1 -- Rebuilt for yara-4.2.3 - second service :) - -* Tue Aug 09 2022 Mikel Olasagasti Uranga - 4.2.0-5 -- Rebuilt for yara-4.2.3 - -* Mon Aug 08 2022 Mikel Olasagasti Uranga - 4.2.0-4 -- Skip testModuleData again for F36, fixes rhbz#2116289 - -* Fri Jul 22 2022 Fedora Release Engineering - 4.2.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Mon Jun 13 2022 Python Maint - 4.2.0-2 -- Rebuilt for Python 3.11 - -* Fri May 27 2022 Mikel Olasagasti Uranga - 4.2.0-1 -- Bump to 4.2.0 rhbz#2063287 fixes FTBFS rhbz#2064646 -- Minor changes to spec, like using https for URL -- Simplify some of checks for different builds - -* Fri Jan 21 2022 Fedora Release Engineering - 4.1.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Wed Nov 10 2021 Michal Ambroz - 4.1.3-2 -- rebuild due to koji hickup - -* Wed Nov 10 2021 Michal Ambroz - 4.1.3-1 -- bump the python-yara as well to 4.1.3 - -* Fri Jul 23 2021 Fedora Release Engineering - 4.1.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Fri Jun 04 2021 Python Maint - 4.1.0-2 -- Rebuilt for Python 3.10 - -* Tue Apr 27 2021 Michal Ambroz - 4.1.0-1 -- bump the python-yara as well to 4.1.0 - -* Tue Apr 27 2021 Michal Ambroz - 4.0.5-3 -- rebuild for new version of yara 4.1.0 - -* Sun Apr 25 2021 Michal Ambroz - 4.0.5-2 -- rebuild for epel - -* Sat Mar 13 2021 Michal Ambroz - 4.0.5-1 -- bump to version 4.0.5 - -* Wed Feb 10 2021 Michal Ambroz - 4.0.4-1 -- bump to version 4.0.4 - -* Thu Feb 04 2021 Michal Ambroz - 4.0.3-1 -- bump to version 4.0.3 - -* Wed Jan 27 2021 Fedora Release Engineering - 4.0.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 4.0.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Thu Jul 16 2020 Michal Ambroz - 4.0.2-1 -- bump to version 4.0.2 - -* Sat Jun 06 2020 Michal Ambroz - 4.0.1-1 -- bump to version 4.0.1 - -* Tue May 26 2020 Miro Hrončok - 4.0.0-2 -- Rebuilt for Python 3.9 - -* Tue May 12 2020 Michal Ambroz - 4.0.0-1 -- bump to version 4.0.0 - -* Thu Jan 30 2020 Fedora Release Engineering - 3.11.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Mon Oct 14 2019 Michal Ambroz - 3.11.0-2 -- fix the release number - -* Mon Oct 14 2019 Michal Ambroz - 3.11.0-1 -- bump to 3.11.0, omit py2 for f30+ and epel8+ - -* Mon Aug 19 2019 Miro Hrončok - 3.9.0-2.2 -- Rebuilt for Python 3.8 - -* Fri Jul 26 2019 Fedora Release Engineering - 3.9.0-2.1 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Mar 22 2019 Michal Ambroz - 3.9.0-2 -- change dependency to sphinx based on the /usr/bin/sphinx-build - -* Mon Mar 18 2019 Michal Ambroz - 3.9.0-1 -- bump to 3.9.0 - -* Sat Feb 02 2019 Fedora Release Engineering - 3.8.1-3.2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek - 3.8.1-3 -- Python2 binary package has been removed - See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal - -* Mon Aug 27 2018 Michal Ambroz - 3.8.1-2 -- rebuild with yara 3.8.1 override - -* Mon Aug 27 2018 Michal Ambroz - 3.8.1-1 -- bump to 3.8.1 - -* Sat Jul 14 2018 Fedora Release Engineering - 3.7.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jun 19 2018 Miro Hrončok - 3.7.0-6 -- Rebuilt for Python 3.7 - -* Fri Mar 16 2018 Michal Ambroz - 3.7.0-5 -- fix dependencies for building the epel7/epel6 packages - -* Thu Mar 15 2018 Michal Ambroz - 3.7.0-4 -- rebuild with yara 3.7.1 for supported platforms -- fix dependencies for building the epel packages - -* Wed Feb 28 2018 Iryna Shcherbina - 3.7.0-3 -- Update Python 2 dependency declarations to new packaging standards - (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) - -* Fri Feb 09 2018 Fedora Release Engineering - 3.7.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Nov 15 2017 Michal Ambroz - 3.7.0-1 -- bump to yara 3.7.0 release version (#1511921) - -* Thu Aug 03 2017 Fedora Release Engineering - 3.6.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 3.6.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Mon Jul 17 2017 Michal Ambroz - 3.6.3-2 -- fix bogus dates in the changelog -- omit failing testCompileFile test for s390/ppc64 - -* Mon Jul 17 2017 Michal Ambroz - 3.6.3-1 -- bump to upstream 3.6.3 release version - -* Sat Feb 11 2017 Fedora Release Engineering - 3.5.0-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Dec 19 2016 Miro Hrončok - 3.5.0-9 -- Rebuild for Python 3.6 - -* Wed Nov 23 2016 Dan Horák - 3.5.0-8 -- fix the arch lists - -* Tue Aug 16 2016 Michal Ambroz - 3.5.0-7 -- adding test exclusions also for armv7hl and ppc64le - -* Tue Aug 16 2016 Michal Ambroz - 3.5.0-6 -- additionally testEntrypoint testIn testIntegerFunctions failing on s390/ppc64 -- exclude those tests for build of s390/ppc64 - -* Tue Aug 16 2016 Michal Ambroz - 3.5.0-5 -- testModuleData is failing on arm platform even for python 2.7 -- exclude this test for build of arm - -* Fri Aug 12 2016 Michal Ambroz - 3.5.0-4 -- remove unnecessary ldconfig -- count with the python3 test values except the 2 known for failing - -* Thu Aug 11 2016 Michal Ambroz - 3.5.0-3 -- change python3 naming to allow epel7 python34 packages - -* Thu Aug 04 2016 Michal Ambroz - 3.5.0-2 -- cosmetics - -* Thu Aug 04 2016 Michal Ambroz - 3.5.0-1 -- with yara 3.5.0 the python yara binding is separate library +%autochangelog From d7e7621ac9380c770718fa655c32e060b932e5cc Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Sat, 28 Sep 2024 19:27:41 +0200 Subject: [PATCH 30/39] rebuild with yara 4.5.2 --- changelog | 2 +- python-yara.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/changelog b/changelog index da0f233..3ee846c 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,4 @@ -* Sat Sep 28 2024 Michal Ambroz - 4.5.1-4 +* Sat Sep 28 2024 Michal Ambroz - 4.5.1-8 - rebuild with yara 4.5.2 * Fri Jul 19 2024 Fedora Release Engineering - 4.5.1-3 diff --git a/python-yara.spec b/python-yara.spec index d0e0e78..3b75db3 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -2,7 +2,7 @@ Name: python-yara Version: 4.5.1 Summary: Python binding for the YARA pattern matching tool License: Apache-2.0 -%global baserelease 4 +%global baserelease 8 URL: https://github.com/VirusTotal/yara-python/ VCS: https://github.com/VirusTotal/yara-python/ # https://github.com/VirusTotal/yara-python/tags From c606b96f2cd551f4c429842bf29bff57e8d263b8 Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Sat, 28 Sep 2024 19:31:55 +0200 Subject: [PATCH 31/39] rebuild with yara 4.5.2 --- changelog | 2 +- python-yara.spec | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/changelog b/changelog index 3ee846c..e3f37e2 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,4 @@ -* Sat Sep 28 2024 Michal Ambroz - 4.5.1-8 +* Sat Sep 28 2024 Michal Ambroz - 4.5.1-13 - rebuild with yara 4.5.2 * Fri Jul 19 2024 Fedora Release Engineering - 4.5.1-3 diff --git a/python-yara.spec b/python-yara.spec index 3b75db3..fa63e5f 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -2,7 +2,6 @@ Name: python-yara Version: 4.5.1 Summary: Python binding for the YARA pattern matching tool License: Apache-2.0 -%global baserelease 8 URL: https://github.com/VirusTotal/yara-python/ VCS: https://github.com/VirusTotal/yara-python/ # https://github.com/VirusTotal/yara-python/tags @@ -34,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 From 4fa4d357d846807cc2e969ec9b29749813eccbb5 Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Sat, 28 Sep 2024 19:51:15 +0200 Subject: [PATCH 32/39] rebuild with yara 4.5.2 --- changelog | 2 +- python-yara.spec | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog b/changelog index e3f37e2..ca16de6 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,4 @@ -* Sat Sep 28 2024 Michal Ambroz - 4.5.1-13 +* Sat Sep 28 2024 Michal Ambroz - 4.5.1-14 - rebuild with yara 4.5.2 * Fri Jul 19 2024 Fedora Release Engineering - 4.5.1-3 diff --git a/python-yara.spec b/python-yara.spec index fa63e5f..7906228 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -2,6 +2,8 @@ Name: python-yara Version: 4.5.1 Summary: Python binding for the YARA pattern matching tool License: Apache-2.0 +# TODO: return to 1 with each next release +%global baserelease 8 URL: https://github.com/VirusTotal/yara-python/ VCS: https://github.com/VirusTotal/yara-python/ # https://github.com/VirusTotal/yara-python/tags From 3810f230e43507f2b9b407b1bf93155ec3116f54 Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Sat, 28 Sep 2024 19:57:21 +0200 Subject: [PATCH 33/39] rebuild with yara 4.5.2 --- changelog | 2 +- python-yara.spec | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/changelog b/changelog index ca16de6..e3f37e2 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,4 @@ -* Sat Sep 28 2024 Michal Ambroz - 4.5.1-14 +* Sat Sep 28 2024 Michal Ambroz - 4.5.1-13 - rebuild with yara 4.5.2 * Fri Jul 19 2024 Fedora Release Engineering - 4.5.1-3 diff --git a/python-yara.spec b/python-yara.spec index 7906228..1f8a8f0 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -3,7 +3,7 @@ Version: 4.5.1 Summary: Python binding for the YARA pattern matching tool License: Apache-2.0 # TODO: return to 1 with each next release -%global baserelease 8 +%global baserelease 6 URL: https://github.com/VirusTotal/yara-python/ VCS: https://github.com/VirusTotal/yara-python/ # https://github.com/VirusTotal/yara-python/tags @@ -35,10 +35,10 @@ and a Boolean expression which determine its logic.} %endif %if 0%{?with_release} -Release: %autorelease +Release: %autorelease -b %baserelease Source0: https://github.com/%{gituser}/%{gitname}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz %else -Release: %autorelease -s %{gitdate}git%{shortcommit} +Release: %autorelease -b %baserelease -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 From 89aacbc3bdfd5c4cb84973b00d9889d1ef64a7f3 Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Sat, 28 Sep 2024 20:41:18 +0200 Subject: [PATCH 34/39] rebuild with yara 4.5.2 (this time with override) From 81d37d401801939fb109f76202983ace84d3d831 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 20:57:04 +0000 Subject: [PATCH 35/39] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From f271b385efee7262f9943b61931b32d02ffd9a82 Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Fri, 23 May 2025 19:12:16 +0200 Subject: [PATCH 36/39] bump to 4.5.3 --- python-yara.spec | 12 +++++------- sources | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/python-yara.spec b/python-yara.spec index 1f8a8f0..26f0212 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,9 +1,7 @@ Name: python-yara -Version: 4.5.1 +Version: 4.5.3 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/ # https://github.com/VirusTotal/yara-python/tags @@ -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 20250523 +%global commit 5caac1ea81f7e700dc7969abd9706dd0cd1580ec %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..2eada90 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-yara-4.5.1.tar.gz) = fb3d78cea58a5dcb21287d5211805ef7097c07b9117e4fe78a7e56b40f2520950f0e8d6f1eb3c4253a454e10ca782c3826c19613bd17677bef491ae91f9f9d2a +SHA512 (python-yara-4.5.3.tar.gz) = f7e6860c479e70efe5f56b2fea4f2b5d4878ec6a19778e59465f9983c7af493215925d753218fce1fd0e906634582bf5c67095e398864f706d36bbe4a43a5537 From e1a61698a15f66105fbb3faa29ecc4ccc283ed62 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 3 Jun 2025 11:05:16 +0200 Subject: [PATCH 37/39] Rebuilt for Python 3.14 From 37cd4df74203c5891e630e43ffc0b74972bc0cf5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 11:13:31 +0000 Subject: [PATCH 38/39] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From e49fd644c75a36010fd879d628dca2d0322f4f6c Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Wed, 19 Nov 2025 11:15:53 +0100 Subject: [PATCH 39/39] bump to 4.5.4 --- python-yara.spec | 8 ++++---- sources | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/python-yara.spec b/python-yara.spec index 26f0212..9a00228 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,9 +1,9 @@ Name: python-yara -Version: 4.5.3 +Version: 4.5.4 Summary: Python binding for the YARA pattern matching tool License: Apache-2.0 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/ @@ -14,8 +14,8 @@ VCS: https://github.com/VirusTotal/yara-python/ %global gituser VirusTotal %global gitname yara-python -%global gitdate 20250523 -%global commit 5caac1ea81f7e700dc7969abd9706dd0cd1580ec +%global gitdate 20250527 +%global commit 74920b6da9a70a162b3bdc41b30e4af02e5c7dff %global shortcommit %(c=%{commit}; echo ${c:0:7}) diff --git a/sources b/sources index 2eada90..d7f98ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-yara-4.5.3.tar.gz) = f7e6860c479e70efe5f56b2fea4f2b5d4878ec6a19778e59465f9983c7af493215925d753218fce1fd0e906634582bf5c67095e398864f706d36bbe4a43a5537 +SHA512 (python-yara-4.5.4.tar.gz) = fee87a2127284a2287c60b14bcd36facf061542da1321ccaa26dbe23c7e8534253434a78c8a65a0c2915bb1331acbdee78b12d02b748ec7d95a106913172a1a2