Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package artifacts for openSUSE:Factory 
checked in at 2025-03-27 22:32:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/artifacts (Old)
 and      /work/SRC/openSUSE:Factory/.artifacts.new.2696 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "artifacts"

Thu Mar 27 22:32:16 2025 rev:10 rq:1256346 version:20221219

Changes:
--------
--- /work/SRC/openSUSE:Factory/artifacts/artifacts.changes      2023-07-29 
20:10:34.698027034 +0200
+++ /work/SRC/openSUSE:Factory/.artifacts.new.2696/artifacts.changes    
2025-03-27 22:32:31.945180207 +0100
@@ -1,0 +2,7 @@
+Mon Mar 24 14:13:47 UTC 2025 - Jaime Marquínez Ferrándiz 
<jaime.marquinez.ferran...@fastmail.net>
+
+- Use the primary python for building
+- Run tests
+- Add PyYAML as a runtime dependency
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ artifacts.spec ++++++
--- /var/tmp/diff_new_pack.Qct38t/_old  2025-03-27 22:32:32.369197757 +0100
+++ /var/tmp/diff_new_pack.Qct38t/_new  2025-03-27 22:32:32.369197757 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package artifacts
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
 
 
 %define timestamp 20221219
+%define pythons %{primary_python}
 Name:           artifacts
 Version:        %{timestamp}
 Release:        0
@@ -29,11 +30,12 @@
 # Key 0xD9625E5D7AD0177E by Joachim Metz https://github.com/joachimmetz
 Source2:        %{name}.keyring
 BuildRequires:  fdupes
-#BuildRequires:  python-rpm-macros
+BuildRequires:  python-rpm-macros
 #BuildRequires:  python3-packaging
 # security:forensics is now only supporting python 3.7 or newer
-BuildRequires:  python311-setuptools
-BuildRequires:  python311-base
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module PyYAML}
+BuildRequires:  %{python_module base}
 
 BuildArch:      noarch
 
@@ -54,6 +56,7 @@
 Summary:        Digital Forensics Artifact Repository Validator
 Group:          Productivity/Security
 Requires:       artifacts
+Requires:       python3-PyYAML
 
 %description validator
 Python modules and program to validate the artifact data. It is
@@ -65,17 +68,20 @@
 %setup -q -n artifacts-%{timestamp}
 
 %build
-%python311_build
+%python_build
 
 %install
-%python311_install
-%fdupes %{buildroot}%{python3_sitelib}
+%python_install
+%fdupes %{buildroot}%{python_sitelib}
 # these are installed to the wrong dir by %{name}
 rm %{buildroot}/usr/share/doc/%{name}/ACKNOWLEDGEMENTS
 rm %{buildroot}/usr/share/doc/%{name}/AUTHORS
 rm %{buildroot}/usr/share/doc/%{name}/LICENSE
 rm %{buildroot}/usr/share/doc/%{name}/README
 
+%check
+%python_expand $python run_tests.py
+
 %files
 %doc ACKNOWLEDGEMENTS AUTHORS README
 %license LICENSE
@@ -83,7 +89,7 @@
 
 %files validator
 %license LICENSE
-%{python311_sitelib}/artifacts*
+%{python_sitelib}/artifacts*
 %{_bindir}/validator.py
 %{_bindir}/stats.py
 

Reply via email to