Hello community,

here is the log from the commit of package python-dfdatetime for 
openSUSE:Leap:15.2 checked in at 2020-02-22 18:50:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-dfdatetime (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-dfdatetime.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-dfdatetime"

Sat Feb 22 18:50:41 2020 rev:15 rq:776544 version:0~20190517

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-dfdatetime/python-dfdatetime.changes    
2020-01-15 15:48:33.151429756 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-dfdatetime.new.26092/python-dfdatetime.changes
 2020-02-22 18:50:42.236508067 +0100
@@ -1,0 +2,12 @@
+Fri Jan 17 10:12:11 UTC 2020 - Matej Cepl <[email protected]>
+
+- Convert to python3 only
+
+-------------------------------------------------------------------
+Mon Aug 19 19:37:10 UTC 2019 - Greg Freemyer <[email protected]>
+
+- update to v0~20190517
+        * changelog not provided
+- Added Requires: python-mock  to allow self-test to be manually run
+
+-------------------------------------------------------------------
@@ -28,0 +41 @@
+

Old:
----
  dfdatetime-20180110.tar.gz

New:
----
  dfdatetime-20190517.tar.gz

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

Other differences:
------------------
++++++ python-dfdatetime.spec ++++++
--- /var/tmp/diff_new_pack.bNnfhS/_old  2020-02-22 18:50:42.584508741 +0100
+++ /var/tmp/diff_new_pack.bNnfhS/_new  2020-02-22 18:50:42.588508749 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-dfdatetime
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,46 +12,57 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-%define timestamp 20180110
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define timestamp 20190517
+%define skip_python2 1
+%define modname dfdatetime
 Name:           python-dfdatetime
 Version:        0~%{timestamp}
 Release:        0
-Summary:        Digital Forensics Date and Time (dfDateTime)
+Summary:        Digital Forensics date and time (dfDateTime)
 License:        Apache-2.0
 Group:          Development/Languages/Python
-Url:            https://github.com/log2timeline/dfdatetime
-Source:         
https://github.com/log2timeline/dfdatetime/releases/download/%{timestamp}/dfdatetime-%{timestamp}.tar.gz
+URL:            https://github.com/log2timeline/dfdatetime
+Source:         
https://files.pythonhosted.org/packages/source/d/%{modname}/%{modname}-%{timestamp}.tar.gz
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module mock >= 2.0.0}
+BuildRequires:  %{python_module pbr >= 4.2.0}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six >= 1.1.0}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 %python_subpackages
 
 %description
-dfDateTime, or Digital Forensics date and time, provides date and time objects 
to preserve accuracy and precision.
+dfDateTime, or Digital Forensics date and time, provides date and time
+objects to preserve accuracy and precision.
 
 %prep
-%setup -q -n dfdatetime-%{timestamp}
+%setup -q -n %{modname}-%{timestamp}
 
 %build
 %python_build
 
 %install
 %python_install
-# these doc files are installed to the wrong place
-rm -rf %{buildroot}/usr/share/doc/dfdatetime
-%fdupes %{buildroot}/%{_prefix}
+# setup.py install helpfully installs files where it shouldn’t
+rm -rfv %{buildroot}%{_datadir}/doc/%{modname}
+
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%check
+# Using pytest leads to some horribly-looking crashes, not sure what's
+# going on.
+%python_exec ./run_tests.py
 
 %files %{python_files}
-%defattr(-,root,root)
-%doc ACKNOWLEDGEMENTS AUTHORS README LICENSE
-%{python_sitelib}/dfdatetime*
+%license LICENSE
+%doc ACKNOWLEDGEMENTS AUTHORS README
+%{python_sitelib}/*
 
 %changelog

++++++ dfdatetime-20180110.tar.gz -> dfdatetime-20190517.tar.gz ++++++
++++ 8122 lines of diff (skipped)


Reply via email to