Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package artifacts for openSUSE:Leap:16.0 
checked in at 2025-04-07 13:58:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:16.0/artifacts (Old)
 and      /work/SRC/openSUSE:Leap:16.0/.artifacts.new.1907 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "artifacts"

Mon Apr  7 13:58:09 2025 rev:2 rq:1267520 version:20221219

Changes:
--------
--- /work/SRC/openSUSE:Leap:16.0/artifacts/artifacts.changes    2025-03-19 
11:39:27.503403791 +0100
+++ /work/SRC/openSUSE:Leap:16.0/.artifacts.new.1907/artifacts.changes  
2025-04-07 13:58:10.376503097 +0200
@@ -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.mGUZ6Y/_old  2025-04-07 13:58:10.812521362 +0200
+++ /var/tmp/diff_new_pack.mGUZ6Y/_new  2025-04-07 13:58:10.816521529 +0200
@@ -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