diff --git a/dfdatetime-20160323.tar.gz b/dfdatetime-20160323.tar.gz deleted file mode 100644 index 893906a..0000000 --- a/dfdatetime-20160323.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1fa7e4bcd3c5f3ba3745eb61f847c8a09090d4986eb6c71eae37f38458e909e1 -size 12488 diff --git a/dfdatetime-20170719.tar.gz b/dfdatetime-20170719.tar.gz new file mode 100644 index 0000000..4a4397f --- /dev/null +++ b/dfdatetime-20170719.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5715ee9d3b070e83a8877ee04d55c1353c35dfb739f2bbeb0edb05de4ee1b791 +size 27920 diff --git a/python-dfdatetime.changes b/python-dfdatetime.changes index 5bee263..e7001f2 100644 --- a/python-dfdatetime.changes +++ b/python-dfdatetime.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Oct 3 16:08:32 UTC 2017 - Greg.Freemyer@gmail.com + +- update to v0~20170719 + * various improvements including new format support and added sanity checks +- implement python singlespec syntax + ------------------------------------------------------------------- Sat Jul 30 22:27:27 UTC 2016 - jengelh@inai.de diff --git a/python-dfdatetime.spec b/python-dfdatetime.spec index a8c5ac0..8910084 100644 --- a/python-dfdatetime.spec +++ b/python-dfdatetime.spec @@ -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,26 +26,18 @@ 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 +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: pkgconfig -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros BuildRequires: pkgconfig(python) 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} @@ -62,16 +55,9 @@ find %{buildroot} -name \*.pyo -delete 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 -