From e6a280ef1268814dd1ac93b28ded78376406dc1b Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 23 Apr 2023 05:02:21 +0000 Subject: automatic import of python-yara-python --- python-yara-python.spec | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) (limited to 'python-yara-python.spec') diff --git a/python-yara-python.spec b/python-yara-python.spec index 5030660..d2b435c 100644 --- a/python-yara-python.spec +++ b/python-yara-python.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-yara-python -Version: 4.3.0 +Version: 4.3.1 Release: 1 Summary: Python interface for YARA License: Apache 2.0 URL: https://github.com/VirusTotal/yara-python -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/47/c5/23148d89227e8f2fa01d3b65094cddd36689c2aba9d6f63f8baff633138d/yara-python-4.3.0.tar.gz +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5f/34/60a293c7ae05731c2e6366e132a9fe4c02ae84c4f57714a2f5e8651a8491/yara-python-4.3.1.tar.gz %description @@ -23,7 +23,15 @@ Here it goes a little example: >>> print(matches[0].tags) ['bar'] >>> print(matches[0].strings) - [(10L, '$a', 'lmn')] + [$a] + >>> print(matches[0].strings[0].identifier) + $a + >>> print(matches[0].strings[0].instances) + [lmn] + >>> print(matches[0].strings[0].instances[0].offset) + 10 + >>> print(matches[0].strings[0].instances[0].matched_length) + 3 %package -n python3-yara-python Summary: Python interface for YARA @@ -49,7 +57,15 @@ Here it goes a little example: >>> print(matches[0].tags) ['bar'] >>> print(matches[0].strings) - [(10L, '$a', 'lmn')] + [$a] + >>> print(matches[0].strings[0].identifier) + $a + >>> print(matches[0].strings[0].instances) + [lmn] + >>> print(matches[0].strings[0].instances[0].offset) + 10 + >>> print(matches[0].strings[0].instances[0].matched_length) + 3 %package help Summary: Development documents and examples for yara-python @@ -69,10 +85,18 @@ Here it goes a little example: >>> print(matches[0].tags) ['bar'] >>> print(matches[0].strings) - [(10L, '$a', 'lmn')] + [$a] + >>> print(matches[0].strings[0].identifier) + $a + >>> print(matches[0].strings[0].instances) + [lmn] + >>> print(matches[0].strings[0].instances[0].offset) + 10 + >>> print(matches[0].strings[0].instances[0].matched_length) + 3 %prep -%autosetup -n yara-python-4.3.0 +%autosetup -n yara-python-4.3.1 %build %py3_build @@ -112,5 +136,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Mon Apr 10 2023 Python_Bot - 4.3.0-1 +* Sun Apr 23 2023 Python_Bot - 4.3.1-1 - Package Spec generated -- cgit v1.2.3