From b1622ac83f45ecca389e109e3f3c1284673b27535e1e2d4af1691558b0f24427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 18 Jun 2018 05:56:41 +0000 Subject: [PATCH] Accepting request 617344 from home:lachs0r:branches:devel:languages:python - Update to version 2.8 * add support for setting atime, ctime, mtime and birthtime * tell libarchive when writing an archive is aborted due to an exception * add support for getting uid and gid * add support for high resolution timestamps * add two new archive readers: stream_reader and custom_reader * add missing archive extraction flags * add the lz4 and warc formats * add support for write options and uid/gid lookup OBS-URL: https://build.opensuse.org/request/show/617344 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libarchive-c?expand=0&rev=3 --- libarchive-c-2.7.tar.gz | 3 --- libarchive-c-2.8.tar.gz | 3 +++ python-libarchive-c.changes | 14 ++++++++++++++ python-libarchive-c.spec | 21 +++++++++++---------- 4 files changed, 28 insertions(+), 13 deletions(-) delete mode 100644 libarchive-c-2.7.tar.gz create mode 100644 libarchive-c-2.8.tar.gz diff --git a/libarchive-c-2.7.tar.gz b/libarchive-c-2.7.tar.gz deleted file mode 100644 index de759f5..0000000 --- a/libarchive-c-2.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:56eadbc383c27ec9cf6aad3ead72265e70f80fa474b20944328db38bab762b04 -size 42299 diff --git a/libarchive-c-2.8.tar.gz b/libarchive-c-2.8.tar.gz new file mode 100644 index 0000000..c293ba2 --- /dev/null +++ b/libarchive-c-2.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06d44d5b9520bdac93048c72b7ed66d11a6626da16d2086f9aad079674d8e061 +size 45182 diff --git a/python-libarchive-c.changes b/python-libarchive-c.changes index 3fa51bb..c6e4dbc 100644 --- a/python-libarchive-c.changes +++ b/python-libarchive-c.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Jun 18 00:22:07 UTC 2018 - 9+suse@cirno.systems + +- Update to version 2.8 + * add support for setting atime, ctime, mtime and birthtime + * tell libarchive when writing an archive is aborted due to an + exception + * add support for getting uid and gid + * add support for high resolution timestamps + * add two new archive readers: stream_reader and custom_reader + * add missing archive extraction flags + * add the lz4 and warc formats + * add support for write options and uid/gid lookup + ------------------------------------------------------------------- Thu Sep 7 22:41:45 UTC 2017 - toddrme2178@gmail.com diff --git a/python-libarchive-c.spec b/python-libarchive-c.spec index b12a86d..3d65d48 100644 --- a/python-libarchive-c.spec +++ b/python-libarchive-c.spec @@ -1,7 +1,7 @@ # # spec file for package python-libarchive-c # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -13,29 +13,30 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-libarchive-c -Version: 2.7 +Version: 2.8 Release: 0 -License: CC0-1.0 Summary: Python interface to libarchive -Url: https://github.com/Changaco/python-libarchive-c +License: CC0-1.0 Group: Development/Languages/Python +URL: https://github.com/Changaco/python-libarchive-c Source: https://files.pythonhosted.org/packages/source/l/libarchive-c/libarchive-c-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: libarchive-devel +BuildArch: noarch %if %{with test} +BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} BuildRequires: libarchive-devel %endif -Requires: libarchive-devel -BuildArch: noarch - %python_subpackages %description @@ -58,8 +59,8 @@ dynamically load and access the C library. %endif %files %{python_files} -%defattr(-,root,root,-) %doc README.rst +%license LICENSE.md %{python_sitelib}/* %changelog