diff --git a/python-rarfile.changes b/python-rarfile.changes index 64c6af8..b554400 100644 --- a/python-rarfile.changes +++ b/python-rarfile.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Mon Apr 25 15:00:53 UTC 2016 - aloisio@gmx.com + +- Update to version 2.7 + * Allow use of bsdtar as decompression backend. + It sits on top of libarchive, which has support for reading + RAR archives. + * Now rarfile checks if unrar and if not then tries bsdtar. If + that works, then keeps using it. If not then configuration + stays with unrar which will then appear in error messages. + * Both RarFile and is_rarfile() now accept file-like object. + Eg. io.BytesIO. Only requirement is that the object must be + seekable. This mirrors similar funtionality in zipfile. + * Uniform error handling. RarFile accepts errors="strict" argument. + * Allow user to tune whether parsing and missing file errors + will raise exception. If error is not raised, the error + string can be queried with RarFile.strerror() method. + ------------------------------------------------------------------- Mon Jul 13 13:12:38 UTC 2015 - toddrme2178@gmail.com diff --git a/python-rarfile.spec b/python-rarfile.spec index 2eba81b..2ef40ef 100644 --- a/python-rarfile.spec +++ b/python-rarfile.spec @@ -1,7 +1,7 @@ # # spec file for package python-rarfile # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -15,16 +15,17 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python-rarfile -Version: 2.6 +Version: 2.7 Release: 0 -License: ISC Summary: RAR Archive Reader for Python -Url: https://rarfile.readthedocs.org/ +License: ISC Group: Development/Languages/Python +Url: https://rarfile.readthedocs.org/ Source0: http://pypi.python.org/packages/source/r/rarfile/rarfile-%{version}.tar.gz -BuildRequires: python-setuptools BuildRequires: python-Sphinx +BuildRequires: python-setuptools Requires: unrar BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} <= 1110 @@ -82,4 +83,3 @@ install -m 0644 doc/_build/html/_static/* %{buildroot}%{_docdir}/%{name}-doc/_st %doc %{_docdir}/%{name}-doc %changelog - diff --git a/rarfile-2.6.tar.gz b/rarfile-2.6.tar.gz deleted file mode 100644 index e65e43b..0000000 --- a/rarfile-2.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:326700c5450cfb367f612e918866ea27551bac02f4656f340003c88873fa1a56 -size 35981 diff --git a/rarfile-2.7.tar.gz b/rarfile-2.7.tar.gz new file mode 100644 index 0000000..9021bc4 --- /dev/null +++ b/rarfile-2.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:47148088ddb6c020774f4c38927fec9625ca33651bdc551bdaeafc78690b1635 +size 37515