Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-yara for openSUSE:Factory 
checked in at 2026-07-06 12:33:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-yara (Old)
 and      /work/SRC/openSUSE:Factory/.python-yara.new.1982 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-yara"

Mon Jul  6 12:33:44 2026 rev:7 rq:1363913 version:4.5.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-yara/python-yara.changes  2026-05-04 
12:54:42.128405911 +0200
+++ /work/SRC/openSUSE:Factory/.python-yara.new.1982/python-yara.changes        
2026-07-06 12:36:18.499698870 +0200
@@ -1,0 +2,7 @@
+Wed Jun 24 12:41:48 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch use-dynamic-linking.patch:
+  * Specify dynamic linking in setup.cfg.
+- Use pyproject macros to build and install the module.
+
+-------------------------------------------------------------------

New:
----
  use-dynamic-linking.patch

----------(New B)----------
  New:
- Add patch use-dynamic-linking.patch:
  * Specify dynamic linking in setup.cfg.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-yara.spec ++++++
--- /var/tmp/diff_new_pack.AhX50r/_old  2026-07-06 12:36:19.195723013 +0200
+++ /var/tmp/diff_new_pack.AhX50r/_new  2026-07-06 12:36:19.199723152 +0200
@@ -21,11 +21,14 @@
 Release:        0
 Summary:        Python Bindings for YARA (from Virus Total)
 License:        Apache-2.0
-Group:          Development/Libraries/Python
 URL:            https://github.com/VirusTotal/yara-python
 Source:         
https://github.com/VirusTotal/yara-python/archive/v%{version}.tar.gz
+# PATCH-FIX-OPENSUSE Specify dynamic linking in setup.cfg
+Patch0:         use-dynamic-linking.patch
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
@@ -37,13 +40,13 @@
 YARA is a tool to identify and classify malware samples.
 
 %prep
-%setup -q -n yara-python-%{version}
+%autosetup -p1 -n yara-python-%{version}
 
 %build
-%python_build --dynamic-linking
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
@@ -53,5 +56,5 @@
 %license LICENSE
 %doc README.rst
 %{python_sitearch}/yara.cpython*.so
-%{python_sitearch}/yara_python-%{version}*-info
+%{python_sitearch}/yara_python-%{version}.dist-info
 

++++++ use-dynamic-linking.patch ++++++
Index: yara-python-4.5.4/setup.cfg
===================================================================
--- yara-python-4.5.4.orig/setup.cfg
+++ yara-python-4.5.4/setup.cfg
@@ -15,3 +15,4 @@ test_suite=tests
 
 # need libmagic-dev
 # enable_magic = true
+dynamic_linking = true

Reply via email to