[packages/python-yara] up to 4.3.1
atler
atler at pld-linux.org
Tue Jun 13 12:39:54 CEST 2023
commit 5b57a0d07fa9e80c6737f1fa0a0e4dad6e8f646c
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Jun 13 12:39:41 2023 +0200
up to 4.3.1
python-yara.spec | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
---
diff --git a/python-yara.spec b/python-yara.spec
index 6d67681..bbf2702 100644
--- a/python-yara.spec
+++ b/python-yara.spec
@@ -1,19 +1,18 @@
-# NOTE
-# built from yara.spec since 3.4.0
-
%define module yara
Summary: Python bindings to yara library
Name: python-%{module}
-Version: 1.3
-Release: 3.1
-License: GPL v2+
+Version: 4.3.1
+Release: 1
+License: Apache v2.0
Group: Development/Languages/Python
-Source0: http://yara-project.googlecode.com/files/yara-python-%{version}.tar.gz
-# Source0-md5: 45753421c40bb1d03bf32bdb99b8c831
-URL: https://github.com/plusvic/yara/tree/master/yara-python
+Source0: https://github.com/VirusTotal/yara-python/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 3232b37fa7b7edb0f76d977767ed5bbf
+URL: http://virustotal.github.io/yara/
BuildRequires: python-devel
+BuildRequires: python-modules
+BuildRequires: python-setuptools
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.710
+BuildRequires: rpmbuild(macros) >= 1.714
BuildRequires: yara-devel
Requires: python-modules
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,7 +40,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README
+%doc README.rst
%attr(755,root,root) %{py_sitedir}/yara.so
%if "%{py_ver}" > "2.4"
%{py_sitedir}/yara_python-*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-yara.git/commitdiff/5b57a0d07fa9e80c6737f1fa0a0e4dad6e8f646c
More information about the pld-cvs-commit
mailing list