Hello community, here is the log from the commit of package python-dfdatetime for openSUSE:Factory checked in at 2017-10-06 11:05:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dfdatetime (Old) and /work/SRC/openSUSE:Factory/.python-dfdatetime.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dfdatetime" Fri Oct 6 11:05:05 2017 rev:2 rq:531874 version:0~20170719 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dfdatetime/python-dfdatetime.changes 2016-09-13 22:23:36.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-dfdatetime.new/python-dfdatetime.changes 2017-10-06 11:05:13.505239177 +0200 @@ -1,0 +2,11 @@ +Tue Oct 3 16:08:32 UTC 2017 - greg.freem...@gmail.com + +- update to v0~20170719 + * various improvements including + new format support + added sanity checks +- implement python singlespec syntax +- remove the lines that delete *.pyc and *.pyo files, + they no longer cause problems + +------------------------------------------------------------------- Old: ---- dfdatetime-20160323.tar.gz New: ---- dfdatetime-20170719.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dfdatetime.spec ++++++ --- /var/tmp/diff_new_pack.tHRKjG/_old 2017-10-06 11:05:14.841037141 +0200 +++ /var/tmp/diff_new_pack.tHRKjG/_new 2017-10-06 11:05:14.845036536 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-dfdatetime # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,8 @@ # -%define timestamp 20160323 +%define timestamp 20170719 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-dfdatetime Version: 0~%{timestamp} Release: 0 @@ -25,52 +26,32 @@ Group: Development/Languages/Python Url: https://github.com/log2timeline/dfdatetime Source: https://github.com/log2timeline/dfdatetime/releases/download/%{timestamp}/dfdatetime-%{timestamp}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: pkgconfig -BuildRequires: python-setuptools -BuildRequires: pkgconfig(python) +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. -%package -n python3-dfdatetime -Summary: Digital Forensics Date and Time (dfDateTime) -Group: Development/Languages/Python -BuildRequires: pkgconfig -BuildRequires: python3-setuptools -BuildRequires: pkgconfig(python3) - -%description -n python3-dfdatetime -Python3 version of dfDateTime, or Digital Forensics date and time, provides date and time objects to preserve accuracy and precision. - %prep %setup -q -n dfdatetime-%{timestamp} %build -python2 setup.py build -python3 setup.py build +%python_build %install -python2 setup.py install -O1 --root=%{buildroot} -python3 setup.py install -O1 --root=%{buildroot} -#delete all precombied PYO files -find %{buildroot} -name \*.pyc -delete -find %{buildroot} -name \*.pyo -delete -# these are installed into the wrong place +%python_install +# these doc files are installed to the wrong place rm -rf %{buildroot}/usr/share/doc/dfdatetime %fdupes %{buildroot}/%{_prefix} - -%files +%files %{python_files} %defattr(-,root,root) %doc ACKNOWLEDGEMENTS AUTHORS README LICENSE %{python_sitelib}/dfdatetime* -%files -n python3-dfdatetime -%defattr(-,root,root) -%doc ACKNOWLEDGEMENTS AUTHORS README LICENSE -%{python3_sitelib}/dfdatetime* - %changelog ++++++ dfdatetime-20160323.tar.gz -> dfdatetime-20170719.tar.gz ++++++ ++++ 5915 lines of diff (skipped)