Hello community, here is the log from the commit of package python-pylzma for openSUSE:Leap:15.2 checked in at 2020-03-02 13:21:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-pylzma (Old) and /work/SRC/openSUSE:Leap:15.2/.python-pylzma.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pylzma" Mon Mar 2 13:21:05 2020 rev:11 rq:776986 version:0.5.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-pylzma/python-pylzma.changes 2020-01-15 15:52:00.947548808 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-pylzma.new.26092/python-pylzma.changes 2020-03-02 13:21:06.110129305 +0100 @@ -1,0 +2,24 @@ +Wed Jan 2 14:09:12 UTC 2019 - Martin Pluskal <[email protected]> + +- Update to version 0.5.0: + * Update to LZMA SDK 18.05. + * Support LZMA2 decompression. + * Fix decompressing empty members from 7z files. + * Fix parsing attributes from 7z members. + * Include test data in tarball. + * Fix AES decryption for solid 7z archives with LZMA2 compression. + +------------------------------------------------------------------- +Thu Jul 26 15:32:10 UTC 2018 - [email protected] + +- Move urls to github, pypi tarball does not contain tests, upstream + fixed it for future releases + +------------------------------------------------------------------- +Thu Jul 26 15:29:17 UTC 2018 - [email protected] + +- Switch to singlespec +- Update to 0.4.9: + * support python3 + +------------------------------------------------------------------- Old: ---- pylzma-0.4.8.tar.gz New: ---- v0.5.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pylzma.spec ++++++ --- /var/tmp/diff_new_pack.rIV361/_old 2020-03-02 13:21:07.166131400 +0100 +++ /var/tmp/diff_new_pack.rIV361/_new 2020-03-02 13:21:07.166131400 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pylzma # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,30 +12,25 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define oname pylzma -%define module py7zlib - +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pylzma -Version: 0.4.8 +Version: 0.5.0 Release: 0 Summary: Python bindings for the LZMA compression library -License: LGPL-2.1 +License: LGPL-2.1-only Group: Development/Languages/Python -Url: http://www.joachim-bauch.de/projects/pylzma/ -Source0: https://pypi.python.org/packages/source/p/%{oname}/%{oname}-%{version}.tar.gz -%if 0%{?suse_version} +URL: https://github.com/fancycode/pylzma +Source0: https://github.com/fancycode/pylzma/archive/v%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes -%endif -BuildRequires: python-devel -BuildRequires: python-setuptools -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-rpm-macros +%python_subpackages %description PyLZMA provides a platform independent way to read and write data @@ -45,23 +40,22 @@ %setup -q -n %{oname}-%{version} # Remove Shebang -sed -i '1d' %{module}.py +sed -i '1d' py7zlib.py %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%check +%python_exec setup.py test -%if 0%{?suse_version} - %fdupes -s %{buildroot}%{_prefix} -%endif - -%files -%defattr(-,root,root) -%doc doc/* LICENSE README.md -%{python_sitearch}/%{module}.py* -%{python_sitearch}/%{oname}.so -%{python_sitearch}/%{oname}-%{version}-py%{py_ver}.egg-info +%files %{python_files} +%license LICENSE +%doc README.md +%{python_sitearch}/* +%{python_sitearch}/%{oname}* %changelog
