Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-dfwinreg for openSUSE:Factory 
checked in at 2022-06-07 11:45:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dfwinreg (Old)
 and      /work/SRC/openSUSE:Factory/.python-dfwinreg.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-dfwinreg"

Tue Jun  7 11:45:13 2022 rev:5 rq:981050 version:0~20211207

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dfwinreg/python-dfwinreg.changes  
2022-06-02 21:54:53.784421063 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-dfwinreg.new.1548/python-dfwinreg.changes    
    2022-06-07 11:45:23.875252302 +0200
@@ -1,0 +2,8 @@
+Mon Jun  6 21:45:29 UTC 2022 - Greg Freemyer <greg.freem...@gmail.com>
+
+- update to 20211207
+  - added support for some malformed registry entry values
+- add %define skip_python2 1
+- enable %check and add new BuildRequires dependencies as needed to support 
./run_tests.py
+
+-------------------------------------------------------------------

Old:
----
  dfwinreg-20201006.tar.gz

New:
----
  dfwinreg-20211207.tar.gz

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

Other differences:
------------------
++++++ python-dfwinreg.spec ++++++
--- /var/tmp/diff_new_pack.rtBbNO/_old  2022-06-07 11:45:24.723253458 +0200
+++ /var/tmp/diff_new_pack.rtBbNO/_new  2022-06-07 11:45:24.731253469 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-dfwinreg
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,9 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define timestamp 20201006
+%define skip_python2 1
+
+%define timestamp 20211207
 %define modname dfwinreg
 Name:           python-dfwinreg
 Version:        0~%{timestamp}
@@ -27,7 +29,12 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/log2timeline/dfwinreg
 Source:         
https://github.com/log2timeline/%{modname}/releases/download/%{timestamp}/%{modname}-%{timestamp}.tar.gz
+BuildRequires:  %{python_module PyYAML}
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module dfdatetime}
+BuildRequires:  %{python_module dtfabric}
+BuildRequires:  %{python_module libcreg}
+BuildRequires:  %{python_module libregf}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -41,9 +48,12 @@
 
 %prep
 %setup -q -n %{modname}-%{timestamp}
+sed -i 's/python setup.py install/python3 setup.py install/' setup.py
+sed -i 's/py2_build/py3_build/' setup.py
+sed -i 's|/usr/bin/env python|/usr/bin/env python3|' run_tests.py
 
 %build
-%python_build
+%python3_build
 
 %install
 %python_install
@@ -52,6 +62,9 @@
 # these are installed into the wrong place
 rm -rf %{buildroot}%{_datadir}/doc/%{modname}
 
+%check
+./run_tests.py
+
 %files %{python_files}
 %license LICENSE
 %doc ACKNOWLEDGEMENTS AUTHORS README

++++++ dfwinreg-20201006.tar.gz -> dfwinreg-20211207.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-dfwinreg/dfwinreg-20201006.tar.gz 
/work/SRC/openSUSE:Factory/.python-dfwinreg.new.1548/dfwinreg-20211207.tar.gz 
differ: char 5, line 1

Reply via email to