Hello community, here is the log from the commit of package python-plaso for openSUSE:Factory checked in at 2015-08-21 12:42:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-plaso (Old) and /work/SRC/openSUSE:Factory/.python-plaso.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-plaso" Changes: -------- --- /work/SRC/openSUSE:Factory/python-plaso/python-plaso.changes 2015-01-30 15:00:15.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-plaso.new/python-plaso.changes 2015-08-21 12:42:56.000000000 +0200 @@ -1,0 +2,16 @@ +Wed Aug 12 22:35:58 UTC 2015 - [email protected] + +- update to v1.3.0 + * Numerous new features + * See http://blog.kiddaland.net/2015/07/bringing-end-to-sorrow-new-plaso-release.html + * Major stability improvements +- add requires python-pefile >= 1.2.1+139 +- add requires pysigscan +- require recent python-dateutils +- remove frontend test files. They have been isolated by upstream. +- remove frontend/plasm, plasm.py, pprof.py, pshell.ph Removed by upstream +- add a openSUSE 13.1 workaround for a unicode bug +- update minimum depency versions +- add a loop to force %py_compile - getting an rpmlint warning without this + +------------------------------------------------------------------- Old: ---- v1.2.0.tar.gz New: ---- plaso-1.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-plaso.spec ++++++ --- /var/tmp/diff_new_pack.9eHz04/_old 2015-08-21 12:42:58.000000000 +0200 +++ /var/tmp/diff_new_pack.9eHz04/_new 2015-08-21 12:42:58.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-plaso # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,15 +17,14 @@ Name: python-plaso -Version: 1.2.0 +Version: 1.3.0 Release: 0 -%define internal_version 1.2.0_20141211 Summary: Plaso is a library for working with forensic timelines License: Apache-2.0 Group: Development/Libraries/Python Url: http://plaso.kiddaland.net/ #git: git clone https://github.com/log2timeline/plaso.git -Source: https://github.com/log2timeline/plaso/archive/v1.2.0.tar.gz +Source: https://github.com/log2timeline/plaso/releases/download/%{version}/plaso-%{version}.tar.gz BuildRequires: fdupes BuildRequires: pkg-config BuildRequires: python-devel @@ -34,24 +33,26 @@ Requires: libtsk10 >= 4.1.2 Requires: python-binplist >= 0.1.4 Requires: python-construct >= 2.5.2 -Requires: python-dateutil +Requires: python-dateutil >= 2.4.2 Requires: python-dpkt Requires: python-hachoir-core Requires: python-hachoir-metadata Requires: python-hachoir-parser >= 1.3.4 +Requires: python-pefile >= 1.2.10+139 # These are core libraries. Make sure current versions are used Requires: pyevt >= 0~20140731 Requires: pyevtx >= 0~20141112 Requires: pyewf >= 0~20140603 +Requires: pyfwsi >= 0~20150606 Requires: pylnk >= 0~20141026 -Requires: pymsiecf >= 0~20140731 +Requires: pymsiecf >= 0~20150314 Requires: pyolecf >= 0~20140801 -Requires: pyregf >= 0~20140803 -Requires: python-dfVFS >= 0~20141220 +Requires: pyregf >= 0~20150315 +Requires: pysigscan >= 0~20150627 +Requires: python-dfVFS >= 0~20150606 Requires: pyvshadow >= 0~20140731 Requires: pyesedb -Requires: pyfwsi Requires: pyqcow Requires: pysmdev Requires: pyvhdi @@ -61,7 +62,7 @@ Requires: python-bencode Requires: python-protobuf Requires: python-psutil -Requires: python-pyparsing >= 2.0.2 +Requires: python-pyparsing >= 2.0.3 Requires: python-tsk Requires: python-tz Requires: python-yaml @@ -88,43 +89,42 @@ %prep %setup -q -n plaso-%version -for subdir in analysis artifacts classifier engine events filters formatters lib multi_processing parsers preprocessors serializer unix winreg winnt output; do +for subdir in analysis cli engine events filters formatters lib multi_processing parsers preprocessors serializer storage unix winreg winnt output; do find plaso/$subdir -name \*.py | xargs sed -i "/#!\/usr\/bin\/python/d" done sed -i "/#!\/usr\/bin\/env python/d" plaso/lib/objectfilter*.py sed -i "/#!\/usr\/bin\/python/d" plaso/frontend/__init__.py -sed -i "/#!\/usr\/bin\/python/d" plaso/frontend/utils.py +#sed -i "/#!\/usr\/bin\/python/d" plaso/frontend/utils.py sed -i "/#!\/usr\/bin\/python/d" plaso/frontend/presets.py sed -i "/#!\/usr\/bin\/python/d" plaso/frontend/frontend.py -sed -i "/#!\/usr\/bin\/python/d" plaso/frontend/test_lib.py -sed -i "/#!\/usr\/bin\/python/d" plaso/frontend/*_test.py sed -i "/#!\/usr\/bin\/python/d" plaso/proto/__init__.py sed -i "/#!\/usr\/bin\/python/d" plaso/__init__.py -sed -i "/#!\/usr\/bin\/python/d" tools/__init__.py -sed -i "/#!\/usr\/bin\/python/d" tools/plaso_process_info.py %build CFLAGS="%{optflags}" python setup.py build %install + +#if openSUSE 13.1 or Leap 42.1 +%if 0%{?suse_version} < 1320 +# Work around python unicode bug +mv test_data/$'\303'$'\255'mynd.dd test_data/image.dd +IFS=" +"; for FILE in `grep -r ímynd.dd | sed 's/:.*$//'`; do sed 's/ímynd.dd/image.dd/g' -i $FILE; done +%endif python setup.py install --root=%{buildroot} --prefix=%{_prefix} -rm %{buildroot}%{python_sitelib}/plaso/frontend/pinfo.* rm %{buildroot}%{python_sitelib}/plaso/frontend/psort.* rm %{buildroot}%{python_sitelib}/plaso/frontend/preg.* -rm %{buildroot}%{python_sitelib}/plaso/frontend/pshell.* -rm %{buildroot}%{python_sitelib}/plaso/frontend/pprof.* rm %{buildroot}%{python_sitelib}/plaso/frontend/log2timeline.* rm %{buildroot}%{python_sitelib}/plaso/frontend/image_export.* -rm %{buildroot}%{python_sitelib}/plaso/frontend/plasm.* -rm %{buildroot}%{python_sitelib}/tools/plaso_extract_search_history.py -rm %{buildroot}%{python_sitelib}/tools/plaso_extract_search_history.pyc -rm %{buildroot}%{python_sitelib}/test_data/__init__.py -rm %{buildroot}%{python_sitelib}/test_data/__init__.pyc -rm %{buildroot}%{python_sitelib}/tools/__init__.py -rm %{buildroot}%{python_sitelib}/tools/__init__.pyc # Fix python-bytecode-inconsistent-mtime pushd %{buildroot}%{python_sitelib}/plaso/ %py_compile . +for subdir in cli events proto unix winreg multi_processing winnt winreg frontend lib serializer engine parsers/shared; do +pushd %{buildroot}%{python_sitelib}/plaso/$subdir +%py_compile . +popd +done popd %fdupes -s %{buildroot} @@ -136,19 +136,13 @@ %defattr(-,root,root) %doc ACKNOWLEDGEMENTS AUTHORS LICENSE %doc utils/check_dependencies.py +/usr/share/plaso %{python_sitelib}/plaso-%{version}-py2.7.egg-info -%dir %{python_sitelib}/tools -%{python_sitelib}/tools/plaso_process_info.py -%{python_sitelib}/tools/plaso_process_info.pyc %{python_sitelib}/plaso %{_bindir}/image_export.py %{_bindir}/log2timeline.py %{_bindir}/pinfo.py -%{_bindir}/plasm.py -%{_bindir}/plaso_extract_search_history.py -%{_bindir}/pprof.py %{_bindir}/preg.py -%{_bindir}/pshell.py %{_bindir}/psort.py %changelog
